[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150219.155449.1055446417050184538.davem@davemloft.net>
Date: Thu, 19 Feb 2015 15:54:49 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: therbert@...gle.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: Reflect RX hash for transmit
From: Tom Herbert <therbert@...gle.com>
Date: Sun, 15 Feb 2015 10:37:18 -0800
> This patch allows a driver to request that the receive hash it provides
> to the stack is reflected back in skb->hash for packets transmitted
> on the associated connection. The hash value returned by a device could
> have meaning when used in transmit to identify a flow, for instance
> the hash may by a flow ID for a flow created in a (virtual) device.
> With the flow ID provided on transmit this can obviate the need
> to create the hash and do the lookup on the fly in transmit.
>
> Note that this is an opportunistic optimization, there is no
> separate negotiation between the stack and driver/device for
> the hash used in either TX or RX.
>
> Signed-off-by: Tom Herbert <therbert@...gle.com>
Like Eric, I'd like to see this resubmitted alongside an actual user
of the new facility.
Thanks!
--
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