Re: [PATCH net-next] sfc: support rx-fcs and rx-all

2017-11-01 Thread David Miller
From: Edward Cree Date: Tue, 31 Oct 2017 14:29:47 + > Ethernet FCS inclusion (rx-fcs) is supported on EF10 NICs, conditional on > a firmware capability bit (MC_CMD_GET_CAPABILITIES_OUT_RX_INCLUDE_FCS). > To receive frames with bad FCS (rx-all) we just don't return the discard > flag EFX_RX_

[PATCH net-next] sfc: support rx-fcs and rx-all

2017-10-31 Thread Edward Cree
Ethernet FCS inclusion (rx-fcs) is supported on EF10 NICs, conditional on a firmware capability bit (MC_CMD_GET_CAPABILITIES_OUT_RX_INCLUDE_FCS). To receive frames with bad FCS (rx-all) we just don't return the discard flag EFX_RX_PKT_DISCARD from efx_ef10_handle_rx_event_errors() or efx_farch_h