net/sfc: provide a way to check if filter is supported
authorAndrew Rybchenko <arybchenko@solarflare.com>
Thu, 9 Mar 2017 15:26:26 +0000 (15:26 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:52 +0000 (15:52 +0200)
commit791f57ac6b54bf9cf0c22b828a9f6f43f0706613
treef0e4b0cb68bc22c8c367e9fcd0c7ed9218b6d94f
parent403030f573d1cf020a2dc20e3e19b113a4f0dc0f
net/sfc: provide a way to check if filter is supported

The information is obtained from firmware on attach. It may
change after MC reboot (firmware version or variant change).
Cache should be refreshed after MC reboot when it is handled
properly (not yet).

Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Reviewed-by: Andrew Lee <alee@solarflare.com>
Reviewed-by: Andy Moreton <amoreton@solarflare.com>
Reviewed-by: Robert Stonehouse <rstonehouse@solarflare.com>
drivers/net/sfc/Makefile
drivers/net/sfc/sfc.c
drivers/net/sfc/sfc.h
drivers/net/sfc/sfc_filter.c [new file with mode: 0644]
drivers/net/sfc/sfc_filter.h [new file with mode: 0644]