net: hns3: adjust rss indirection table configure command
authorGuojia Liao <liaoguojia@huawei.com>
Thu, 10 Dec 2020 03:42:11 +0000 (11:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2020 04:33:20 +0000 (20:33 -0800)
commit8eeb1f4bce68e91dea52d1832b89fed3a984cb58
tree57b655cd431f07a033991f0e35c1739ec48147da
parentf1c2e66d7f38cb1e919bd594af4ad4a9ae8344cc
net: hns3: adjust rss indirection table configure command

For the max rss size of PF may be up to 512, so adjust the
command of configuring rss indirection table to support
queue id larger than 255. The width of queue id is extended
from 8 bits to 10 bits. The high 2 bits are stored in filed
rss_qid_h when the queue id is larger than 255.

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