Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

max_virtqueue_pairs is enabled with VIRTIO_NET_F_RSS #135

Open
mstsirkin opened this issue Feb 20, 2022 · 1 comment
Open

max_virtqueue_pairs is enabled with VIRTIO_NET_F_RSS #135

mstsirkin opened this issue Feb 20, 2022 · 1 comment

Comments

@mstsirkin
Copy link
Contributor

the spec says:

\item Identify and initialize the receive and
transmission virtqueues, up to N of each kind. If
VIRTIO_NET_F_MQ feature bit is negotiated,
N=\field{max_virtqueue_pairs}, otherwise identify N=1.

\item If the VIRTIO_NET_F_CTRL_VQ feature bit is negotiated,
identify the control virtqueue.

\item Fill the receive queues with buffers: see \ref{sec:Device Types / Network Device / Device Operation / Setting Up Receive Buffers}.

\item Even with VIRTIO_NET_F_MQ, only receiveq1, transmitq1 and
controlq are used by default. The driver would send the
VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET command specifying the
number of the transmit and receive queues to use.

but this is incomplete: max_virtqueue_pairs is also used in the same way
with VIRTIO_NET_F_RSS.

@cohuck
Copy link
Contributor

cohuck commented Dec 13, 2022

Going through old issues... what is the current status of this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants