Re: [PATCH net] sfc: check hash is valid before using it

2020-08-18 Thread Martin Habets
Hi Ed, On Fri, Aug 14, 2020 at 01:26:22PM +0100, Edward Cree wrote: > On EF100, the RX hash field in the packet prefix may not be valid (e.g. > if the header parse failed), and this is indicated by a one-bit flag > elsewhere in the packet prefix. Only call skb_set_hash() if the > RSS_HASH_VALI

Re: [PATCH net] sfc: check hash is valid before using it

2020-08-14 Thread David Miller
From: Edward Cree Date: Fri, 14 Aug 2020 13:26:22 +0100 > On EF100, the RX hash field in the packet prefix may not be valid (e.g. > if the header parse failed), and this is indicated by a one-bit flag > elsewhere in the packet prefix. Only call skb_set_hash() if the > RSS_HASH_VALID bit is se

[PATCH net] sfc: check hash is valid before using it

2020-08-14 Thread Edward Cree
On EF100, the RX hash field in the packet prefix may not be valid (e.g. if the header parse failed), and this is indicated by a one-bit flag elsewhere in the packet prefix. Only call skb_set_hash() if the RSS_HASH_VALID bit is set. Signed-off-by: Edward Cree --- drivers/net/ethernet/sfc/ef10