linux/drivers/net/ethernet/sfc
Edward Cree 068885434c sfc: check hash is valid before using it
On EF100, the RX hash field in the packet prefix may not be valid (e.g.
 if the header parse failed), and this is indicated by a one-bit flag
 elsewhere in the packet prefix.  Only call skb_set_hash() if the
 RSS_HASH_VALID bit is set.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-14 14:07:16 -07:00
..
falcon PCI: Use 'pci_channel_state_t' instead of 'enum pci_channel_state' 2020-07-07 17:11:52 -05:00
bitfield.h sfc: extend bitfield macros up to POPULATE_DWORD_13 2020-06-29 17:37:48 -07:00
ef10_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ef10_sriov.c sfc: move vport_id to struct efx_nic 2020-05-11 13:31:49 -07:00
ef10_sriov.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ef10.c sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ef100_ethtool.c sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ef100_ethtool.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ef100_netdev.c sfc_ef100: statistics gathering 2020-08-03 18:22:55 -07:00
ef100_netdev.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ef100_nic.c sfc: fix ef100 design-param checking 2020-08-12 12:54:03 -07:00
ef100_nic.h sfc_ef100: add nic-type for VFs, and bind to them 2020-08-03 18:22:55 -07:00
ef100_regs.h sfc_ef100: add EF100 register definitions 2020-07-27 12:26:55 -07:00
ef100_rx.c sfc: check hash is valid before using it 2020-08-14 14:07:16 -07:00
ef100_rx.h sfc: check hash is valid before using it 2020-08-14 14:07:16 -07:00
ef100_tx.c sfc_ef100: TX path for EF100 NICs 2020-08-03 18:22:54 -07:00
ef100_tx.h sfc_ef100: TX path for EF100 NICs 2020-08-03 18:22:54 -07:00
ef100.c sfc_ef100: add nic-type for VFs, and bind to them 2020-08-03 18:22:55 -07:00
ef100.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
efx_channels.c sfc: assign TXQs without gaps 2020-07-02 14:47:40 -07:00
efx_channels.h sfc: move modparam 'rss_cpus' out of common channel code 2020-07-02 14:47:40 -07:00
efx_common.c pci-v5.9-changes 2020-08-07 18:48:15 -07:00
efx_common.h sfc: support setting MTU even if not privileged to configure MAC fully 2020-07-02 14:47:39 -07:00
efx.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2020-08-03 18:27:40 -07:00
efx.h sfc: check hash is valid before using it 2020-08-14 14:07:16 -07:00
enum.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ethtool_common.c sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ethtool_common.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
ethtool.c sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
farch_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
farch.c sfc: assign TXQs without gaps 2020-07-02 14:47:40 -07:00
filter.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
io.h sfc_ef100: register accesses on EF100 2020-07-27 12:26:55 -07:00
Kconfig sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
Makefile sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
mcdi_filters.c sfc_ef100: helper function to set default RSS table of given size 2020-07-02 14:47:40 -07:00
mcdi_filters.h sfc_ef100: helper function to set default RSS table of given size 2020-07-02 14:47:40 -07:00
mcdi_functions.c sfc_ef100: populate BUFFER_SIZE_BYTES in INIT_RXQ 2020-07-02 14:47:40 -07:00
mcdi_functions.h sfc: commonise efx_fini_dmaq 2020-07-02 14:47:40 -07:00
mcdi_mon.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
mcdi_pcol.h sfc: update MCDI protocol headers 2020-06-29 17:37:48 -07:00
mcdi_port_common.c sfc: commonise some MAC configuration code 2020-06-30 13:09:09 -07:00
mcdi_port_common.h sfc: move definition of EFX_MC_STATS_GENERATION_INVALID 2020-06-30 13:09:09 -07:00
mcdi_port.c sfc: commonise some MAC configuration code 2020-06-30 13:09:09 -07:00
mcdi_port.h sfc: move NIC-specific mcdi_port declarations out of common header 2020-06-30 13:09:09 -07:00
mcdi.c sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
mcdi.h sfc_ef100: extend ef100_check_caps to cover datapath_caps3 2020-07-27 12:26:55 -07:00
mtd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
net_driver.h sfc: check hash is valid before using it 2020-08-14 14:07:16 -07:00
nic_common.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
nic.c sfc: move definition of EFX_MC_STATS_GENERATION_INVALID 2020-06-30 13:09:09 -07:00
nic.h sfc: remove duplicate declaration of efx_enqueue_skb_tso() 2020-06-30 13:09:09 -07:00
ptp.c sfc: drop unnecessary list_empty 2020-07-27 10:09:57 -07:00
ptp.h sfc: split up nic.h 2020-06-29 17:37:48 -07:00
rx_common.c sfc: check hash is valid before using it 2020-08-14 14:07:16 -07:00
rx_common.h sfc: commonise efx_sync_rx_buffer() 2020-06-30 13:09:09 -07:00
rx.c sfc: commonise efx_sync_rx_buffer() 2020-06-30 13:09:09 -07:00
selftest.c sfc: assign TXQs without gaps 2020-07-02 14:47:40 -07:00
selftest.h sfc: refactor selftest work init code 2020-01-10 11:24:37 -08:00
siena_sriov.c sfc: move channel alloc/removal code 2020-01-08 13:28:03 -08:00
siena_sriov.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
siena.c sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
sriov.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sriov.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tx_common.c sfc_ef100: TX path for EF100 NICs 2020-08-03 18:22:54 -07:00
tx_common.h sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
tx_tso.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
tx.c sfc: skeleton EF100 PF driver 2020-07-27 12:26:55 -07:00
tx.h sfc: remove duplicate declaration of efx_enqueue_skb_tso() 2020-06-30 13:09:09 -07:00
vfdi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
workarounds.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00