summaryrefslogtreecommitdiff
path: root/lib/assoc_array.c
diff options
context:
space:
mode:
authorGuojia Liao <liaoguojia@huawei.com>2021-03-29 11:57:52 +0800
committerDavid S. Miller <davem@davemloft.net>2021-03-29 13:21:01 -0700
commit33a8f7649913e4aeda34bc1294302688112c9c56 (patch)
tree7339e8338cf44f105cc8254415fe751e8b87df14 /lib/assoc_array.c
parent811c0830eb4ca8811ed80fe40378f622b9844835 (diff)
net: hns3: expand the tc config command
The device HNAE3_DEVICE_VERSION_V3 supports up to 1280 queues and qsets for one function, so the bitwidth of tc_offset, meaning the tqps index, needs to expand from 10 bits to 11 bits. The device HNAE3_DEVICE_VERSION_V3 supports up to 512 queues on one TC. The tc_size, meaning the exponent with base 2 of queues supported on TC, which needs to expand 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>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions