[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BD76955.1030104@chelsio.com>
Date: Tue, 27 Apr 2010 15:46:45 -0700
From: Dimitris Michailidis <dm@...lsio.com>
To: David Miller <davem@...emloft.net>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] cxgb4: set skb->rxhash
David Miller wrote:
> From: Dimitris Michailidis <dm@...lsio.com>
> Date: Tue, 27 Apr 2010 15:20:25 -0700
>
>> Implement the ->set_flags ethtool method to control NETIF_F_RXHASH and
>> set skb->rxhash to the HW calculated hash accordingly.
>>
>> Signed-off-by: Dimitris Michailidis <dm@...lsio.com>
>
> Does the CXGB4 hash the ports for non-TCP packets?
>
> If not, you will need to check the packet type (preferrably using
> RX descriptor information rather than actually parsing the packet)
> and only record the ->rxhash for TCP packets.
>
It does, optionally. Someday I need to implement ->set_rxnfc to expose the
few available options but it's on by default.
--
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