[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAFEAcA_hJK3fT-mvtJj9ZfQ2cGsv0Oy5vpbir=XfmP4HG+7o2g@mail.gmail.com>
Date: Wed, 2 Nov 2011 13:31:05 +0000
From: Peter Maydell <peter.maydell@...aro.org>
To: Pawel Moll <pawel.moll@....com>,
Rusty Russell <rusty@...tcorp.com.au>
Cc: linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org
Subject: Re: Additional virtio-mmio spec changes
Rusty wrote:
>Pawel Moll <pawel.moll@....com> wrote:
>> Peter also mentioned that he didn't like the "Num" in
>> "QueueNum" register name and would rather see it called "QueueSize". I
>> have no strong opinions either way and can provide patches to both the
>> spec and the driver (and header) to change it. Any thoughts?
>
> Num isn't great, but Size might be misleading. I'd leave it...
I'd note that calling it QueueNum is inconsistent with the main
virtio spec, which calls the equivalent virtio header field
"Queue Size". Also if the docs say
"QueueNum
Virtual queue size.
Queue size is a number of elements in the queue [...]"
this rather suggests to me that we've picked the wrong name for
the register...
-- PMM
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists