net: hns3: adjust rss tc mode configure command
authorGuojia Liao <liaoguojia@huawei.com>
Thu, 10 Dec 2020 03:42:12 +0000 (11:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2020 04:33:20 +0000 (20:33 -0800)
commitcdab7c9779709755de90b9d017df2682f797e2bb
tree70e9754e903f06867ab20cafe30fb80c509141c3
parent8eeb1f4bce68e91dea52d1832b89fed3a984cb58
net: hns3: adjust rss tc mode configure command

For the max rss size of PF may be up to 512, the max queue
number of single tc may be up to 512 too. For the total queue
numbers may be up to 1280, so the queue offset of each tc may
be more than 1024. So adjust the rss tc mode configuration
command, including extend tc size field from 10 bits to 11
bits, and extend tc size field from 3 bits to 4 bits.

Signed-off-by: Guojia Liao <liaoguojia@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_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c