aboutsummaryrefslogtreecommitdiff
path: root/ObsoleteFiles.inc
diff options
context:
space:
mode:
authorVincenzo Maffione <vmaffione@FreeBSD.org>2018-11-14 15:39:48 +0000
committerVincenzo Maffione <vmaffione@FreeBSD.org>2018-11-14 15:39:48 +0000
commit2e42b74a6f37806cb1d1cb205ac009732a599848 (patch)
tree3fdea647fa94735642742998d5be715c43f47b01 /ObsoleteFiles.inc
parent8d4ceb9cc49dded04f320ed36c92350355755077 (diff)
downloadsrc-2e42b74a6f37806cb1d1cb205ac009732a599848.tar.gz
src-2e42b74a6f37806cb1d1cb205ac009732a599848.zip
vtnet: fix netmap support
netmap(4) support for vtnet(4) was incomplete and had multiple bugs. This commit fixes those bugs to bring netmap on vtnet in a functional state. Changelist: - handle errors returned by virtqueue_enqueue() properly (they were previously ignored) - make sure netmap XOR rest of the kernel access each virtqueue. - compute the number of netmap slots for TX and RX separately, according to whether indirect descriptors are used or not for a given virtqueue. - make sure sglist are freed according to their type (mbufs or netmap buffers) - add support for mulitiqueue and netmap host (aka sw) rings. - intercept VQ interrupts directly instead of intercepting them in txq_eof and rxq_eof. This simplifies the code and makes it easier to make sure taskqueues are not running for a VQ while it is in netmap mode. - implement vntet_netmap_config() to cope with changes in the number of queues. Reviewed by: bryanv Approved by: gnn (mentor) MFC after: 3 days Sponsored by: Sunny Valley Networks Differential Revision: https://reviews.freebsd.org/D17916
Notes
Notes: svn path=/head/; revision=340436
Diffstat (limited to 'ObsoleteFiles.inc')
0 files changed, 0 insertions, 0 deletions