[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101124.114513.35026934.davem@davemloft.net>
Date: Wed, 24 Nov 2010 11:45:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: therbert@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH 1/2 v7] xps: Improvements in TX queue selection
From: Tom Herbert <therbert@...gle.com>
Date: Sun, 21 Nov 2010 15:17:29 -0800 (PST)
> In dev_pick_tx, don't do work in calculating queue
> index or setting
> the index in the sock unless the device has more than one queue. This
> allows the sock to be set only with a queue index of a multi-queue
> device which is desirable if device are stacked like in a tunnel.
>
> We also allow the mapping of a socket to queue to be changed. To
> maintain in order packet transmission a flag (ooo_okay) has been
> added to the sk_buff structure. If a transport layer sets this flag
> on a packet, the transmit queue can be changed for the socket.
> Presumably, the transport would set this if there was no possbility
> of creating OOO packets (for instance, there are no packets in flight
> for the socket). This patch includes the modification in TCP output
> for setting this flag.
>
> Signed-off-by: Tom Herbert <therbert@...gle.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists