diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2016-10-11 15:26:54 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-10-31 14:26:40 -0700 |
commit | 1dc8b538795fcf92161cc056ceebb852cf375b17 (patch) | |
tree | 25c8d70d4b18b887724babae6fa2b07cc77a82d4 /net/tipc/sysctl.c | |
parent | 4b8164467b854fbeb7ecbb14cf53b6be9113ef03 (diff) | |
download | linux-1dc8b538795fcf92161cc056ceebb852cf375b17.tar.gz linux-1dc8b538795fcf92161cc056ceebb852cf375b17.tar.xz |
i40e: Reorder logic for coalescing RS bits
This patch reorders the logic at the end of i40e_tx_map to address the
fact that the logic was rather convoluted and much larger than it needed
to be.
In order to try and coalesce the code paths I have updated some of the
comments and repurposed some of the variables in order to reduce
unnecessary overhead.
This patch does the following:
1. Quit tracking skb->xmit_more with a flag, just max out packet_stride
2. Drop tail_bump and do_rs and instead just use desc_count and td_cmd
3. Pull comments from ixgbe that make need for wmb() more explicit.
Change-ID: Ic7da85ec75043c634e87fef958109789bcc6317c
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'net/tipc/sysctl.c')
0 files changed, 0 insertions, 0 deletions