Thread (17 messages) 17 messages, 3 authors, 2014-04-30

Re: [PATCH V7 net-next 5/7] xen-netfront: Factor queue-specific data into queue struct.

From: Wei Liu <hidden>
Date: 2014-04-30 14:51:21

On Tue, Apr 29, 2014 at 02:27:13PM +0100, Andrew J. Bennieston wrote:
From: "Andrew J. Bennieston" <redacted>

In preparation for multi-queue support in xen-netfront, move the
queue-specific data from struct netfront_info to struct netfront_queue,
and update the rest of the code to use this.

Also adds loops over queues where appropriate, even though only one is
configured at this point, and uses alloc_etherdev_mq() and the
corresponding multi-queue netif wake/start/stop functions in preparation
for multiple active queues.

Finally, implements a trivial queue selection function suitable for
ndo_select_queue, which simply returns 0, selecting the first (and
only) queue.

Signed-off-by: Andrew J. Bennieston <redacted>
Reviewed-by: David Vrabel <redacted>
Not an official netfront maintainer but FWIW this looks correct to me.

Acked-by: Wei Liu <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help