]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
nfp: flower: replace CFI with vlan present
authorPieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Sat, 30 Mar 2019 02:04:43 +0000 (19:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Apr 2019 01:02:41 +0000 (18:02 -0700)
commitf7ee799a51ddbcc205ef615fe424fb5084e9e0aa
tree75ec8fb89385355c93ed24f649f11d2a87ee09b4
parent3c446e6f96997f2a95bf0037ef463802162d2323
nfp: flower: replace CFI with vlan present

Replace vlan CFI bit with a vlan present bit that indicates the
presence of a vlan tag. Previously the driver incorrectly assumed
that an vlan id of 0 is not matchable, therefore we indicate vlan
presence with a vlan present bit.

Fixes: 5571e8c9f241 ("nfp: extend flower matching capabilities")
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>
drivers/net/ethernet/netronome/nfp/flower/cmsg.h
drivers/net/ethernet/netronome/nfp/flower/match.c