[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [virtio-dev] Re: [virtio-comment] Re: [PATCH 0/3] Rename queue index to queue number
On Fri, 3 Mar 2023 02:42:49 -0500 "Michael S. Tsirkin" <mst@redhat.com> wrote: > > > > > > And then for extra fun, in the RSS section we say "0 based index" where we > > > seem to mean "this number in the queue name, but subtract 1 in your head". > > > Why subtract 1? I guess we wanted these 5 year olds to practice math ... > > > > Heh :) > > > > Yeah, that looks like a mess... I don't think we should use a weird > > substraction scheme. I haven't looked at the RSS stuff much, would it be > > hard to fix it up? > > We can't change the ABI, I guess we can say that it's bits 1 to 15 > of the VQ number or equivalently VQ number divided > by 2 (it's always an even number for any receiveq). I don't think it would require an ABI change. We could just change the queue names. AFAIK those are not part of the ABI. I don't think it would be hard. BTW what speaks for "VQ number" over "VQ index"? Regards, Halil
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]