This patch adds the support for LoongArch architecture. Meanwhile,
backports bugfixes for ixgbe driver needed by LoongArch, and removes
linking to i40e driver for LoongArch because it was not supported in
this version.
Signed-off-by: Min Zhou <zhoumin@loongson.cn>
(cherry picked from commit 53eeb4c6d07277ff13cd526606d63b08e02b8d38)
Sync some patchs from upstreaming about a segment fault for
testpmd app and a IMP reset trigger for hns3 pmd. Patchs are
as follow:
- ethdev: add API to check if queue is valid
- app/testpmd: fix segment fault with invalid queue ID
- net/hns3: fix IMP reset trigger
(cherry picked from commit 06e0b2741afcd87d686d24608ecb3c974ea83f6d)
Sync some patchs from upstreaming for hns3 pmd and modifies
are as follow:
1. fix RTC time after reset
2. fix Rx ring mbuf leakage at reset process
3. fix uninitialized variable
4. modify the code that violates the coding standards
(cherry picked from commit f98940e02a12dc752a60e786009ee44cb6b32132)
Sync some patchs from upstreaming for hns3 pmd and modifies
are as follow:
1. support flow control autoneg for fiber port
2. support simplify hardware checksum offloading
3. support dump media type
4. add Tx Rx descriptor logs
5. fix Rx multiple firmware reset interrupts
6. ethdev: fix one address occupies two entries in MAC addrs
(cherry picked from commit 2af7e093f8ec2ca13cf5b3f372c484b500e07aea)
Sync some patchs from upstreaming and modifies are as
follow:
1. The rte_kvargs_process() was used to parse KV pairs, it
also supports to parse 'only keys' type. And the callback
function parameter 'value' is NULL when parsed 'only keys'.
This patch fixes segment fault when parse input args with
'only keys'.
2. The MAP_FAILED should be used to determine whether the
mapping is successful but not NULL. This patch fix it.
(cherry picked from commit dfaed15bf9253e6b71dda7639806c0b265164a9e)
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.
(cherry picked from commit 9e45664c52b35caa057da6a442599e03f4527817)
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.
(cherry picked from commit cf2e60ea2545fa9c52a6778ad230e3d8dca703e3)
Patchs are as follow:
- test/mbuf: fix mbuf reset test
- examples/l3fwd-power: support CPPC cpufreq
(cherry picked from commit cf6fe7cb51e23e99db070af56b4a75bc041b9751)
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
(cherry picked from commit 651fc55df087a9855b899eea5e5fda45a1316893)
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