[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+mtBx-Mp5k4TmoDK29ui=jB79drq-K-vhPqK3GgFNoqA2Mifg@mail.gmail.com>
Date: Sun, 15 Feb 2015 12:19:34 -0800
From: Tom Herbert <therbert@...gle.com>
To: Daniel Borkmann <daniel@...earbox.net>
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 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.
Tom
--
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