linux_dsm_epyc7002/drivers/net/ethernet/broadcom
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
..
bnx2x bnx2x: Utilize FW 7.13.11.0. 2019-03-27 13:43:14 -07:00
bnxt net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
genet net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
b44.c net: b44: replace dev_kfree_skb_xxx by dev_consume_skb_xxx for drop profiles 2019-01-29 10:11:42 -08:00
b44.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bcm63xx_enet.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bcm63xx_enet.h bcm63xx_enet: use platform device id directly for miibus name 2017-12-19 11:07:16 -05:00
bcmsysport.c net: systemport: Remove print of base address 2019-03-21 13:32:35 -07:00
bcmsysport.h net: systemport: Fix WoL with password after deep sleep 2019-02-03 11:23:50 -08:00
bgmac-bcma-mdio.c
bgmac-bcma.c net: bgmac: enable master mode for BCM54210E and B50212E PHYs 2017-10-12 22:59:38 -07:00
bgmac-platform.c net: ethernet: bgmac: mark expected switch fall-through 2017-11-11 18:49:26 +09:00
bgmac.c net: phy: fixed-phy: Drop GPIO from fixed_phy_add() 2019-02-04 18:33:36 -08:00
bgmac.h net: bgmac: Correctly annotate register space 2018-04-01 22:20:48 -04:00
bnx2_fw.h
bnx2.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bnx2.h
cnic_defs.h
cnic_if.h
cnic.c cnic: remove use of VLAN_TAG_PRESENT 2018-11-08 19:49:31 -08:00
cnic.h
Kconfig net: devlink: select NET_DEVLINK from drivers 2019-03-24 14:55:31 -04:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sb1250-mac.c net: broadcom: replace dev_kfree_skb_irq by dev_consume_skb_irq for drop profiles 2019-02-06 17:38:15 -08:00
tg3.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
tg3.h tg3: Update copyright 2018-07-16 14:42:10 -07:00