OpenCloudOS-Kernel/drivers/net/ethernet/sfc
Martin Habets cc398a34d1 sfc/siena: Remove duplicate check on segments
Siena only supports software TSO. This means more code can be deleted,
as pointed out by the Smatch static checker warning:
	drivers/net/ethernet/sfc/siena/tx.c:184 __efx_siena_enqueue_skb()
	warn: duplicate check 'segments' (previous on line 158)

Fixes: 956f2d86cb ("sfc/siena: Remove build references to missing functionality")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/kernel-janitors/YoH5tJMnwuGTrn1Z@kili/
Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Link: https://lore.kernel.org/r/165294463549.23865.4557617334650441347.stgit@palantir17.mph.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-05-20 16:46:49 -07:00
..
falcon net: allow gso_max_size to exceed 65536 2022-05-16 10:18:55 +01:00
siena sfc/siena: Remove duplicate check on segments 2022-05-20 16:46:49 -07:00
Kconfig sfc/siena: Make MCDI logging support specific for Siena 2022-05-12 16:49:30 -07:00
Makefile sfc: Add a basic Siena module 2022-05-10 15:38:15 -07:00
bitfield.h
ef10.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-12 16:15:30 -07:00
ef10_regs.h
ef10_sriov.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
ef10_sriov.h ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
ef100.c sfc: add EF100 VF support via a write to sriov_numvfs 2022-04-29 18:43:01 -07:00
ef100.h
ef100_ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ef100_ethtool.h
ef100_netdev.c
ef100_netdev.h
ef100_nic.c net: allow gso_max_size to exceed 65536 2022-05-16 10:18:55 +01:00
ef100_nic.h
ef100_regs.h
ef100_rx.c
ef100_rx.h
ef100_sriov.c sfc: add EF100 VF support via a write to sriov_numvfs 2022-04-29 18:43:01 -07:00
ef100_sriov.h sfc: add EF100 VF support via a write to sriov_numvfs 2022-04-29 18:43:01 -07:00
ef100_tx.c
ef100_tx.h
efx.c net: make drivers set the TSO limit not the GSO limit 2022-05-06 12:07:56 +01:00
efx.h sfc: Remove duplicate definition of efx_xmit_done 2022-04-12 12:13:30 +02:00
efx_channels.c eth: sfc: remove remnants of the out-of-tree napi_weight module param 2022-05-13 17:03:09 -07:00
efx_channels.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2022-05-12 16:15:30 -07:00
efx_common.c sfc: Remove global definition of efx_reset_type_names 2022-04-12 12:13:30 +02:00
efx_common.h
enum.h sfc: Remove duplicate argument 2021-04-14 13:55:07 -07:00
ethtool.c ethtool: extend ringparam setting/getting API with rx_buf_len 2021-11-22 12:31:49 +00:00
ethtool_common.c sfc: Fix reading non-legacy supported link modes 2021-10-18 14:28:02 +01:00
ethtool_common.h
farch_regs.h
filter.h
io.h
mcdi.c sfc: extend the locking on mcdi->seqno 2022-03-03 14:11:58 +00:00
mcdi.h
mcdi_filters.c
mcdi_filters.h
mcdi_functions.c
mcdi_functions.h
mcdi_mon.c
mcdi_pcol.h sfc: Fix spelling mistake "writting" -> "writing" 2022-04-12 09:34:05 +02:00
mcdi_port.c
mcdi_port.h
mcdi_port_common.c ethernet/sfc: remove redundant rc variable 2022-01-04 12:41:41 +00:00
mcdi_port_common.h
mtd.c
net_driver.h sfc: Remove global definition of efx_reset_type_names 2022-04-12 12:13:30 +02:00
nic.c net:sfc: fix non-freed irq in legacy irq mode 2021-05-21 14:51:10 -07:00
nic.h sfc: Disable Siena support 2022-05-04 11:18:08 +01:00
nic_common.h sfc: The size of the RX recycle ring should be more flexible 2022-02-01 20:34:59 -08:00
ptp.c net: sfc: fix memory leak due to ptp channel 2022-05-09 10:01:48 +01:00
ptp.h net: sfc: fix memory leak due to ptp channel 2022-05-09 10:01:48 +01:00
rx.c bpf: Let bpf_warn_invalid_xdp_action() report more info 2021-12-13 22:28:27 +01:00
rx_common.c sfc: Do not free an empty page_ring 2022-04-04 12:53:52 +01:00
rx_common.h sfc: The size of the RX recycle ring should be more flexible 2022-02-01 20:34:59 -08:00
selftest.c
selftest.h
sriov.c
sriov.h
tx.c sfc: use hardware tx timestamps for more than PTP 2022-04-08 14:43:10 -07:00
tx.h
tx_common.c net: allow gso_max_size to exceed 65536 2022-05-16 10:18:55 +01:00
tx_common.h
tx_tso.c
vfdi.h
workarounds.h