]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitadd7247718c003c8f7c275954083f7db85405bd9
treea555da7e564bc67689cfc1bff6cf14ccd0907b45
parent9a0a943321cc89a9efc8726e28d8473eafa73e29
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