]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove the rss_size limitation by vector num
authorJian Shen <shenjian15@huawei.com>
Mon, 29 Mar 2021 03:57:48 +0000 (11:57 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 20:21:00 +0000 (13:21 -0700)
commitbb555f51d5c66de919bfe8c0c417e4fb7f5a6f3a
tree99dbf5c523517bac14caf9066892c22bd280dfc8
parent315198a9572299e4b33521c2b4af17d1ff2cfb7e
net: hns3: remove the rss_size limitation by vector num

Currently, if user hasn't change channel number, the rss_size
is limited to be no more than the vector number, in order to
keep one vector only being mapped to one queue. But the queue
number of each tc can be different, and one vector also can
be mapped by multiple queues. So remove this limitation.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c