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
hinic_common.h
hinic_dev.h
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
hinic_hw_cmdq.c treewide: Use array_size() in vzalloc() 2018-06-12 16:19:22 -07:00
hinic_hw_cmdq.h
hinic_hw_csr.h
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
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
hinic_hw_mgmt.c
hinic_hw_mgmt.h
hinic_hw_qp_ctxt.h
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
Kconfig
Makefile