linux/drivers/net/ethernet/cavium/liquidio
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
..
cn23xx_pf_device.c liquidio: using NULL instead of plain integer 2019-02-18 16:40:08 -08:00
cn23xx_pf_device.h
cn23xx_pf_regs.h
cn23xx_vf_device.c liquidio CN23XX: Remove set but not used variable 'ring_flag' 2018-09-06 15:53:47 -07:00
cn23xx_vf_device.h
cn23xx_vf_regs.h
cn66xx_device.c
cn66xx_device.h
cn66xx_regs.h
cn68xx_device.c
cn68xx_device.h
cn68xx_regs.h
lio_core.c net: lio_core: fix two NULL pointer dereferences 2019-03-11 12:29:17 -07:00
lio_ethtool.c liquidio: fix spelling mistake "deferal" -> "deferral" 2018-11-30 13:17:38 -08:00
lio_main.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
lio_vf_main.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
lio_vf_rep.c liquidio: Implement ndo_get_port_parent_id() 2019-02-06 14:16:11 -08:00
lio_vf_rep.h
liquidio_common.h liquidio: Add the features to show FEC settings and set FEC settings 2018-09-17 08:22:26 -07:00
liquidio_image.h
Makefile
octeon_config.h liquidio: remove obsolete functions and data structures 2018-08-29 20:07:42 -07:00
octeon_console.c
octeon_device.c net: liquidio: list usage cleanup 2018-09-26 10:12:10 -07:00
octeon_device.h liquidio: Add the features to show FEC settings and set FEC settings 2018-09-17 08:22:26 -07:00
octeon_droq.c net: ethernet: Use DIV_ROUND_UP instead of reimplementing its function 2018-09-12 20:34:47 -07:00
octeon_droq.h liquidio: Removed droq lock 2018-09-11 23:37:06 -07:00
octeon_iq.h liquidio: Added delayed work for periodically updating the link statistics. 2018-09-03 19:08:07 -07:00
octeon_mailbox.c
octeon_mailbox.h
octeon_main.h liquidio: Per queue oom work queue 2018-09-11 23:37:06 -07:00
octeon_mem_ops.c
octeon_mem_ops.h
octeon_network.h liquidio: Add the features to show FEC settings and set FEC settings 2018-09-17 08:22:26 -07:00
octeon_nic.c liquidio: Add spoof checking on a VF MAC address 2018-09-06 15:52:18 -07:00
octeon_nic.h liquidio: change octnic_ctrl_pkt to do synchronous soft commands 2018-08-29 20:07:41 -07:00
request_manager.c liquidio: remove set but not used variable 'irh' 2018-09-01 22:24:52 -07:00
response_manager.c liquidio: improve soft command handling 2018-08-29 20:07:41 -07:00
response_manager.h liquidio: improve soft command handling 2018-08-29 20:07:41 -07:00