aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorHeng Qi <[email protected]>2024-08-01 21:23:37 +0800
committerDavid S. Miller <[email protected]>2024-08-05 11:10:22 +0100
commitb50f2af9fbc5c00103ca8b72752b15310bd77762 (patch)
tree6c639c7fef7cfa19d92767a94cb9cc2fb5b81e2a /tools/testing/selftests/bpf/progs/test_autoload.c
parent14ab4792ee120c022f276a7e4768f4dcb08f0cdd (diff)
virtio-net: check feature before configuring the vq coalescing command
Virtio spec says: The driver MUST have negotiated the VIRTIO_NET_F_VQ_NOTF_COAL feature when issuing commands VIRTIO_NET_CTRL_NOTF_COAL_VQ_SET and VIRTIO_NET_CTRL_NOTF_COAL_VQ_GET. So we add the feature negotiation check to virtnet_send_{r,t}x_ctrl_coal_vq_cmd as a basis for the next bugfix patch. Suggested-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Heng Qi <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions