numam-dpdk/drivers/net/hns3
Huisong Li 9a7d3af22c net/hns3: expand number of queues for one TC up to 512
The maximum number of queues for one TC hns3 PF PMD driver supported is
64 based on hns3 network engine with revision_id equals 0x21, while it
is expanded up to 512 on hns3 network engine with revision_id equals
0x30.

So the following points need to be modified to maintain better
compatibility.
1) Using a extended rss_size_max field as the maximum queue number of
   one TC PF driver supported.
2) The data type of the RSS redirection table needs to be changed from
   uint8_t to uint16_t.
3) rss_tc_mode modification
   The bitwidth of tc_offset, meaning the rx queue index, has to expand
   from 10 bit to 11 bits. The tc_size, meaning the exponent with base 2
   of queues supported on TC, needs to expand from 3 bits to 4 bits.
4) RSS indirection table modification
   Currently, a field with 7 bits width is used to record the queue
   index for RSS indirection table. It means that PF needs to expand the
   queue index field to 9 bits. As the RSS indirection table config
   command reserved 4 bytes to configure the RSS queue index, a extern
   field can be added. So an entries of RSS indirection table queue
   index has two fields to set: rss_result_l and rss_result_h, while
   rss_result_l records the lower 8 bits and rss_result_h records the
   higher 1 bit.

In addition, 2~4 modifications is also compatible with hns3 VF PMD
driver.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
2020-10-08 19:58:10 +02:00
..
hns3_cmd.c net/hns3: support flow action of queue region 2020-09-30 19:19:11 +02:00
hns3_cmd.h net/hns3: expand number of queues for one TC up to 512 2020-10-08 19:58:10 +02:00
hns3_dcb.c net/hns3: get device specifications from firmware 2020-09-18 18:55:07 +02:00
hns3_dcb.h net/hns3: fix some incomplete command structures 2020-09-18 18:55:07 +02:00
hns3_ethdev_vf.c ethdev: remove old close behaviour 2020-09-30 19:19:14 +02:00
hns3_ethdev.c net/hns3: expand number of queues for one TC up to 512 2020-10-08 19:58:10 +02:00
hns3_ethdev.h net/hns3: expand number of queues for one TC up to 512 2020-10-08 19:58:10 +02:00
hns3_fdir.c net/hns3: expand number of queues for one TC up to 512 2020-10-08 19:58:10 +02:00
hns3_fdir.h net/hns3: support flow action of queue region 2020-09-30 19:19:11 +02:00
hns3_flow.c net/hns3: expand number of queues for one TC up to 512 2020-10-08 19:58:10 +02:00
hns3_intr.c net/hns3: add more hardware error types 2020-09-18 18:55:07 +02:00
hns3_intr.h net/hns3: add more hardware error types 2020-09-18 18:55:07 +02:00
hns3_logs.h
hns3_mbx.c net/hns3: add VLAN configuration compatibility 2020-09-30 19:19:10 +02:00
hns3_mbx.h
hns3_mp.c
hns3_mp.h
hns3_regs.c
hns3_regs.h net/hns3: add more hardware error types 2020-09-18 18:55:07 +02:00
hns3_rss.c net/hns3: expand number of queues for one TC up to 512 2020-10-08 19:58:10 +02:00
hns3_rss.h net/hns3: expand number of queues for one TC up to 512 2020-10-08 19:58:10 +02:00
hns3_rxtx_vec_neon.h net/hns3: support NEON Rx 2020-09-21 18:05:38 +02:00
hns3_rxtx_vec.c net/hns3: support NEON Rx 2020-09-21 18:05:38 +02:00
hns3_rxtx_vec.h net/hns3: support NEON Rx 2020-09-21 18:05:38 +02:00
hns3_rxtx.c net/hns3: add TSO pseudo header calculation compatibility 2020-09-30 19:19:10 +02:00
hns3_rxtx.h net/hns3: add TSO pseudo header calculation compatibility 2020-09-30 19:19:10 +02:00
hns3_stats.c net/hns3: break loop in adding error stats 2020-09-30 19:19:11 +02:00
hns3_stats.h net/hns3: add more hardware error types 2020-09-18 18:55:07 +02:00
meson.build net/hns3: support NEON Tx 2020-09-21 18:05:38 +02:00
rte_pmd_hns3_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00