net/sfc/base: support filters for encapsulated packets
authorMark Spender <mspender@solarflare.com>
Mon, 28 Aug 2017 13:25:26 +0000 (14:25 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:47 +0000 (02:49 +0200)
commit457beb2c4d3e3e4ee16e743d54189b2c7316b47d
tree332352ef25afda0c4801f39fdba140ac914d4104
parentc7815c1d1f208720bec27d621139f0a1e93255df
net/sfc/base: support filters for encapsulated packets

This supports filters which match all unicast or multicast
inner frames in VXLAN, GENEVE, or NVGRE packets.
(Additional fields to match on can be added easily.)

Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andrew Lee <alee@solarflare.com>
drivers/net/sfc/base/ef10_filter.c
drivers/net/sfc/base/efx.h
drivers/net/sfc/base/efx_filter.c