]> git.baikalelectronics.ru Git - kernel.git/commit
sfc: Clean up validation of datapath capabilities
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 5 Sep 2013 21:50:59 +0000 (22:50 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Wed, 11 Sep 2013 14:29:52 +0000 (15:29 +0100)
commit59d2863df454a39d984b96627d7bf4306b562faa
tree79e6823aeae51d9ddebf7cd9673bf46cafd587b9
parent47c2b31b9b46b3abc62f0ca4f155fd8e408d1eba
sfc: Clean up validation of datapath capabilities

Rename efx_ef10_init_capabilities() to the more specific
efx_ef10_init_datapath_caps().

Stop accepting short responses to MC_CMD_GET_CAPABILITIES; we
don't need to support pre-production firmware.

Move the check for RX prefix support from efx_ef10_probe() into
efx_ef10_init_datapath_caps() and use consistent error messages
for missing TSO support and missing RX prefix support.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/ef10.c