Message ID | 626449eb303207de408126b3dc7c155cd72b028b.1698195059.git.yin31149@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Vhost-vdpa Shadow Virtqueue RSS Support | expand |
On Wed, Oct 25, 2023 at 3:08 AM Hawkins Jiawei <yin31149@gmail.com> wrote: > > Enable SVQ with VIRTIO_NET_F_RSS feature. > Acked-by: Eugenio Pérez <eperezma@redhat.com> > Signed-off-by: Hawkins Jiawei <yin31149@gmail.com> > --- > v5: > - no changes > > v4: https://lore.kernel.org/all/4ee7f3f339469f41626ca2c3ac7b1c574ebce901.1697904740.git.yin31149@gmail.com/ > - no code changes > > v3: https://lore.kernel.org/all/2d2a378291bfac4144a0c0c473cf80415bb580b3.1693299194.git.yin31149@gmail.com/ > > net/vhost-vdpa.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c > index a4cc1381fc..d0614d7954 100644 > --- a/net/vhost-vdpa.c > +++ b/net/vhost-vdpa.c > @@ -122,6 +122,7 @@ static const uint64_t vdpa_svq_device_features = > /* VHOST_F_LOG_ALL is exposed by SVQ */ > BIT_ULL(VHOST_F_LOG_ALL) | > BIT_ULL(VIRTIO_NET_F_HASH_REPORT) | > + BIT_ULL(VIRTIO_NET_F_RSS) | > BIT_ULL(VIRTIO_NET_F_RSC_EXT) | > BIT_ULL(VIRTIO_NET_F_STANDBY) | > BIT_ULL(VIRTIO_NET_F_SPEED_DUPLEX); > -- > 2.25.1 >
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index a4cc1381fc..d0614d7954 100644 --- a/net/vhost-vdpa.c +++ b/net/vhost-vdpa.c @@ -122,6 +122,7 @@ static const uint64_t vdpa_svq_device_features = /* VHOST_F_LOG_ALL is exposed by SVQ */ BIT_ULL(VHOST_F_LOG_ALL) | BIT_ULL(VIRTIO_NET_F_HASH_REPORT) | + BIT_ULL(VIRTIO_NET_F_RSS) | BIT_ULL(VIRTIO_NET_F_RSC_EXT) | BIT_ULL(VIRTIO_NET_F_STANDBY) | BIT_ULL(VIRTIO_NET_F_SPEED_DUPLEX);
Enable SVQ with VIRTIO_NET_F_RSS feature. Signed-off-by: Hawkins Jiawei <yin31149@gmail.com> --- v5: - no changes v4: https://lore.kernel.org/all/4ee7f3f339469f41626ca2c3ac7b1c574ebce901.1697904740.git.yin31149@gmail.com/ - no code changes v3: https://lore.kernel.org/all/2d2a378291bfac4144a0c0c473cf80415bb580b3.1693299194.git.yin31149@gmail.com/ net/vhost-vdpa.c | 1 + 1 file changed, 1 insertion(+)