summaryrefslogtreecommitdiff
path: root/drivers/virtio/virtio_dma_buf.c
diff options
context:
space:
mode:
authorGatis Peisenieks <gatis@mikrotik.com>2021-05-13 14:43:23 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-14 01:48:10 +0300
commitd7ab6419bdee50dbc4a53e69c290a1ef05dae7f9 (patch)
treeaffa2123efd9376c44002965d1ce5a1d36a3145d /drivers/virtio/virtio_dma_buf.c
parentf19d4997fd1fb01bed127e1056ce3a5de922d9ee (diff)
downloadlinux-d7ab6419bdee50dbc4a53e69c290a1ef05dae7f9.tar.xz
atl1c: improve performance by avoiding unnecessary pcie writes on xmit
The kernel has xmit_more facility that hints the networking driver xmit path about whether more packets are coming soon. This information can be used to avoid unnecessary expensive PCIe transaction per tx packet. Max TX pps on Mikrotik 10/25G NIC in a Threadripper 3960X system improved from 1150Kpps to 1700Kpps. Testing L2 forwarding on AR8151 hardware did not reveal a measurable increase in latency. Signed-off-by: Gatis Peisenieks <gatis@mikrotik.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/virtio/virtio_dma_buf.c')
0 files changed, 0 insertions, 0 deletions