numam-dpdk/drivers
Chengwen Feng fb5e906940 net/hns3: support Rx descriptor advanced layout
Currently, the driver get packet type by parse the
L3_ID/L4_ID/OL3_ID/OL4_ID from Rx descriptor and then lookup multiple
tables, it's time consuming.

Now Kunpeng930 support advanced RXD layout, which:
1. Combine OL3_ID/OL4_ID to 8bit PTYPE filed, so the driver get packet
   type by lookup only one table.  Note: L3_ID/L4_ID become reserved
   fields.
2. The 1588 timestamp located at Rx descriptor instead of query from
   firmware.
3. The L3E/L4E/OL3E/OL4E will be zero when L3L4P is zero, so driver
   could optimize the good checksum calculations (when L3E/L4E is zero
   then mark PKT_RX_IP_CKSUM_GOOD/PKT_RX_L4_CKSUM_GOOD).

Considering compatibility, the firmware will report capability of
RXD advanced layout, the driver will identify and enable it by default.

This patch only provides basic function: identify and enable the RXD
advanced layout, and lookup ptype table if supported.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
2021-03-04 15:07:14 +01:00
..
baseband config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
bus net/dpaa: support Rx buffer size 2021-02-24 18:03:30 +01:00
common common/mlx5: add DevX commands for queue counters 2021-03-03 17:27:19 +01:00
compress compress/mlx5: fix asserts 2021-02-04 18:56:15 +01:00
crypto crypto/octeontx2: fix null pointer dereferences 2021-02-04 18:55:52 +01:00
event mbuf: rename outer IP checksum macro 2021-03-02 10:57:28 +01:00
mempool net/dpaa: prevent multiple mempool config 2021-02-24 18:03:30 +01:00
net net/hns3: support Rx descriptor advanced layout 2021-03-04 15:07:14 +01:00
raw raw/octeontx2_ep: change PCI device ID 2021-01-29 18:16:12 +01:00
regex config: remove compatibility build defines 2021-01-20 01:43:25 +01:00
vdpa vdpa/mlx5: fix polling threads scheduling 2021-02-10 22:17:47 +01:00
meson.build build: enable pmdinfogen for Windows 2021-01-25 23:24:38 +01:00