[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200522.153236.595582419310375454.davem@davemloft.net>
Date: Fri, 22 May 2020 15:32:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: rmk+kernel@...linux.org.uk
Cc: maxime.chevallier@...tlin.com, kuba@...nel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH net] net: mvpp2: fix RX hashing for non-10G ports
From: Russell King <rmk+kernel@...linux.org.uk>
Date: Wed, 20 May 2020 12:26:35 +0100
> When rxhash is enabled on any ethernet port except the first in each CP
> block, traffic flow is prevented. The analysis is below:
...
> So, this patch attempts to solve the issue by clearing the
> MVPP2_CLS_SWFWD_PCTRL_MASK() bit, allowing MVPP22_CLS_C2_ATTR0_QHIGH()
> from the classifier to define the queue-high field of the queue number.
>
> My testing seems to confirm my findings above - clearing this bit
> means that if I enable rxhash on eth2, the interface can then pass
> traffic, as we are now directing traffic to RX queue 1 rather than
> queue 33. Traffic still seems to work with rxhash off as well.
>
> Reported-by: Matteo Croce <mcroce@...hat.com>
> Tested-by: Matteo Croce <mcroce@...hat.com>
> Fixes: 895586d5dc32 ("net: mvpp2: cls: Use RSS contexts to handle RSS tables")
> Signed-off-by: Russell King <rmk+kernel@...linux.org.uk>
Applied and queued up for -stable, thanks Russell.
Powered by blists - more mailing lists