summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJohn Fastabend <john.fastabend@gmail.com>2016-12-15 12:13:49 -0800
committerDavid S. Miller <davem@davemloft.net>2016-12-17 11:48:55 -0500
commit672aafd5d88a951f394334802b938b502010d9eb (patch)
tree2b00528d8dc79276f234c766ad708ce978c3828f /Documentation
parentf600b690501550b94e83e07295d9c8b9c4c39f4e (diff)
virtio_net: add dedicated XDP transmit queues
XDP requires using isolated transmit queues to avoid interference with normal networking stack (BQL, NETDEV_TX_BUSY, etc). This patch adds a XDP queue per cpu when a XDP program is loaded and does not expose the queues to the OS via the normal API call to netif_set_real_num_tx_queues(). This way the stack will never push an skb to these queues. However virtio/vhost/qemu implementation only allows for creating TX/RX queue pairs at this time so creating only TX queues was not possible. And because the associated RX queues are being created I went ahead and exposed these to the stack and let the backend use them. This creates more RX queues visible to the network stack than TX queues which is worth mentioning but does not cause any issues as far as I can tell. Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions