sfc: Generalise packet hash lookup to support EF10 RX prefix
authorJon Cooper <jcooper@solarflare.com>
Thu, 18 Oct 2012 14:49:54 +0000 (15:49 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 27 Aug 2013 21:28:24 +0000 (22:28 +0100)
commit43a3739d559f02cb00d92a51d8f2a7d294a1b5e5
treea3453b2992800f3b7a811a732b0bcb116eb16ae2
parent64a27752dc249bf2ccae53457e6d72e1281d758d
sfc: Generalise packet hash lookup to support EF10 RX prefix

EF10 uses an entirely different RX prefix format from Falcon-arch.
Extend struct efx_nic_type to describe this.

[bwh: Also replace the magic numbers used for the Falcon-arch RX prefix]
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/efx.c
drivers/net/ethernet/sfc/falcon.c
drivers/net/ethernet/sfc/farch_regs.h
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/rx.c
drivers/net/ethernet/sfc/siena.c