linux_dsm_epyc7002/drivers/net/ethernet/intel/igc
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
..
igc_base.c igc: Add ethtool support 2019-02-05 17:35:46 -08:00
igc_base.h igc: Fix the typo in igc_base.h header definition 2019-03-19 15:18:46 -07:00
igc_defines.h igc: Add support for the ntuple feature 2019-03-19 15:16:20 -07:00
igc_ethtool.c igc: Remove unneeded hw_dbg prints 2019-03-19 15:21:21 -07:00
igc_hw.h igc: Add ethtool support 2019-02-05 17:35:46 -08:00
igc_i225.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_i225.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_mac.c igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_mac.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_main.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
igc_nvm.c igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_nvm.h igc: Add NVM support 2018-10-17 13:52:00 -07:00
igc_phy.c igc: Remove unreachable code from igc_phy.c file 2019-02-05 16:08:54 -08:00
igc_phy.h igc: Add setup link functionality 2018-10-17 13:56:55 -07:00
igc_regs.h igc: Extend the ethtool supporting 2019-03-19 14:45:23 -07:00
igc.h igc: Add support for statistics 2019-03-19 15:12:28 -07:00
Makefile igc: Add ethtool support 2019-02-05 17:35:46 -08:00