On 4/6/2022 10:22 AM, Min Hu (Connor) wrote:
From: Huisong Li <[email protected]>
Currently, hns3 PMD disable RSS by resetting redirection table when user
set rss_hf to 0 so as to all packets go to queue 0. The implementation may
cause following problems:
1) the same type packet may go to different queue on the case of disableing
typo, disabling
all tuples and partial tuples. The problem is determined by hardware
design.
2) affect the configuration of redirection table and user experience.
For hns3 hardware, the packets with RSS disabled are always go to the queue
corresponding to first entry of the redirection table. Genernally, disable
typo, generally
RSS should be implemented by disabling all tuples, This patch fix the
implementation.
ack
Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: [email protected]
Signed-off-by: Huisong Li <[email protected]>
Signed-off-by: Min Hu (Connor) <[email protected]>
<...>