Skip to content

Commit

Permalink
sfc: insert catch-all filters for encapsulated traffic
Browse files Browse the repository at this point in the history
8000 series adapters support filtering VXLAN, NVGRE and GENEVE traffic
 based on inner fields, and when the NIC recognises such traffic, it
 does not match unencapsulated traffic filters any more.  So add catch-
 all filters for encapsulated traffic on supporting platforms.
Although recognition of VXLAN and GENEVE is based on UDP ports, and thus
 will not occur until the driver (on the primary PF) notifies the
 firmware of UDP ports to use, NVGRE will always be recognised, hence
 without this patch 8000 series adapters will drop all NVGRE traffic.

Partly based on patches by Jon Cooper <jcooper@solarflare.com>.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Edward Cree authored and David S. Miller committed Jan 27, 2017
1 parent 34e7aef commit 9b41080
Show file tree
Hide file tree
Showing 2 changed files with 449 additions and 146 deletions.
Loading

0 comments on commit 9b41080

Please sign in to comment.