linux_dsm_epyc7002/drivers/net/ethernet/huawei/hinic
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
..
hinic_common.c net-next/hinic: Add cmdq commands 2017-08-22 10:48:53 -07:00
hinic_common.h net-next/hinic: Add cmdq commands 2017-08-22 10:48:53 -07:00
hinic_dev.h net-next/hinic: Add ethtool and stats 2017-08-22 10:48:54 -07:00
hinic_hw_api_cmd.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hinic_hw_api_cmd.h net-next/hinic: Add api cmd commands 2017-08-22 10:48:53 -07:00
hinic_hw_cmdq.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
hinic_hw_cmdq.h hinic: Replace PCI pool old API 2018-01-02 16:14:49 -06:00
hinic_hw_csr.h net-next/hinic: Add Rx handler 2017-08-22 10:48:54 -07:00
hinic_hw_dev.c net-next/hinic: replace disable_irq_nosync/enable_irq 2019-01-17 11:22:36 -08:00
hinic_hw_dev.h net-next/hinic: replace disable_irq_nosync/enable_irq 2019-01-17 11:22:36 -08:00
hinic_hw_eqs.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hinic_hw_eqs.h net-next/hinic: Add ceqs 2017-08-22 10:48:53 -07:00
hinic_hw_if.c net-next/hinic: replace disable_irq_nosync/enable_irq 2019-01-17 11:22:36 -08:00
hinic_hw_if.h net-next/hinic: replace disable_irq_nosync/enable_irq 2019-01-17 11:22:36 -08:00
hinic_hw_io.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hinic_hw_io.h net-next/hinic: Add cmdq commands 2017-08-22 10:48:53 -07:00
hinic_hw_mgmt.c net-next/hinic: Add Rx mode and link event handler 2017-08-22 10:48:53 -07:00
hinic_hw_mgmt.h net-next/hinic: Add Rx handler 2017-08-22 10:48:54 -07:00
hinic_hw_qp_ctxt.h net-next/hinic: Set qp context 2017-08-22 10:48:53 -07:00
hinic_hw_qp.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hinic_hw_qp.h hinic: Fix l4_type parameter in hinic_task_set_tunnel_l4 2018-10-29 20:43:40 -07:00
hinic_hw_wq.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
hinic_hw_wq.h net-next/hinic:replace multiply and division operators 2018-11-20 10:38:08 -08:00
hinic_hw_wqe.h net-next/hinic:add rx checksum offload for HiNIC 2018-11-20 10:38:08 -08:00
hinic_main.c hinic: Add pci device ids 2019-01-22 14:54:08 -08:00
hinic_port.c net: hinic: fix null pointer dereference on pointer hwdev 2018-11-23 17:22:02 -08:00
hinic_port.h net-next/hinic:add rx checksum offload for HiNIC 2018-11-20 10:38:08 -08:00
hinic_rx.c net-next/hinic: replace disable_irq_nosync/enable_irq 2019-01-17 11:22:36 -08:00
hinic_rx.h hinic: optmize rx refill buffer mechanism 2018-12-11 22:52:56 -08:00
hinic_tx.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
hinic_tx.h net-next/hinic: Add ethtool and stats 2017-08-22 10:48:54 -07:00
Kconfig net-next/hinic: add arm64 support 2018-04-19 13:34:44 -04:00
Makefile net-next/hinic: Set qp context 2017-08-22 10:48:53 -07:00