mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
flow: Rename flow_set_vlan_vid() to flow_set_dl_vlan().
This function is specific to the OF1.0 dl_vlan field, so name it consistently. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
@@ -968,7 +968,7 @@ flow_hash_fields_valid(enum nx_hash_fields fields)
|
||||
*
|
||||
* - Other values of 'vid' should not be used. */
|
||||
void
|
||||
flow_set_vlan_vid(struct flow *flow, ovs_be16 vid)
|
||||
flow_set_dl_vlan(struct flow *flow, ovs_be16 vid)
|
||||
{
|
||||
if (vid == htons(OFP10_VLAN_NONE)) {
|
||||
flow->vlan_tci = htons(0);
|
||||
|
Reference in New Issue
Block a user