> From: Michael S. Tsirkin <m...@redhat.com> > Sent: Tuesday, February 21, 2023 12:14 PM > > The part that I am missing is, how do to reuse virtio_net_hash_config and > > say > ignore all the existing fields related to rss, but only consider > hash_tunnel_types? > > Like a union? The answer is, don't. Just lay out fields one after another. > In that case driver needs to fill up all the fields which are not related to hash_tunnel_types and the device also needs to compare with the previous config and ignore it. Doesn’t look like a good use of existing commands and sw/fw usage for it. Shouldn’t we have the explicit command for setting tunnel types?
- [virtio-dev] RE: [PATCH v9] virtio-net: support inner h... Parav Pandit
- [virtio-dev] RE: [virtio-comment] RE: [PATCH v9] v... Parav Pandit
- [virtio-dev] Re: [virtio-comment] RE: [PATCH v... Heng Qi
- [virtio-dev] RE: [virtio-comment] RE: [PAT... Parav Pandit
- RE: [virtio-dev] RE: [virtio-comment] ... Parav Pandit
- Re: [virtio-dev] RE: [virtio-comm... Michael S. Tsirkin
- RE: [virtio-dev] RE: [virtio-... Parav Pandit
- Re: [virtio-dev] RE: [vir... Michael S. Tsirkin
- RE: [virtio-dev] RE: [vir... Parav Pandit
- [virtio-dev] RE: [virtio-comment]... Parav Pandit
- Re: [virtio-dev] RE: [virtio-comment] RE: [PAT... Heng Qi
- [virtio-dev] Re: [PATCH v9] virtio-net: support in... Michael S. Tsirkin
- [virtio-dev] RE: [PATCH v9] virtio-net: suppor... Parav Pandit
- [virtio-dev] Re: [PATCH v9] virtio-net: su... Michael S. Tsirkin
- [virtio-dev] RE: [PATCH v9] virtio-net... Parav Pandit
- [virtio-dev] Re: [PATCH v9] virti... Michael S. Tsirkin
- [virtio-dev] RE: [PATCH v9] v... Parav Pandit