2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-25 15:15:33 +08:00
linux-next/drivers/net/ethernet/netronome/nfp
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
..
abm nfp: abm: allow to opt-out of RED offload 2018-12-16 12:41:42 -08:00
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-02-24 12:06:19 -08:00
flower nfp: flower: reduce action list size by coalescing mangle actions 2019-04-01 18:05:13 -07:00
nfpcore nfp: nsp: implement read SFF module EEPROM 2019-04-01 18:05:13 -07:00
nic nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
Makefile nfp: abm: add cls_u32 offload for simple band classification 2018-11-19 18:53:46 -08:00
nfp_abi.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_app_nic.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_app.c nfp: add offloads on representors 2018-11-30 13:30:44 -08:00
nfp_app.h net: replace ndo_get_devlink with ndo_get_devlink_port 2019-03-28 12:55:30 -07:00
nfp_asm.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_asm.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_devlink.c net: replace ndo_get_devlink with ndo_get_devlink_port 2019-03-28 12:55:30 -07:00
nfp_hwmon.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_main.c nfp: devlink: allow flashing the device via devlink 2019-02-17 15:27:38 -08:00
nfp_main.h nfp: devlink: allow flashing the device via devlink 2019-02-17 15:27:38 -08:00
nfp_net_common.c net: move skb->xmit_more hint to softnet data 2019-04-01 18:35:02 -07:00
nfp_net_ctrl.c nfp: add offset to all TLV parsing errors 2018-11-30 13:30:44 -08:00
nfp_net_ctrl.h nfp: remove defines for unused control bits 2019-03-21 14:01:55 -07:00
nfp_net_debugdump.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_debugfs.c nfp: convert to DEFINE_SHOW_ATTRIBUTE 2018-12-03 17:33:38 -08:00
nfp_net_ethtool.c nfp: implement ethtool get module EEPROM 2019-04-01 18:05:13 -07:00
nfp_net_main.c nfp: register devlink port before netdev 2019-03-28 12:55:30 -07:00
nfp_net_repr.c net: replace ndo_get_devlink with ndo_get_devlink_port 2019-03-28 12:55:30 -07:00
nfp_net_repr.h nfp: add offloads on representors 2018-11-30 13:30:44 -08:00
nfp_net_sriov.c nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net_sriov.h nfp: replace long license headers with SPDX 2018-10-11 12:16:21 -07:00
nfp_net.h nfp: report more info when reconfiguration fails 2018-11-30 13:30:45 -08:00
nfp_netvf_main.c nfp: pass ctrl_bar pointer to nfp_net_alloc 2018-11-08 20:48:00 -08:00
nfp_port.c nfp: Remove switchdev.h inclusion 2019-02-24 17:40:46 -08:00
nfp_port.h nfp: move devlink port type set after netdev registration 2019-03-24 14:55:31 -04:00
nfp_shared_buf.c net: devlink: report cell size of shared buffers 2019-02-03 11:25:34 -08:00