forked from Minki/linux
nfp: flower: remove vlan CFI bit from push vlan action
We no longer set CFI when pushing vlan tags, therefore we remove
the CFI bit from push vlan.
Fixes: 1a1e586f54
("nfp: add basic action capabilities to flower offloads")
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Signed-off-by: Louis Peens <louis.peens@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f7ee799a51
commit
42cd5484a2
@ -48,8 +48,7 @@ nfp_fl_push_vlan(struct nfp_fl_push_vlan *push_vlan,
|
||||
|
||||
tmp_push_vlan_tci =
|
||||
FIELD_PREP(NFP_FL_PUSH_VLAN_PRIO, act->vlan.prio) |
|
||||
FIELD_PREP(NFP_FL_PUSH_VLAN_VID, act->vlan.vid) |
|
||||
NFP_FL_PUSH_VLAN_CFI;
|
||||
FIELD_PREP(NFP_FL_PUSH_VLAN_VID, act->vlan.vid);
|
||||
push_vlan->vlan_tci = cpu_to_be16(tmp_push_vlan_tci);
|
||||
}
|
||||
|
||||
|
@ -82,7 +82,6 @@
|
||||
#define NFP_FL_OUT_FLAGS_TYPE_IDX GENMASK(2, 0)
|
||||
|
||||
#define NFP_FL_PUSH_VLAN_PRIO GENMASK(15, 13)
|
||||
#define NFP_FL_PUSH_VLAN_CFI BIT(12)
|
||||
#define NFP_FL_PUSH_VLAN_VID GENMASK(11, 0)
|
||||
|
||||
#define IPV6_FLOW_LABEL_MASK cpu_to_be32(0x000fffff)
|
||||
|
Loading…
Reference in New Issue
Block a user