]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Make most filter operations NIC-type-specific
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 8 Nov 2012 01:46:53 +0000 (01:46 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Thu, 22 Aug 2013 18:25:57 +0000 (19:25 +0100)
commit7892925ed595b0b4915e6ebd5ef16e452a2eadb8
treea555da7e564bc67689cfc1bff6cf14ccd0907b45
parent115b5c45caefb26b285933116b4b446dcbdaa6b9
sfc: Make most filter operations NIC-type-specific

Aside from accelerated RFS, there is almost nothing that can be shared
between the filter table implementations for the Falcon architecture
and EF10.

Move the few shared functions into efx.c and rx.c and the rest into
farch.c.  Introduce efx_nic_type operations for the implementation and
inline wrapper functions that call these.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/Makefile
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/efx.h
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/farch.c
drivers/net/ethernet/sfc/filter.c [deleted file]
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/nic.h
drivers/net/ethernet/sfc/rx.c
drivers/net/ethernet/sfc/siena.c