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)
commite5a2538a48309b9aac12e517782e1fa514a0f9b3
tree79e6823aeae51d9ddebf7cd9673bf46cafd587b9
parent869070c5300d1b6f0f72f5444e69fe65e34c6bde
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
This page took 0.025756 seconds and 5 git commands to generate.