From: Tom Herbert <redacted>
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 <redacted>
Like Eric, I'd like to see this resubmitted alongside an actual user
of the new facility.
Thanks!