Sync some patchs from upstreaming for telemetry and modifies
are as follow:
1. Support dispaly integer as hexadecimal.
2. Fix data truncation for some u64 accept as int.
3. Add JSON pretty print.
Sync some patchs from upstreaming branch and modifies
are as follow:
1. Add private dump for bonding, virtio and vhost.
2. Support LACP info dump for bonding.
3. Display RSS hash key of flow rule in testpmd.
1. fix some RSS bugs and optimize RSS codes for hns3
2. reimplement hash flow function for hns3 to satisfy the mainstream usage of rte flow hash in the community
And patchs are as follows:
- net/hns3: fix burst mode query with dummy function
- net/hns3: add debug info for Rx/Tx dummy function
- net/hns3: remove debug condition for Tx prepare
- net/hns3: separate Tx prepare from getting Tx function
- net/hns3: make getting Tx function static
- net/hns3: extract common functions to set Rx/Tx
The sequence of reading current RTC time register doesn't meet
the hardware requirements, which causes this time obtained is
the one before modifying RTC time.
are as follows:
- net/bonding: fix Tx hash for TCP
- net/bonding: add link speeds configuration
- net/bonding: call Tx prepare before Tx burst
- net/bonding: fix MTU set for slaves
- app/testpmd: remove jumbo offload related code
Sync some patches for hns3 PMD, telemetry and testpmd. And main
modifications are as follows:
- backport some bugfixes for hns3
- revert Tx performance optimization for hns3
- add Rx/Tx descriptor dump feature for hns3
- refactor some RSS commands for testpmd
- add ethdev telemetry private dump
- add dmadev telemetry
- sync telemetry lib
Signed-off-by: Huisong Li <lihuisong@huawei.com>
According to RTE flow user guide, PMD will not keep flow rules after
port stop. Application resources that refer to flow rules become
obsolete after port stop and must not be used.
Testpmd maintains linked list of active flows for each port. Entries in
that list are allocated dynamically and must be explicitly released to
prevent memory leak.
The patch releases testpmd port flow_list that holds remaining flows
before port is stopped.
Signed-off-by: speech_white <humin29@huawei.com>
Since the patch '1848b117' has initialized the variable 'key' in
'struct rte_flow_action_rss' with 'NULL', the PMD cannot get the
RSS key now. Details as bellow:
testpmd> flow create 0 ingress pattern eth / ipv4 / end actions
rss types ipv4-other end key
1234567890123456789012345678901234567890FFFFFFFFFFFF123
4567890123456789012345678901234567890FFFFFFFFFFFF
queues end / end
Flow rule #1 created
testpmd> show port 0 rss-hash key
RSS functions:
all ipv4-other ip
RSS key:
4439796BB54C5023B675EA5B124F9F30B8A2C03DDFDC4D02A08C9B3
34AF64A4C05C6FA343958D8557D99583AE138C92E81150366
This patch sets offset and size of the 'key' variable as the first
parameter of the token 'key'. Later, the address of the RSS key will
be copied to 'key' variable.
Signed-off-by: speech_white <humin29@huawei.com>