[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <54E10125.7060807@iogearbox.net>
Date: Sun, 15 Feb 2015 21:27:17 +0100
From: Daniel Borkmann <daniel@...earbox.net>
To: Tom Herbert <therbert@...gle.com>
CC: David Miller <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH net-next] net: Reflect RX hash for transmit
On 02/15/2015 09:19 PM, Tom Herbert wrote:
> On Sun, Feb 15, 2015 at 11:59 AM, Daniel Borkmann <daniel@...earbox.net> wrote:
>> On 02/15/2015 07:37 PM, Tom Herbert wrote:
>>>
>>> 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.
>>
>> [...]
>>>
>>> + if (unlikely(skb->reflect_hash && sk->sk_txhash != skb->hash))
>>> + sk->sk_txhash = skb->hash;
>>
>>
>> Is there also an initial user setting this somewhere?
>
> inet_set_txhash and ip6_set_txhash are called for connected sockets.
> There is no user API to set these.
Yes sure, this was maybe a bit unclear; I was referring to reflect_hash.
Thanks,
Daniel
--
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