Skip to content

Commit

Permalink
Add Kconfig variable for RX zerocopy
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad Lungu <vlad.lungu@windriver.com>
  • Loading branch information
vllungu committed Mar 3, 2022
1 parent d4801e3 commit 13fc40d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/virtio/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ config VIRTIO_NET_ZEROCOPY_TX
help
Don't copy the packet contents to a separate buffer.

config VIRTIO_NET_ZEROCOPY_RX
bool "Enable zero-copy receive"
default n
help
Perform reception direcly into a network packet.

endif #VIRTIO_NETWORK

endif #VIRTIO

0 comments on commit 13fc40d

Please sign in to comment.