linux_dsm_epyc7002/drivers/net/ethernet/amd
Florian Westphal 6b16f9ee89 net: move skb->xmit_more hint to softnet data
There are two reasons for this.

First, the xmit_more flag conceptually doesn't fit into the skb, as
xmit_more is not a property related to the skb.
Its only a hint to the driver that the stack is about to transmit another
packet immediately.

Second, it was only done this way to not have to pass another argument
to ndo_start_xmit().

We can place xmit_more in the softnet data, next to the device recursion.
The recursion counter is already written to on each transmit. The "more"
indicator is placed right next to it.

Drivers can use the netdev_xmit_more() helper instead of skb->xmit_more
to check the "more packets coming" hint.

skb->xmit_more is retained (but always 0) to not cause build breakage.

This change takes care of the simple s/skb->xmit_more/netdev_xmit_more()/
conversions.  Remaining drivers are converted in the next patches.

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-04-01 18:35:02 -07:00
..
xgbe net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
7990.c ethernet: amd: use IS_ENABLED() instead of checking for built-in or module 2016-09-12 20:27:58 -07:00
7990.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
a2065.c drivers/net: amd: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
a2065.h
am79c961a.c net: amd: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
am79c961a.h drivers/net: amd: Convert timers to use timer_setup() 2017-10-28 19:09:49 +09:00
amd8111e.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-01-29 21:18:54 -08:00
amd8111e.h scripts/spelling.txt: add regsiter -> register spelling mistake 2017-05-08 17:15:13 -07:00
ariadne.c net: amd: constify zorro_device_id 2017-08-22 14:35:36 -07:00
ariadne.h
atarilance.c net: amd: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
au1000_eth.c au1000_eth: pass struct device to DMA API functions 2019-02-12 12:09:23 -05:00
au1000_eth.h net: ethernet: amd: au1000_eth: use phydev from struct net_device 2016-07-15 16:41:35 -07:00
declance.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-03 21:00:17 -07:00
hplance.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
hplance.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig net: prevent ISA drivers from building on PPC32 2018-07-22 11:12:29 -07:00
lance.c net: amd: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 11:56:36 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mvme147.c net: deprecate eth_change_mtu, remove usage 2016-10-13 09:36:57 -04:00
ni65.c net: amd: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-14 11:56:36 -05:00
ni65.h
nmclan_cs.c net: nmlan_cs: Use net_device_stats from struct net_device 2017-04-07 07:03:33 -07:00
pcnet32.c net: amd: pcnet32: Replace GFP_ATOMIC with GFP_KERNEL in pcnet32_alloc_ring() 2018-07-27 13:45:14 -07:00
sun3lance.c net: amd: fix return type of ndo_start_xmit function 2018-09-19 21:17:58 -07:00
sunlance.c net: Use of_node_name_eq for node name comparisons 2018-12-05 20:51:05 -08:00