[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200226.111454.1070933318178678026.davem@davemloft.net>
Date: Wed, 26 Feb 2020 11:14:54 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: amritha.nambiar@...el.com
Cc: netdev@...r.kernel.org, alexander.h.duyck@...el.com,
sridhar.samudrala@...el.com, sergei.shtylyov@...entembedded.com
Subject: Re: [net PATCH v2] net: Fix Tx hash bound checking
From: Amritha Nambiar <amritha.nambiar@...el.com>
Date: Mon, 24 Feb 2020 10:56:00 -0800
> Fixes the lower and upper bounds when there are multiple TCs and
> traffic is on the the same TC on the same device.
>
> The lower bound is represented by 'qoffset' and the upper limit for
> hash value is 'qcount + qoffset'. This gives a clean Rx to Tx queue
> mapping when there are multiple TCs, as the queue indices for upper TCs
> will be offset by 'qoffset'.
>
> v2: Fixed commit description based on comments.
>
> Fixes: 1b837d489e06 ("net: Revoke export for __skb_tx_hash, update it to just be static skb_tx_hash")
> Fixes: eadec877ce9c ("net: Add support for subordinate traffic classes to netdev_pick_tx")
> Signed-off-by: Amritha Nambiar <amritha.nambiar@...el.com>
> Reviewed-by: Alexander Duyck <alexander.h.duyck@...ux.intel.com>
> Reviewed-by: Sridhar Samudrala <sridhar.samudrala@...el.com>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists