2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/net/ethernet/sfc
Edward Cree 4159a55f29 sfc: falcon: refactor and document ef4_ethtool_get_rxfh_fields
The code had some rather odd control flow inherited from when it was
 shared with siena and ef10 before this driver was split out.
Simplify that for easier reading.
Also add a comment explaining why we return the values we do, since
 some Falcon documents and datasheets confusingly mention the part
 supporting 4-tuple UDP hashing.
(I couldn't find any record of exactly what was "broken" about the
 original Falcon A hash, I'm just trusting that falcon_init_rx_cfg()
 had a good reason for not using it.)

Signed-off-by: Edward Cree <ecree.xilinx@gmail.com>
Link: https://patch.msgid.link/20250710173213.1638397-1-edward.cree@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-07-11 16:43:16 -07:00
..
falcon sfc: falcon: refactor and document ef4_ethtool_get_rxfh_fields 2025-07-11 16:43:16 -07:00
siena sfc: siena: eliminate xdp_rxq_info_valid using XDP base API 2025-07-01 17:02:12 -07:00
bitfield.h
ef10_regs.h
ef10_sriov.c
ef10_sriov.h
ef10.c udp_tunnel: remove rtnl_lock dependency 2025-06-18 18:53:51 -07:00
ef100_ethtool.c net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts in 2024-11-14 19:53:41 -08:00
ef100_ethtool.h
ef100_netdev.c sfc: fix NULL dereferences in ef100_process_design_param() 2025-04-03 15:08:25 -07:00
ef100_netdev.h
ef100_nic.c sfc: fix NULL dereferences in ef100_process_design_param() 2025-04-03 15:08:25 -07:00
ef100_nic.h
ef100_regs.h
ef100_rep.c netdev_features: convert NETIF_F_LLTX to dev->lltx 2024-09-03 11:36:43 +02:00
ef100_rep.h
ef100_rx.c sfc: add per-queue RX bytes stats 2024-10-06 16:02:23 +01:00
ef100_rx.h
ef100_sriov.c
ef100_sriov.h
ef100_tx.c
ef100_tx.h
ef100.c
ef100.h
efx_channels.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-10-10 13:13:33 -07:00
efx_channels.h sfc: implement per-queue rx drop and overrun stats 2024-10-06 16:02:23 +01:00
efx_common.c sfc: deploy devlink flash images to NIC over MCDI 2025-02-11 17:12:17 -08:00
efx_common.h sfc: Remove more unused functions 2024-11-05 17:35:11 -08:00
efx_devlink.c sfc: parse headers of devlink flash images 2025-02-11 17:12:17 -08:00
efx_devlink.h
efx_reflash.c sfc: support X4 devlink flash 2025-03-25 07:55:11 -07:00
efx_reflash.h sfc: parse headers of devlink flash images 2025-02-11 17:12:17 -08:00
efx.c sfc: rip out MDIO support 2025-03-25 07:55:10 -07:00
efx.h sfc: Remove more unused functions 2024-11-05 17:35:11 -08:00
enum.h
ethtool_common.c net: ethtool: move rxfh_fields callbacks under the rss_lock 2025-06-30 08:41:24 -07:00
ethtool_common.h eth: sfc: migrate to new RXFH callbacks 2025-06-21 07:53:39 -07:00
ethtool.c eth: sfc: migrate to new RXFH callbacks 2025-06-21 07:53:39 -07:00
filter.h
fw_formats.h sfc: parse headers of devlink flash images 2025-02-11 17:12:17 -08:00
io.h sfc: remove efx_writed_page_locked 2024-12-19 19:14:39 -08:00
Kconfig sfc: document devlink flash support 2025-02-11 17:12:17 -08:00
mae_counter_format.h
mae.c sfc: Remove newline at the end of a netlink error message 2025-02-27 18:11:37 -08:00
mae.h sfc: Remove unused efx_mae_mport_vf 2024-11-05 17:35:11 -08:00
Makefile sfc: parse headers of devlink flash images 2025-02-11 17:12:17 -08:00
mcdi_filters.c sfc: use new rxfh_context API 2024-06-28 18:53:21 -07:00
mcdi_filters.h sfc: use new rxfh_context API 2024-06-28 18:53:21 -07:00
mcdi_functions.c
mcdi_functions.h
mcdi_mon.c
mcdi_pcol_mae.h
mcdi_pcol.h sfc: update MCDI protocol headers 2025-03-25 07:55:10 -07:00
mcdi_port_common.c sfc: rip out MDIO support 2025-03-25 07:55:10 -07:00
mcdi_port_common.h
mcdi_port.c sfc: rip out MDIO support 2025-03-25 07:55:10 -07:00
mcdi_port.h
mcdi.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
mcdi.h sfc: extend NVRAM MCDI handlers 2025-02-11 17:12:17 -08:00
mtd.c
net_driver.h sfc: eliminate xdp_rxq_info_valid using XDP base API 2025-07-01 17:01:15 -07:00
nic_common.h net: sfc: use ethtool string helpers 2024-11-09 09:10:37 -08:00
nic.c net: sfc: use ethtool string helpers 2024-11-09 09:10:37 -08:00
nic.h sfc: Add X4 PF support 2024-09-11 16:02:21 -07:00
ptp.c net: sfc: use ethtool string helpers 2024-11-09 09:10:37 -08:00
ptp.h net: sfc: use ethtool string helpers 2024-11-09 09:10:37 -08:00
rx_common.c sfc: eliminate xdp_rxq_info_valid using XDP base API 2025-07-01 17:01:15 -07:00
rx_common.h sfc: use new rxfh_context API 2024-06-28 18:53:21 -07:00
rx.c sfc: add per-queue RX bytes stats 2024-10-06 16:02:23 +01:00
selftest.c
selftest.h
sriov.c
sriov.h
tc_bindings.c
tc_bindings.h
tc_conntrack.c net: sfc: Correct key_len for efx_tc_ct_zone_ht_params 2025-01-02 17:11:41 -08:00
tc_conntrack.h
tc_counters.c sfc: Convert to use ERR_CAST() 2024-08-30 11:10:02 -07:00
tc_counters.h
tc_encap_actions.c
tc_encap_actions.h
tc.c sfc: Remove newline at the end of a netlink error message 2025-02-27 18:11:37 -08:00
tc.h
tx_common.c sfc: implement per-queue TSO (hw_gso) stats 2024-10-06 16:02:23 +01:00
tx_common.h sfc: account XDP TXes in netdev base stats 2024-10-06 16:02:23 +01:00
tx_tso.c net: adopt skb_network_offset() and similar helpers 2024-03-04 08:47:06 +00:00
tx.c sfc: Remove more unused functions 2024-11-05 17:35:11 -08:00
tx.h sfc: Remove more unused functions 2024-11-05 17:35:11 -08:00
workarounds.h