diff options
author | 2015-01-05 05:48:34 -0500 | |
---|---|---|
committer | 2015-01-05 16:32:53 -0500 | |
commit | 5f07b3c51abe330c3dd702622c419efffb5757f0 (patch) | |
tree | c666cc118eaac0087e79fa33119cb69507a1b748 /drivers/clocksource/arm_arch_timer.c | |
parent | at86rf230: Constify struct regmap_config (diff) | |
download | wireguard-linux-5f07b3c51abe330c3dd702622c419efffb5757f0.tar.xz wireguard-linux-5f07b3c51abe330c3dd702622c419efffb5757f0.zip |
be2net: support TX batching using skb->xmit_more flag
This patch uses skb->xmit_more flag to batch TX requests.
TX is flushed either when xmit_more is false or there is
no more space in the TXQ.
Skyhawk-R and BEx chips require an even number of wrbs to be posted.
So, when a batch of TX requests is accumulated, the last header wrb
may need to be fixed with an extra dummy wrb.
This patch refactors be_xmit() routine as a sequence of be_xmit_enqueue()
and be_xmit_flush() calls. The Tx completion code is also
updated to be able to unmap/free a batch of skbs rather than a single
skb.
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
0 files changed, 0 insertions, 0 deletions