[PATCH] bus/pci: fix device ID print

2023-09-13 Thread Qiming Yang
This patch fixes the issue where device id first 0 does not print. Fixes: e4f27af0f448 ("bus/pci: reduce boot-up logs to absolute minimum") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- drivers/bus/pci/pci_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH] net/ice: fix initail link status issue

2023-09-13 Thread Qiming Yang
This patch fixed the issue which the link status still up when the link status changed from up to downi after device restart. Fixes: fdcf92ed6637 ("net/ice: fix link status recovery") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- drivers/net/ice/ice_ethdev.c | 2 ++ 1 file

[PATCH v2] doc: update matching versions in i40e guide

2022-05-09 Thread Qiming Yang
Add recommended matching list for i40e PMD in DPDK 21.05, 21.08, 21.11 and 22.03. And add a known issue when FW upgrade to a version higher than 8.4. Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- v2: * added known issue in FW 8.4+ --- doc/guides/nics/i40e.rst | 23

[PATCH] net/iavf: fix mask not allowed issue

2022-05-15 Thread Qiming Yang
Only zero-mask and full-mask for IPv4/UDP/TCP/SCTP addr/port are supported in current code. Otherwise will return failure when parse pattern. Fixes: d5eb3e600d9e ("net/iavf: support flow director basic rule") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- drivers/net/iavf/iavf_fd

[PATCH v3] doc: update matching versions in i40e guide

2022-05-15 Thread Qiming Yang
Add recommended matching list for i40e PMD in DPDK 21.05, 21.08, 21.11 and 22.03. And add a known issue when FW upgrade to a version higher than 8.4. Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- v2: * added known issue in FW 8.4+ v3: * updated x722 FW version --- doc/guides/nics/i40e.rst

[PATCH] net/iavf: fix queue start exception handle

2022-05-18 Thread Qiming Yang
When queue start fail, started queues should be cleared. Fixes: 69dd4c3d0898 ("net/avf: enable queue and device") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- drivers/net/iavf/iavf_ethdev.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-)

[PATCH] net/igc: add I226 support

2022-05-18 Thread Qiming Yang
Added I226 Series device ID in igc driver and updated igc guide doc for new devices. Signed-off-by: Qiming Yang Signed-off-by: Kevin Liu --- doc/guides/nics/igc.rst| 14 +++--- doc/guides/rel_notes/release_22_03.rst | 5 + drivers/net/igc/base/igc_api.c

[PATCH] net/igc: add I226 support

2022-05-18 Thread Qiming Yang
Added I226 Series device ID in igc driver and updated igc guide document for new devices. Signed-off-by: Qiming Yang Signed-off-by: Kevin Liu --- doc/guides/nics/igc.rst| 14 +++--- doc/guides/rel_notes/release_22_03.rst | 5 + drivers/net/igc/base/igc_api.c

[PATCH v4] doc: update matching versions in i40e guide

2022-05-20 Thread Qiming Yang
Add recommended matching list for i40e PMD in DPDK 21.05, 21.08, 21.11 and 22.03. And add a known issue when FW upgrade to a version higher than 8.4. Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- v2: * added known issue in FW 8.4+ v3: * updated x722 FW version v4: * minor express change

[PATCH v2] net/igc: add I226 support

2022-05-24 Thread Qiming Yang
Added I226 Series device ID in igc driver and updated igc guide document for new devices. Signed-off-by: Qiming Yang Signed-off-by: Kevin Liu --- v2: * rebased --- doc/guides/nics/igc.rst| 14 +++--- doc/guides/rel_notes/release_22_03.rst | 5 + drivers/net/igc

[PATCH] net/iavf: increase the reset complete wait count

2022-05-26 Thread Qiming Yang
Kernel iavf driver has sent patch to increase the completion wait time to reduce the "Reset never finished" case. Follow this action in DPDK iavf driver. Fixes: 22b123a36d07 ("net/avf: initialize PMD") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- drivers/net/iavf/i

[PATCH v2] net/iavf: increase the reset complete wait count

2022-05-29 Thread Qiming Yang
initialize PMD") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- * v2: add kernel patch reference in commit log --- drivers/net/iavf/iavf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/iavf/iavf.h b/drivers/net/iavf/iavf.h index f1c2daa06e..025ab3ff60 100644

[PATCH 13/30] net/ice/base: add function to get rxq context

2023-04-26 Thread Qiming Yang
This patch exports rxq context which is consumed by linux linve migration driver to save device state. Signed-off-by: Yahui Cao Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 75 +++ drivers/net/ice/base/ice_common.h | 7 ++- 2 files changed, 71

[PATCH 15/30] net/ice/base: allow skip main timer

2023-04-26 Thread Qiming Yang
Allow initialization functions to skip main timer programming. Signed-off-by: Sergey Temerkhanov Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_ptp_hw.c | 32 --- drivers/net/ice/base/ice_ptp_hw.h | 9 ++--- drivers/net/ice/ice_ethdev.c | 2 +- 3

[PATCH 14/30] net/ice/base: removed no need 56G releated code

2023-04-26 Thread Qiming Yang
As 56G related code is no need, delete unnecessary code. Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_ptp_hw.c | 1396 - drivers/net/ice/base/ice_ptp_hw.h | 38 - 2 files changed, 1434 deletions(-) diff --git a/drivers/net/ice/base/ice_ptp_hw.c b

[PATCH 17/30] net/ice/base: add C825X device support

2023-04-26 Thread Qiming Yang
Use ICE_MAC_GENERIC_3K type for C825X devices and fix E825X name to C825X. Signed-off-by: Grzegorz Nitka Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 13 + drivers/net/ice/base/ice_ddp.c| 8 +++- drivers/net/ice/base/ice_ddp.h| 1 + drivers/net

[PATCH 16/30] net/ice/base: add E830 PTP init

2023-04-26 Thread Qiming Yang
The E830, E822 and E810 PTP initialization flows are similar. So related fix are also added. Signed-off-by: Paul Greenwalt Signed-off-by: Sergey Temerkhanov Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_ptp_hw.c | 295 +++--- drivers/net/ice/base/ice_ptp_hw.h

[PATCH 18/30] net/ice/base: add VLAN TPID in switchdev

2023-04-26 Thread Qiming Yang
Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_protocol_type.h | 6 +++- drivers/net/ice/base/ice_switch.c| 42 ++-- drivers/net/ice/base/ice_switch.h| 1 + 3 files changed, 38 insertions(+), 11 deletions(-) diff --git a/drivers/net/ice/base

[PATCH 19/30] net/ice/base: reduce time to read Option ROM CIVD

2023-04-26 Thread Qiming Yang
VD section from ~10 seconds down to ~1 second. This has a significant impact on the total time to complete a driver rebuild or probe. Signed-off-by: Jacob Keller Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_nvm.c | 54 +- 1 file changed, 40 inserti

[PATCH 20/30] net/ice/base: add L2TPv3 support for adv rules

2023-04-26 Thread Qiming Yang
This patch unwraps L2TPv3 dummy packet, date structures and defines from DPDK_SUPPORT. Signed-off-by: Wojciech Drewek Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_nvm.h | 1 - drivers/net/ice/base/ice_protocol_type.h | 5 +- drivers/net/ice/base/ice_switch.c

[PATCH 21/30] net/ice/base: add PHY OFFSET READY register clear

2023-04-26 Thread Qiming Yang
Add a possibility to mark all transmitted/received timestamps as invalid by clearing PHY OFFSET_READY registers. Signed-off-by: Karol Kolacinski Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 4 + drivers/net/ice/base/ice_ptp_hw.c | 126

[PATCH 23/30] net/ice/base: change method to get pca9575 handle

2023-04-26 Thread Qiming Yang
Olech Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 12 ++- drivers/net/ice/base/ice_ptp_hw.c | 125 ++ 2 files changed, 120 insertions(+), 17 deletions(-) diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base

[PATCH 22/30] net/ice/base: return CGU PLL config function params

2023-04-26 Thread Qiming Yang
Change params in ice_cfg_cgu_pll_e822 to pointers to return real values of frequency and clock source. Remove static from frequency and clock source conversion functions. Signed-off-by: Karol Kolacinski Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_ptp_hw.c | 39

[PATCH 24/30] net/ice/base: cleanup timestamp registers correct

2023-04-26 Thread Qiming Yang
continue to do so. Add a note to indicate this function should only be called on timestamps which have their valid bit set. Signed-off-by: Karol Kolacinski Signed-off-by: Jacob Keller Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_ptp_hw.c | 54 ++- 1 file

[PATCH 25/30] net/ice/base: add PPPoE hardware offload

2023-04-26 Thread Qiming Yang
Add support for creating PPPoE filters in switchdev mode. Add support for parsing PPPoE and PPP-specific tc options: pppoe_sid and ppp_proto. Signed-off-by: Marcin Szycik Signed-off-by: Lukasz Plachno Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_switch.c | 82

[PATCH 26/30] net/ice/base: remove bypass mode

2023-04-26 Thread Qiming Yang
Previous implementation switches between bypass and Vernier mode dynamically. However bypass mode should be removed due to low precision. Signed-off-by: Milena Olech Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_ptp_hw.c | 46 ++- drivers/net/ice/base

[PATCH 28/30] net/ice/base: use const array to store link modes

2023-04-26 Thread Qiming Yang
Change suggested during review on E1000 mailing list. Implementation moves 1,5k of .text to .rodata Signed-off-by: Lukasz Plachno Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 135 +++--- 1 file changed, 30 insertions(+), 105 deletions(-) diff

[PATCH 27/30] net/ice/base: support inner etype in switchdev

2023-04-26 Thread Qiming Yang
Enable support for adding TC rules that filter on the inner EtherType field of tunneled packet headers. Signed-off-by: Martyna Szapar-Mudlaw Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_switch.c | 32 --- 1 file changed, 21 insertions(+), 11 deletions

[PATCH 29/30] net/ice/base: introduce a new ID for E810 NIC

2023-04-26 Thread Qiming Yang
Signed-off-by: Milena Olech Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 4 ++-- drivers/net/ice/base/ice_common.c | 1 + drivers/net/ice/base/ice_devids.h | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/ice/base

[PATCH 30/30] net/ice/base: fix Generic Checksum acronym

2023-04-26 Thread Qiming Yang
Fixes: c31095a0b20f ("net/ice/base: add GCO defines and GCO flex descriptor") Cc: sta...@dpdk.org Signed-off-by: Paul Greenwalt Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c| 2 +- drivers/net/ice/base/ice_lan_tx_rx.h | 15 --- 2 files changed, 9

[PATCH] net/e1000/base: add new devices

2023-05-16 Thread Qiming Yang
Added new device ids for I219 NIC. Signed-off-by: Nir Efrati Signed-off-by: Qiming Yang --- drivers/net/e1000/base/e1000_api.c | 5 + drivers/net/e1000/base/e1000_hw.h | 4 2 files changed, 9 insertions(+) diff --git a/drivers/net/e1000/base/e1000_api.c b/drivers/net/e1000/base

[PATCH v2] net/e1000/base: add new devices

2023-05-17 Thread Qiming Yang
Added new device ids for I219 NIC. Signed-off-by: Nir Efrati Signed-off-by: Qiming Yang --- drivers/net/e1000/base/e1000_api.c | 6 ++ drivers/net/e1000/base/e1000_hw.h | 5 + 2 files changed, 11 insertions(+) diff --git a/drivers/net/e1000/base/e1000_api.c b/drivers/net/e1000/base

[PATCH v2 00/20] net/ice/base: code update

2023-05-18 Thread Qiming Yang
Updated share code to 2023.02 version. Qiming Yang (20): net/ice/base: updated copyright net/ice/base: add NAC Topology device capability parser net/ice/base: add new device for E810 net/ice/base: fix incorrect defines for DCBx net/ice/base: introduce a non-atomic function net/ice

[PATCH v2 01/20] net/ice/base: updated copyright

2023-05-18 Thread Qiming Yang
Updated copyright to 2023. Signed-off-by: Qiming Yang --- drivers/net/ice/base/README | 2 +- drivers/net/ice/base/ice_acl.c | 2 +- drivers/net/ice/base/ice_acl.h | 2 +- drivers/net/ice/base/ice_acl_ctrl.c | 2 +- drivers/net/ice/base/ice_adminq_cmd.h

[PATCH v2 02/20] net/ice/base: add NAC Topology device capability parser

2023-05-18 Thread Qiming Yang
Define and add parsing support for new device capability ICE_AQC_CAPS_NAC_TOPOLOGY. Signed-off-by: Grzegorz Nitka Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 26 ++ drivers/net/ice/base/ice_type.h | 10 ++ 2 files changed, 36 insertions

[PATCH v2 03/20] net/ice/base: add new device for E810

2023-05-18 Thread Qiming Yang
New subsystem ID is introduced for E810 NIC Signed-off-by: Milena Olech Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 1 + drivers/net/ice/base/ice_devids.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base

[PATCH v2 04/20] net/ice/base: fix incorrect defines for DCBx

2023-05-18 Thread Qiming Yang
the rest of the kernel. Fixes: 97e32e8d4870 ("net/ice/base: complete pending LLDP MIB") Signed-off-by: Dave Ertman Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ice/base/ice_ad

[PATCH v2 05/20] net/ice/base: introduce a non-atomic function

2023-05-18 Thread Qiming Yang
ction ice_set_recipe_index to replace ice_set_bit in this specific case. Signed-off-by: Wojciech Drewek Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_bitops.h | 7 +++ drivers/net/ice/base/ice_switch.c | 19 +++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --

[PATCH v2 06/20] net/ice/base: add missing AQ flag to AQ command

2023-05-18 Thread Qiming Yang
The RD flag needs to be set when virtual port rules are added since the FW needs to read the additional buffer with the mirror rule parameters. Signed-off-by: Eric Joyner Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_switch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a

[PATCH v2 07/20] net/ice/base: add support for inner etype in switchdev

2023-05-18 Thread Qiming Yang
Enable support for adding TC rules that filter on the inner EtherType field of tunneled packet headers. Signed-off-by: Martyna Szapar-Mudlaw Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_protocol_type.h | 2 + drivers/net/ice/base/ice_switch.c| 270

[PATCH v2 08/20] net/ice/base: add support for PPPoE hardware offload

2023-05-18 Thread Qiming Yang
Add support for creating PPPoE filters in switchdev mode. Add support for parsing PPPoE and PPP-specific tc options: pppoe_sid and ppp_proto. Signed-off-by: Marcin Szycik Signed-off-by: Lukasz Plachno Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_bitops.h | 2 +- drivers/net/ice

[PATCH v2 09/20] net/ice/base: remove direction metadata for switchdev

2023-05-18 Thread Qiming Yang
dd a field add_dir_lkup to ice_adv_rule_info struct (will be set in CORE before calling ice_add_adv_rule()). Signed-off-by: Marcin Szycik Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_switch.c | 20 +--- drivers/net/ice/base/ice_switch.h | 1 + 2 files changed, 14 insert

[PATCH v2 10/20] net/ice/base: reduce time to read Option data

2023-05-18 Thread Qiming Yang
Re-write ice_get_orom_civd_data to allocate memory to store the Option ROM data. This change significantly reduces the time to read the Option ROM CIVD section from ~10 seconds down to ~1 second. Signed-off-by: Jacob Keller Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_nvm.c | 50

[PATCH v2 11/20] net/ice/base: add support for VLAN TPID filters

2023-05-18 Thread Qiming Yang
Enable support for adding TC rules that filter on the VLAN tag type in switchdev mode. Signed-off-by: Martyna Szapar-Mudlaw Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_protocol_type.h | 6 ++- drivers/net/ice/base/ice_switch.c| 59 ++-- drivers/net/ice

[PATCH v2 12/20] net/ice/base: add C825-X device ID

2023-05-18 Thread Qiming Yang
Add the device ID for the Intel(R) Ethernet Connection C825-X. Signed-off-by: Grzegorz Nitka Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 6 +++--- drivers/net/ice/base/ice_devids.h | 7 ++- drivers/net/ice/base/ice_type.h | 1 + drivers/net/ice/ice_ethdev.c

[PATCH v2 13/20] net/ice/base: add function to get rxq context

2023-05-18 Thread Qiming Yang
This patch exports rxq context which is consumed by linux live migration driver to save device state. Signed-off-by: Yahui Cao Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 67 --- drivers/net/ice/base/ice_common.h | 7 +++- 2 files changed, 67

[PATCH v2 14/20] net/ice/base: modify tunnel match mask

2023-05-18 Thread Qiming Yang
Tunneled packets with VLAN inside were not detected by filter. This patch fix it by modifying tunnel flag match mask. As a result both type of packets (tunneled VLAN, tunneled non-VLAN) will be detected by filter. Signed-off-by: Marcin Domagala Signed-off-by: Qiming Yang --- drivers/net/ice

[PATCH v2 15/20] net/ice/base: check VSIG before disassociating VSI

2023-05-18 Thread Qiming Yang
Add checking if the VSIG group exists when iterating through all flow profiles and disassociating them from the VSI. Signed-off-by: Benjamin Mikailenko Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_flow.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git

[PATCH v2 16/20] net/ice/base: delete get field vector function

2023-05-18 Thread Qiming Yang
Currently ice_get_fv() is only used inside ice_get_sw_fv_list(). Remove ice_get_fv() and call ice_get_sw_fv_list() directly. Signed-off-by: Marcin Szycik Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_ddp.c| 3 +++ drivers/net/ice/base/ice_switch.c | 23 ++- 2

[PATCH v2 17/20] net/ice/base: update 3k-sign DDP support for E825C

2023-05-18 Thread Qiming Yang
The original DDP specification has been changed in terms of Signature Type ID definition for E825-C. Signed-off-by: Grzegorz Nitka Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 3 ++- drivers/net/ice/base/ice_ddp.c| 4 drivers/net/ice/base/ice_ddp.h| 1 + 3

[PATCH v2 18/20] net/ice/base: fix static analyzer bug

2023-05-18 Thread Qiming Yang
y: Vignesh Sridhar Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_sched.c | 16 ++-- drivers/net/ice/base/ice_sched.h | 5 + 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/drivers/net/ice/base/ice_sched.c b/drivers/net/ice/base/ice_sched.c index

[PATCH v2 19/20] net/ice/base: offer memory config for schedual node

2023-05-18 Thread Qiming Yang
Add an option to pre-allocate memory for ice_sched_node struct. Add new arguments to ice_sched_add() and ice_sched_add_elems() that allow for pre-allocation of memory for ice_sched_node struct. Signed-off-by: Michal Wilczynski Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c

[PATCH v2 20/20] net/ice/base: add new AQ ro read HW sensors

2023-05-18 Thread Qiming Yang
by: Marcin Domagala Signed-off-by: Eric Joyner Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 29 + drivers/net/ice/base/ice_common.c | 36 +++ drivers/net/ice/base/ice_common.h | 4 +++ 3 files changed, 69 insertion

[PATCH] net/igc: support device I225-LMVP

2023-05-26 Thread Qiming Yang
Add support for I225-LMVP device. Signed-off-by: Qiming Yang --- drivers/net/igc/base/igc_api.c | 1 + drivers/net/igc/base/igc_hw.h | 1 + drivers/net/igc/igc_ethdev.c | 1 + 3 files changed, 3 insertions(+) diff --git a/drivers/net/igc/base/igc_api.c b/drivers/net/igc/base/igc_api.c index

[PATCH] net/e1000: support device I219

2023-05-30 Thread Qiming Yang
support device I219 LM22, V22, LM23 and V23. Signed-off-by: Qiming Yang --- drivers/net/e1000/em_ethdev.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 8ee9be12ad..0afedcd00c 100644 --- a

[PATCH] net/ice: support FEC feature

2023-12-10 Thread Qiming Yang
This patch enable three FEC related ops in ice driver. As no speed information can get from HW, this patch only show FEC capability. Signed-off-by: Qiming Yang --- drivers/net/ice/ice_ethdev.c | 175 +++ 1 file changed, 175 insertions(+) diff --git a/drivers/net

[PATCH] net/i40e: support FEC feature

2023-12-20 Thread Qiming Yang
This patch enabled FEC set and get functions. Signed-off-by: Qiming Yang --- drivers/net/i40e/i40e_ethdev.c | 183 + 1 file changed, 183 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 3ca226156b..1eb49176d1

[RFC] net/ice: add E830 support

2024-01-03 Thread Qiming Yang
Add E830 device ids. Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 33 --- drivers/net/ice/base/ice_ddp.c| 6 + drivers/net/ice/base/ice_ddp.h| 1 + drivers/net/ice/base/ice_devids.h | 8 +++ drivers/net/ice/base

[PATCH] maintainers: updated for Intel drivers

2024-01-16 Thread qiming . yang
From: Qiming Yang Remove the maintainer that no longer work. Signed-off-by: Qiming Yang --- MAINTAINERS | 2 -- 1 file changed, 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 0d1c8126e3..230549ca94 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -749,7 +749,6 @@ F: doc/guides/nics

[PATCH] net/i40e: add new X722 device

2023-08-08 Thread Qiming Yang
Supported new X722 device. Signed-off-by: Qiming Yang --- doc/guides/rel_notes/release_23_11.rst | 3 +++ drivers/net/i40e/base/i40e_common.c| 5 + drivers/net/i40e/base/i40e_devids.h| 2 ++ drivers/net/i40e/i40e_ethdev.c | 2 ++ 4 files changed, 12 insertions(+) diff --git

[PATCH] doc: update 23.07 Intel NICs matching list

2023-08-20 Thread Qiming Yang
Updated i40e and ice match list table. Signed-off-by: Qiming Yang --- doc/guides/nics/i40e.rst | 4 doc/guides/nics/ice.rst | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index 1f5ac25c27..791e9553bc 100644 --- a

[PATCH] net/i40e: updated 23.03 recommended matching list

2023-04-18 Thread Qiming Yang
Signed-off-by: Qiming Yang --- doc/guides/nics/i40e.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index 7447af1be4..1f5ac25c27 100644 --- a/doc/guides/nics/i40e.rst +++ b/doc/guides/nics/i40e.rst @@ -101,6 +101,8 @@ For X710/XL710

[PATCH] net/ice: updated 23.03 recommended matching list

2023-04-18 Thread Qiming Yang
Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index bcc1cab491..c351c6bd74 100644 --- a/doc/guides/nics/ice.rst +++ b/doc/guides/nics/ice.rst @@ -68,6 +68,8 @@ The detailed

[PATCH 00/30] net/ice/base: share code update

2023-04-26 Thread Qiming Yang
Updated share code to 2023.03 version. Qiming Yang (30): net/ice/base: updated copyright net/ice/base: add flex array safe allocations net/ice/base: remove unnecessary control queue array net/ice/base: update flow seg fields to declared bitmaps net/ice/base: clean up RSS LUT and fix

[PATCH 01/30] net/ice/base: updated copyright

2023-04-26 Thread Qiming Yang
Updated copyright to 2023. Signed-off-by: Qiming Yang --- drivers/net/ice/base/README | 2 +- drivers/net/ice/base/ice_acl.c | 2 +- drivers/net/ice/base/ice_acl.h | 2 +- drivers/net/ice/base/ice_acl_ctrl.c | 2 +- drivers/net/ice/base/ice_adminq_cmd.h

[PATCH 02/30] net/ice/base: add flex array safe allocations

2023-04-26 Thread Qiming Yang
macros to compute size of flexible arrays. These macros are just as well converted to plain code that does struct_size. Signed-off-by: Jesse Brandeburg Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 57 +++--- drivers/net/ice/base/ice_switch.c | 265

[PATCH 03/30] net/ice/base: remove unnecessary control queue array

2023-04-26 Thread Qiming Yang
The driver allocates a cmd_buf array in addition to the desc_buf array. This array stores an ice_sq_cd command details structure for each entry in the control queue ring. And improve debug print for control queue messages. Signed-off-by: Jacob Keller Signed-off-by: Qiming Yang --- drivers/net

[PATCH 04/30] net/ice/base: update flow seg fields to declared bitmaps

2023-04-26 Thread Qiming Yang
Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_flow.c | 74 +++-- drivers/net/ice/base/ice_flow.h | 6 ++- 2 files changed, 56 insertions(+), 24 deletions(-) diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c index 5254ee27ed

[PATCH 05/30] net/ice/base: clean up RSS LUT and fix media type

2023-04-26 Thread Qiming Yang
n up code. - fix get media type and add the media type ICE_MEDIA_NONE. Signed-off-by: Paul Greenwalt Signed-off-by: Przemek Kitszel Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 30 ++- drivers/net/ice/base/ice_common.c | 366 +++--- drivers/net

[PATCH 06/30] net/ice/base: add ability to set markid via switch filter

2023-04-26 Thread Qiming Yang
FDIR will have conflict with the same profile id. So we could chose switch to set markid. Signed-off-by: Zhirun Yan Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c | 17 ++- drivers/net/ice/base/ice_sched.c | 2 +- drivers/net/ice/base/ice_switch.c | 48

[PATCH 07/30] net/ice/base: add reading cap and ropo cap

2023-04-26 Thread Qiming Yang
Signed-off-by: Grzegorz Nitka Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 1 + drivers/net/ice/base/ice_common.c | 49 +++ drivers/net/ice/base/ice_type.h | 13 +++ 3 files changed, 63 insertions(+) diff --git a/drivers/net/ice

[PATCH 08/30] net/ice/base: add function to read HW sensors

2023-04-26 Thread Qiming Yang
Adds new helper function to read from HW sensors via a new AQ command "Get Sensor Reading (0x0632)". Signed-off-by: Martion Domagala Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h | 29 + drivers/net/ice/base/ice_common.

[PATCH 09/30] net/ice/base: add pre-allocate memory argument

2023-04-26 Thread Qiming Yang
Add an option to pre-allocate memory for ice_sched_node struct. Add new arguments to ice_sched_add() and ice_sched_add_elems() that allow for pre-allocation of memory for ice_sched_node struct Signed-off-by: Michal Wilczynski Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_adminq_cmd.h

[PATCH 10/30] net/ice/base: use coccinelle to instead macro

2023-04-26 Thread Qiming Yang
: Qiming Yang --- drivers/net/ice/base/ice_common.c| 74 drivers/net/ice/base/ice_common.h| 8 +++ drivers/net/ice/base/ice_ddp.c | 3 ++ drivers/net/ice/base/ice_flow.h | 1 + drivers/net/ice/base/ice_lan_tx_rx.h | 1 - drivers/net/ice/base

[PATCH 11/30] net/ice/base: add new fls function

2023-04-26 Thread Qiming Yang
Add a new function called ice_fls() and merged some code clean. Signed-off-by: Jesse Brandeburg Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c| 40 ++-- drivers/net/ice/base/ice_common.h| 1 + drivers/net/ice/base/ice_protocol_type.h | 11

[PATCH 12/30] net/ice/base: add E830 device ids

2023-04-26 Thread Qiming Yang
Added new E830 device id and related registers. Signed-off-by: Paul Greenwalt Signed-off-by: Qiming Yang --- drivers/net/ice/base/ice_common.c |8 +- drivers/net/ice/base/ice_ddp.c|6 + drivers/net/ice/base/ice_ddp.h|1 + drivers/net/ice/base/ice_devids.h

[PATCH] net/e1000: fixed initialize queue number

2023-06-13 Thread Qiming Yang
The initialized queue number is not match the description in HW datasheet. Fixes: 805803445a02 ("e1000: support EM devices (also known as e1000/e1000e)") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- drivers/net/e1000/em_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH] doc: add release note for new e1000 device

2023-06-13 Thread Qiming Yang
Signed-off-by: Qiming Yang --- doc/guides/rel_notes/release_23_07.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_07.rst index 027ae7bd2d..382dbfbe37 100644 --- a/doc/guides/rel_notes/release_23_07.rst +++ b/doc

[PATCH] net/ice: fix VLAN mode parser

2023-06-25 Thread Qiming Yang
Parser will not be ctreated if raw packet filter is not support. This patch add NULL pointer check for parser structure when VLAN mode configure. Fixes: 6e753d777ffc ("net/ice: initialize parser for double VLAN") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- drive

[PATCH] doc: add release note for new Intel devices

2023-06-27 Thread Qiming Yang
This patch add release note for new Intel devices in this release. Signed-off-by: Qiming Yang --- doc/guides/rel_notes/release_23_07.rst | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_07.rst index

[PATCH v2] doc: fix missing release note for I219 support

2023-06-27 Thread Qiming Yang
Add missing release note for I219 support Fixes: a33e1a5bcd3f ("net/e1000: support more I219 devices") Signed-off-by: Qiming Yang --- v2 changes: add fix line --- doc/guides/rel_notes/release_23_07.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/rel

[PATCH] doc: fix missing release note for I225 support

2023-06-27 Thread Qiming Yang
Add missing release note for I225-LMVP support. Fixes: 431d5e6dc3de ("net/igc: support I225-LMVP device") Signed-off-by: Qiming Yang --- doc/guides/rel_notes/release_23_07.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides

[PATCH 0/3] fix Rx and Tx queue status get

2023-07-12 Thread Qiming Yang
Some Intel drivers not support queue start/stop ops, it will caused application can't get correct queue status and can't forward packets. This patchset fixed the issue by updating the queue states when the queue is disabled or enabled. Qiming Yang (3): net/ixgbevf: fix Rx and Tx qu

[PATCH 1/3] net/ixgbevf: fix Rx and Tx queue status get

2023-07-12 Thread Qiming Yang
9c6d86b371 ("ixgbe: prepare for vector pmd") Fixes: f0c50e5f56fa ("ixgbe: move PMD specific fields out of base driver") Signed-off-by: Qiming Yang Signed-off-by: Jie Hai --- drivers/net/ixgbe/ixgbe_rxtx.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ix

[PATCH 2/3] net/igc: fix Rx and Tx queue status get

2023-07-12 Thread Qiming Yang
("net/igc: support Rx and Tx") Signed-off-by: Qiming Yang Signed-off-by: Mingjin Ye --- drivers/net/igc/igc_txrx.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/igc/igc_txrx.c b/drivers/net/igc/igc_txrx.c index c11b6f7f25..5c60e3e997 100644 --- a/drivers/net/

[PATCH 3/3] net/e1000: fix Rx and Tx queue status

2023-07-12 Thread Qiming Yang
2dd3 ("igb: add PF support") Signed-off-by: Qiming Yang Signed-off-by: Mingjin Ye --- drivers/net/e1000/igb_rxtx.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index 25ad9eb4e5..61c6394310 100644 --- a/drivers/net/e1

[PATCH v2 0/3] fix Rx and Tx queue status get

2023-07-12 Thread Qiming Yang
stpmd: fix primary process not polling all queues --- v2 changes: add CC sta...@dpdk.org Qiming Yang (3): net/ixgbevf: fix Rx and Tx queue status get net/igc: fix Rx and Tx queue status get net/e1000: fix Rx and Tx queue status drivers/net/e1000/igb_rxtx.c | 4 drivers/net/igc/igc_txrx

[PATCH v2 2/3] net/igc: fix Rx and Tx queue status get

2023-07-12 Thread Qiming Yang
("net/igc: support Rx and Tx") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang Signed-off-by: Mingjin Ye --- drivers/net/igc/igc_txrx.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/igc/igc_txrx.c b/drivers/net/igc/igc_txrx.c index c11b6f7f25..5c60e3e997 100644 -

[PATCH v2 1/3] net/ixgbevf: fix Rx and Tx queue status get

2023-07-12 Thread Qiming Yang
9c6d86b371 ("ixgbe: prepare for vector pmd") Fixes: f0c50e5f56fa ("ixgbe: move PMD specific fields out of base driver") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang Signed-off-by: Jie Hai --- drivers/net/ixgbe/ixgbe_rxtx.c | 6 ++ 1 file changed, 6 insertions(+)

[PATCH v2 3/3] net/e1000: fix Rx and Tx queue status

2023-07-12 Thread Qiming Yang
2dd3 ("igb: add PF support") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang Signed-off-by: Mingjin Ye --- drivers/net/e1000/igb_rxtx.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/e1000/igb_rxtx.c b/drivers/net/e1000/igb_rxtx.c index 25ad9eb4e5..61c6394310 100644 ---

[PATCH] net/ice: check process type in reset operation

2022-09-26 Thread Qiming Yang
The secondary processes are not allowed to release shared resources. so the stop and reset operation are forbidden in a secondary process. Signed-off-by: Qiming Yang --- drivers/net/ice/ice_ethdev.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ice/ice_ethdev.c b/drivers

[PATCH] app/testpmd: fix slave port reset action

2022-10-12 Thread Qiming Yang
As stop action has been forbidden in secondary process, so the reset action should also not be allowed. Fixes: a550baf24af9 ("app/testpmd: support multi-process") Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- app/test-pmd/testpmd.c| 18 ++

[PATCH] doc: update matching list for i40e and ice driver

2022-11-08 Thread Qiming Yang
Add recommended matching list for ice PMD in DPDK 22.07 and i40e PMD in DPDK 22.07 and 21.11. Signed-off-by: Qiming Yang --- doc/guides/nics/i40e.rst | 8 doc/guides/nics/ice.rst | 2 ++ 2 files changed, 10 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics

[PATCH v2] doc: update matching list for i40e and ice driver

2022-11-10 Thread Qiming Yang
Add recommended matching list for ice PMD in DPDK 22.07 and i40e PMD in DPDK 22.07 and 22.11. Signed-off-by: Qiming Yang --- doc/guides/nics/i40e.rst | 8 doc/guides/nics/ice.rst | 2 ++ 2 files changed, 10 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics

[PATCH] doc: update ice matching list

2022-12-04 Thread Qiming Yang
Add recommended matching list for ice PMD in DPDK 22.11. Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index ce075e067c..a44ebffdb7 100644 --- a/doc/guides/nics/ice.rst +++ b/doc

[PATCH v2] doc: update ice matching list

2022-12-06 Thread Qiming Yang
Add recommended matching list for ice PMD in DPDK 22.11. Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index ce075e067c..335b558338 100644 --- a/doc/guides/nics/ice.rst +++ b/doc

[PATCH] net/i40e: reduce the ITR interval of multi-driver mode

2022-12-15 Thread Qiming Yang
This patch change the interrupt interval from 8160us to 32us to improve the performance of multi-driver mode. Signed-off-by: Qiming Yang --- drivers/net/i40e/i40e_ethdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40e_ethdev.h b/drivers/net/i40e

[PATCH] doc: update matching versions in ice guide

2022-04-25 Thread Qiming Yang
Add recommended matching list for ice PMD in DPDK 22.03. Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- doc/guides/nics/ice.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/nics/ice.rst b/doc/guides/nics/ice.rst index a1780c46c3..6b903b9bbc 100644 --- a/doc/guides/nics

[PATCH] doc: update matching versions in i40e guide

2022-04-25 Thread Qiming Yang
Add recommended matching list for i40e PMD in DPDK 21.05, 21.08, 21.11 and 22.03. Cc: sta...@dpdk.org Signed-off-by: Qiming Yang --- doc/guides/nics/i40e.rst | 16 1 file changed, 16 insertions(+) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index

[dpdk-dev] [PATCH] app/testpmd: supported offload capabilities query

2016-12-02 Thread Qiming Yang
Add two new commands "show port capa " and "show port capa all"to diaplay what offload capabilities supported in ports. It will not only display all the capabilities of the port, but also the enabling condition for each capability in the running time. Signed-off-by: Qiming Yan

  1   2   3   4   >