linux_dsm_epyc7002/drivers/net/ethernet/amazon/ena
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
..
ena_admin_defs.h net: ena: fix indentations in ena_defs for better readability 2018-10-11 10:13:51 -07:00
ena_com.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
ena_com.h net: ena: fix compilation error in xtensa architecture 2018-10-22 19:48:04 -07:00
ena_common_defs.h net: ena: complete host info to match latest ENA spec 2018-10-11 10:13:50 -07:00
ena_eth_com.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-12 21:38:46 -07:00
ena_eth_com.h net: ena: use CSUM_CHECKED device indication to report skb's checksum status 2018-10-11 10:13:51 -07:00
ena_eth_io_defs.h net: ena: fix indentations in ena_defs for better readability 2018-10-11 10:13:51 -07:00
ena_ethtool.c net: ena: use CSUM_CHECKED device indication to report skb's checksum status 2018-10-11 10:13:51 -07:00
ena_netdev.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
ena_netdev.h net: ena: update driver version from 2.0.2 to 2.0.3 2019-02-12 14:05:07 -05:00
ena_pci_id_tbl.h
ena_regs_defs.h net: ena: fix indentations in ena_defs for better readability 2018-10-11 10:13:51 -07:00
Makefile