linux_dsm_epyc7002/drivers/net/ethernet/intel
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
..
e1000 net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
e1000e net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
fm10k net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
i40e net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
iavf net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
ice net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
igb net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
igbvf ethernet/intel: consolidate NAPI and NAPI exit 2018-11-21 10:35:23 -08:00
igc net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
ixgb cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ixgbe net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
ixgbevf xfrm: prefer secpath_set over secpath_dup 2018-12-19 11:21:38 -08:00
e100.c intel: correct return from set features callback 2019-03-19 14:18:49 -07:00
Kconfig ixgbe: fix Kconfig when driver is not a module 2019-01-04 14:02:16 -08:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00