[PATCH v2 2/2] net/ice: fix updating DCF RSS hash

2025-06-18 Thread Mingjin Ye
;) Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Split into 2 patches --- drivers/net/intel/ice/ice_dcf_ethdev.c | 35 +++--- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/drivers/net/intel/ice/ice_dcf_ethdev.c b/drivers/net/intel/ice/ice_dcf_ethd

[PATCH v2 1/2] net/ice: fix getting DCF RSS hash

2025-06-18 Thread Mingjin Ye
When getting the rss hash configuration, it returns the currently configured rss_hf instead of the default value. Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Split into 2 patches --- drivers/net

[PATCH] net/ice: fix DCF RSS hash update

2025-06-11 Thread Mingjin Ye
consistent with the pf behaviour. Fixes: c223cadc9e5f ("net/ice: support RSS hash configuration in DCF mode") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/intel/ice/ice_dcf_ethdev.c | 38 +++--- 1 file changed, 22 insertions(+), 16 deletions(-) di

[PATCH v2] bus/vdev: revert fix devargs after multi-process bus scan

2025-05-13 Thread Mingjin Ye
efore does not free associated resources. As a result, we get a memory leak, because we free the rte_vdev_device but not its associated devargs. Revert this patch to avoid leaking devargs on vdev uninit. Fixes: f5b2eff0847d ("bus/vdev: fix devargs after multi-process bus scan") Cc: sta...@dpdk.o

[PATCH v2] net/ixgbe: fix min Rx/Tx descriptors

2025-02-25 Thread Mingjin Ye
ide/ethdev/ethdev.rst Fixes: dee5f1fd5fc7 ("ixgbe: get queue info and descriptor limits") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Change doc. --- doc/guides/nics/ixgbe.rst| 5 +++-- drivers/net/intel/ixgbe/ixgbe_rxtx.h | 2 +- 2 files changed, 4 insertions(+), 3 deleti

[PATCH] net/ice: fix ACL filter uninit

2025-02-21 Thread Mingjin Ye
The pf has enabled the ACL filter, so uninit is no longer limited to the DCF. Fixes: a9d612291c2d ("net/ice: support IPv4 fragments in ACL filters") Signed-off-by: Mingjin Ye --- drivers/net/intel/ice/ice_acl_filter.c | 48 +- 1 file changed, 24 inserti

[PATCH] net/ixgbe: fix min Rx/Tx descriptors

2025-02-21 Thread Mingjin Ye
.@dpdk.org Signed-off-by: Mingjin Ye --- doc/guides/nics/ixgbe.rst| 2 +- drivers/net/intel/ixgbe/ixgbe_rxtx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/ixgbe.rst index c5c6a6c34b..10a0cdd270 100644 --- a/doc/g

[PATCH v2 1/3] net/ice/base: add ipv4 fragment related field

2025-01-24 Thread Mingjin Ye
Added support for the Flags and Fragment Offset fields of ipv4 fragments. Field definitions are the same as in rte_ipv4_hdr. Signed-off-by: Mingjin Ye --- V2: All names standardised to *_IPV4_FRAG_OFS. --- drivers/net/ice/base/ice_fdir.h | 2 ++ drivers/net/ice/base/ice_flow.c | 5

[PATCH v2 2/3] net/ice: FDIR support IPv4 fragment masks

2025-01-24 Thread Mingjin Ye
This patch supports enabling masks for IPv4 fragments in FDIR. Flow rule can be created by the following command: flow create 0 ingress group 2 pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x3FFF / end Signed-off-by: Mingjin Ye --- drivers/net/ice

[PATCH v2 3/3] net/ice: ACL filter support for IPv4 fragment

2025-01-24 Thread Mingjin Ye
: Mingjin Ye --- drivers/net/ice/ice_acl_filter.c | 61 +--- drivers/net/ice/ice_ethdev.c | 1 - 2 files changed, 56 insertions(+), 6 deletions(-) diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c index 63a525b363..04c17a98ed 100644 --- a

[PATCH v2 0/3] flexible IPv4 fragment action

2025-01-24 Thread Mingjin Ye
Support for distributing the first and other segments of an IPv4 segmented packet to different RX queues. --- V2: All names standardised to *_IPV4_FRAG_OFS. Mingjin Ye (3): net/ice/base: add ipv4 fragment related field net/ice: FDIR support IPv4 fragment masks net/ice: ACL filter support

[PATCH 3/3] net/ice: ACL filter support for IPv4 fragment

2025-01-22 Thread Mingjin Ye
: Mingjin Ye --- drivers/net/ice/ice_acl_filter.c | 61 +--- drivers/net/ice/ice_ethdev.c | 1 - 2 files changed, 56 insertions(+), 6 deletions(-) diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c index 63a525b363..df2cc01b2d 100644 --- a

[PATCH 1/3] net/ice/base: add ipv4 fragment related field

2025-01-22 Thread Mingjin Ye
Added support for the Flags and Fragment Offset fields of ipv4 fragments. Field definitions are the same as in rte_ipv4_hdr. Signed-off-by: Mingjin Ye --- drivers/net/ice/base/ice_fdir.h | 2 ++ drivers/net/ice/base/ice_flow.c | 5 + drivers/net/ice/base/ice_flow.h | 1 + 3 files changed

[PATCH 2/3] net/ice: FDIR support IPv4 fragment masks

2025-01-22 Thread Mingjin Ye
This patch supports enabling masks for IPv4 fragments in FDIR. Flow rule can be created by the following command: flow create 0 ingress group 2 pattern eth / ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x3FFF / end Signed-off-by: Mingjin Ye --- drivers/net/ice

[PATCH 0/3] flexible IPv4 fragment action

2025-01-22 Thread Mingjin Ye
Support for distributing the first and other segments of an IPv4 segmented packet to different RX queues. Mingjin Ye (3): net/ice/base: add ipv4 fragment related field net/ice: FDIR support IPv4 fragment masks net/ice: ACL filter support for IPv4 fragment drivers/net/ice/base/ice_fdir.h

[PATCH] examples/ptpclient: revert add frequency adjustment

2024-11-26 Thread Mingjin Ye
-precision clocks) will not be affected, but its accuracy will be reduced to the microsecond level. Fixes: 6d55af611fd5 ("examples/ptpclient: add frequency adjustment") Signed-off-by: Mingjin Ye --- doc/guides/sample_app_ug/ptpclient.rst | 17 +- examples/ptpclient/ptpcl

[PATCH] net/ice: add devargs to control link update

2024-11-18 Thread Mingjin Ye
-off-by: Mingjin Ye --- v2: Fix using the wrong variable. --- v3: Callback only when link state changes. --- doc/guides/nics/ice.rst | 7 +++ drivers/net/ice/ice_ethdev.c | 113 ++- drivers/net/ice/ice_ethdev.h | 4 ++ 3 files changed, 122 insertions(+), 2

[PATCH] net/ice: enable link speed 200G

2024-10-30 Thread Mingjin Ye
ICE Enable 200G link speed capability. Fixes: 36afbc269081 ("net/ice: support link speed change") Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_ethdev.c | 11 ++- drivers/net/ice/ice_ethdev.h | 12 2 files changed, 22 insertions(+), 1 deletion(-) diff --git

[RFC v2] net/ice: add devargs to control link update

2024-10-22 Thread Mingjin Ye
This patch adds the ‘link_period’ devargs to adjust the link update period (microseconds), when the value is less than or equal to 0 it will be disabled, by default it is not enabled. Signed-off-by: Mingjin Ye --- v2: Fix using the wrong variable. --- doc/guides/nics/ice.rst | 7

[RFC] net/ice: add devargs to control link update

2024-10-21 Thread Mingjin Ye
This patch adds the ‘link_period’ devargs to adjust the link update period (microseconds), when the value is less than or equal to 0 it will be disabled, by default it is not enabled. Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 7 drivers/net/ice/ice_ethdev.c | 69

[PATCH v4] test: fix option devices

2024-10-16 Thread Mingjin Ye
child process. Also, EAL does not allow the options allow (-a) and block (-b) to be used at the same time. Fixes: b3ce7891ad38 ("test: fix probing in secondary process") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: The long form of the fix option is "--block". --- v3

[PATCH v7] examples/ptpclient: add frequency adjustment

2024-10-15 Thread Mingjin Ye
This patch adds PI servo controller to support frequency adjustment API for IEEE1588 PTP. For example, the command for starting ptpclient with PI controller is: dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 -c 1 Signed-off-by: Simei Su Signed-off-by: Wenjun Wu Signed-off-by: Mingjin

[PATCH v3] test: fix option devices

2024-10-14 Thread Mingjin Ye
child process. Also, EAL does not allow the options allow (-a) and block (-b) to be used at the same time. Fixes: b3ce7891ad38 ("test: fix probing in secondary process") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: The long form of the fix option is "--block". --- v3:

[PATCH v2] test: fix option block

2024-10-12 Thread Mingjin Ye
The options allow (-a) and block (-b) cannot be used at the same time. Therefore, allow (-a) will not be added when block (-b) is present. Fixes: b3ce7891ad38 ("test: fix probing in secondary process") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: The long form of the fix

[PATCH v6 2/3] net/ice: add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 16 drivers/net/ice/ice_ethdev.c | 176

[PATCH v6 3/3] examples/ptpclient: add frequency adjustment

2024-10-10 Thread Mingjin Ye
This patch adds PI servo controller to support frequency adjustment API for IEEE1588 PTP. For example, the command for starting ptpclient with PI controller is: dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 -c 1 Signed-off-by: Simei Su Signed-off-by: Wenjun Wu Signed-off-by: Mingjin

[PATCH v6 1/3] ethdev: add frequency adjustment API

2024-10-10 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- v3: Add more description for API. --- V4: Fix git commit conflict. --- doc/guides/nics/features.rst | 4

[PATCH v6 0/3] add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
. --- v5: Fixes in ice. --- v6: Fix git commit conflict. Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add frequency adjustment doc/guides/nics/features.rst | 4 +- doc/guides/nics/ice.rst

[PATCH v5 3/3] examples/ptpclient: add frequency adjustment

2024-10-10 Thread Mingjin Ye
This patch adds PI servo controller to support frequency adjustment API for IEEE1588 PTP. For example, the command for starting ptpclient with PI controller is: dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 -c 1 Signed-off-by: Simei Su Signed-off-by: Wenjun Wu Signed-off-by: Mingjin

[PATCH v5 2/3] net/ice: add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: Modify documents and delete old variables. --- doc/guides/nics/ice.rst | 16

[PATCH v5 1/3] ethdev: add frequency adjustment API

2024-10-10 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- v3: Add more description for API. --- doc/guides/nics/features.rst | 4 ++- doc/guides/rel_notes/release_24_11

[PATCH v5 0/3] add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
. --- v5: Fixes in net/ice. Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add frequency adjustment doc/guides/nics/features.rst | 4 +- doc/guides/nics/ice.rst| 16 ++ doc/guides/rel_notes

[PATCH v4 3/3] examples/ptpclient: add frequency adjustment

2024-10-10 Thread Mingjin Ye
This patch adds PI servo controller to support frequency adjustment API for IEEE1588 PTP. For example, the command for starting ptpclient with PI controller is: dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 -c 1 Signed-off-by: Simei Su Signed-off-by: Wenjun Wu Signed-off-by: Mingjin

[PATCH v4 2/3] net/ice: add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH v4 1/3] ethdev: add frequency adjustment API

2024-10-10 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- v3: Add more description for API. --- doc/guides/nics/features.rst | 4 ++- doc/guides/rel_notes/release_24_11

[PATCH v4 0/3] add frequency adjustment support for PTP

2024-10-10 Thread Mingjin Ye
. Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add frequency adjustment doc/guides/nics/features.rst | 4 +- doc/guides/nics/ice.rst| 15 ++ doc/guides/rel_notes/release_24_11.rst | 4

[PATCH] net/ixgbe: enable E610 devices

2024-09-30 Thread Mingjin Ye
: Mingjin Ye --- drivers/net/ixgbe/ixgbe_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index d88d4065f1..445d994f24 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers/net/ixgbe/ixgbe_ethdev.c @@ -449,6

[PATCH v3 3/3] examples/ptpclient: add frequency adjustment support

2024-09-30 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 303 + 1 file changed, 268 insertions(+), 35 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..9b1ab52700 100644 --- a/examples/ptpclient

[PATCH v3 2/3] net/ice: add frequency adjustment support for PTP

2024-09-30 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH v3 1/3] ethdev: add frequency adjustment API

2024-09-30 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- v3: Add more description for API. --- doc/guides/nics/features.rst | 4 ++- doc/guides/rel_notes/release_24_11

[PATCH v3 0/3] add frequency adjustment support for PTP

2024-09-30 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support --- v2: rte_eth_timesync_adjust_freq marked as experimental. --- v3: Add more description for API. Mingjin Ye (3): ethdev: add frequency

[PATCH v2 2/3] net/ice: add frequency adjustment support for PTP

2024-09-10 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH v2 1/3] ethdev: add frequency adjustment API

2024-09-10 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/features.rst | 4 +++- doc/guides/rel_notes/release_24_11.rst | 30 +++--- lib/ethdev/ethdev_driver.h | 5 + lib

[PATCH v2 0/3] add frequency adjustment support for PTP

2024-09-10 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support --- v2: rte_eth_timesync_adjust_freq marked as experimental. Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add

[PATCH v2 3/3] examples/ptpclient: add frequency adjustment support

2024-09-10 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 298 + 1 file changed, 264 insertions(+), 34 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..e92f7c5c8d 100644 --- a/examples/ptpclient

[PATCH v2 3/3] examples/ptpclient: add frequency adjustment support

2024-09-05 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 300 + 1 file changed, 265 insertions(+), 35 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..b97b858310 100644 --- a/examples/ptpclient

[PATCH v2 2/3] net/ice: add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH v2 1/3] ethdev: add frequency adjustment API

2024-09-05 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- doc/guides/nics/features.rst | 4 +++- doc/guides/rel_notes/release_24_11.rst | 30

[PATCH v2 0/3] add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add

[PATCH v2 3/3] examples/ptpclient: add frequency adjustment support

2024-09-05 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 300 + 1 file changed, 265 insertions(+), 35 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..b97b858310 100644 --- a/examples/ptpclient

[PATCH v2 2/3] net/ice: add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH v2 1/3] ethdev: add frequency adjustment API

2024-09-05 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- v2: rte_eth_timesync_adjust_freq marked as experimental --- doc/guides/nics/features.rst | 4 +++- doc/guides/rel_notes/release_24_11.rst | 30

[PATCH v2 0/3] add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add

[PATCH 3/3] examples/ptpclient: add frequency adjustment support

2024-09-05 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 300 + 1 file changed, 265 insertions(+), 35 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..b97b858310 100644 --- a/examples/ptpclient

[PATCH 2/3] net/ice: add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH 1/3] ethdev: add frequency adjustment API

2024-09-05 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/features.rst | 4 +++- doc/guides/rel_notes/release_24_11.rst | 30 +++--- lib/ethdev/ethdev_driver.h | 5 + lib

[PATCH 0/3] add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add

[PATCH 3/3] examples/ptpclient: add frequency adjustment support

2024-09-05 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 300 + 1 file changed, 265 insertions(+), 35 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..b97b858310 100644 --- a/examples/ptpclient

[PATCH 2/3] net/ice: add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH 1/3] ethdev: add frequency adjustment API

2024-09-05 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/features.rst | 4 +++- lib/ethdev/ethdev_driver.h | 5 + lib/ethdev/ethdev_trace.h| 9 + lib/ethdev/ethdev_trace_points.c | 3

[PATCH 0/3] add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add

[PATCH 3/3] examples/ptpclient: add frequency adjustment support

2024-09-05 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 300 + 1 file changed, 265 insertions(+), 35 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..b97b858310 100644 --- a/examples/ptpclient

[PATCH 2/3] net/ice: add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH 1/3] ethdev: add frequency adjustment API

2024-09-05 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/features.rst | 4 +++- lib/ethdev/ethdev_driver.h | 5 + lib/ethdev/ethdev_trace.h| 9 + lib/ethdev/ethdev_trace_points.c | 3

[PATCH 0/3] add frequency adjustment support for PTP

2024-09-05 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add

[PATCH 3/3] examples/ptpclient: add frequency adjustment support

2024-09-04 Thread Mingjin Ye
Wu Signed-off-by: Mingjin Ye --- examples/ptpclient/ptpclient.c | 300 + 1 file changed, 265 insertions(+), 35 deletions(-) diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient/ptpclient.c index afb61bba51..b97b858310 100644 --- a/examples/ptpclient

[PATCH 2/3] net/ice: add frequency adjustment support for PTP

2024-09-04 Thread Mingjin Ye
Add ice support for new ethdev API to adjust frequency for IEEE1588 PTP. Also, this patch reworks code for converting software update to hardware update. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/ice.rst | 15 +++ drivers/net/ice/ice_ethdev.c | 177

[PATCH 1/3] ethdev: add frequency adjustment API

2024-09-04 Thread Mingjin Ye
This patch adds freq adjustment API for PTP high accuracy. Signed-off-by: Simei Su Signed-off-by: Mingjin Ye --- doc/guides/nics/features.rst | 3 ++- lib/ethdev/ethdev_driver.h | 5 + lib/ethdev/ethdev_trace.h| 9 + lib/ethdev/ethdev_trace_points.c | 3

[PATCH 0/3] add frequency adjustment support for PTP

2024-09-04 Thread Mingjin Ye
[1/3] ethdev: add frequency adjustment API [2/3] net/ice: add frequency adjustment support for PTP [3/3] examples/ptpclient: add frequency adjustment support Mingjin Ye (3): ethdev: add frequency adjustment API net/ice: add frequency adjustment support for PTP examples/ptpclient: add

[PATCH v2] net/vdev: fix insert vdev core dump

2024-07-16 Thread Mingjin Ye
1c6 ("bus/vdev: scan by multi-process channel") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- v2: Modify commit log. --- drivers/bus/vdev/vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 38d05a9fe9..ec7a

[PATCH v3] buildtools: fix invalid symbols

2024-07-05 Thread Mingjin Ye
: 6c4bf8f42432 ("buildtools: add Python pmdinfogen") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- buildtools/pmdinfogen.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildtools/pmdinfogen.py b/buildtools/pmdinfogen.py index 2a44f17bda..9896f107dc 100755 --- a/buildtools/pmdinfoge

[PATCH v3] net/ice: support FEC feature

2024-07-04 Thread Mingjin Ye
This patch enable three Forward Error Correction(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 Signed-off-by: Mingjin Ye --- v3: optimize code details --- v2: fix some logic --- doc/guides/nics/features

[PATCH v2] net/ice: support FEC feature

2024-07-02 Thread Mingjin Ye
This patch enable three Forward Error Correction(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 Signed-off-by: Mingjin Ye --- v2: fix some logic --- doc/guides/nics/features/ice.ini | 1 + doc/guides

[PATCH v2] buildtools: fix invalid symbols

2024-07-01 Thread Mingjin Ye
Elf files generated by higher version compilers wrap multiple symbols prefixed with "this_pmd_name". The patch uses the regex "^this_pmd_name[0-9]+$" to match the symbol name. Bugzilla ID: 1466 Fixes: 6c4bf8f42432 ("buildtools: add Python pmdinfogen") Cc: sta...@dp

[PATCH] buildtools: fix invalid symbols

2024-06-27 Thread Mingjin Ye
ELF files generated by higher version compilers wrap multiple symbols prefixed with "this_pmd_name". This patch fixes the issue by filtering invalid symbols. Bugzilla ID: 1466 Fixes: 6c4bf8f42432 ("buildtools: add Python pmdinfogen") Cc: sta...@dpdk.org Signe

[PATCH] net/ice: support FEC feature

2024-04-11 Thread Mingjin Ye
This patch enable three Forward Error Correction(FEC) related ops in ice driver. As no speed information can get from HW, this patch only show FEC capability. Signed-off-by: Mingjin Ye --- doc/guides/nics/features/ice.ini | 1 + doc/guides/nics/ice.rst | 5 + drivers/net/ice

[PATCH 2/2] net/ice: Tx path check mbuf sub-segment

2024-03-15 Thread Mingjin Ye
Add check mbuf sub-segment to Tx diagnostic path. Fixes: 2a0244d611b4 ("net/ice: support mbuf checks in Tx path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/ice/ice_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/ic

[PATCH 1/2] net/i40e: Tx path check mbuf sub-segment

2024-03-15 Thread Mingjin Ye
Add check mbuf sub-segment to Tx diagnostic path. Fixes: 82b03af55a1b ("net/i40e: support mbuf checks in Tx path") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/i40e/i40e_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/i40

[PATCH 0/2] Tx path check mbuf sub-segment

2024-03-15 Thread Mingjin Ye
Add check mbuf sub-segment to Tx diagnostic path. Mingjin Ye (2): net/i40e: Tx path check mbuf sub-segment net/ice: Tx path check mbuf sub-segment drivers/net/i40e/i40e_rxtx.c | 2 +- drivers/net/ice/ice_rxtx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.25.1

[PATCH] test: fix option block

2024-03-14 Thread Mingjin Ye
The options allow (-a) and block (-b) cannot be used at the same time. Therefore, allow (-a) will not be added when block (-b) is present. Fixes: b3ce7891ad38 ("test: fix probing in secondary process") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- app/test/proc

[PATCH 3/3] net/vdev: fix insert vdev core dump

2024-03-14 Thread Mingjin Ye
using valid devargs. Fixes: f3a1188cee4a ("devargs: make device representation generic") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/bus/vdev/vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index

[PATCH 2/3] bus/vdev: revert fix devargs after multi-process bus scan

2024-03-14 Thread Mingjin Ye
dev device when devargs_list already existed, resulting in a core dump. A new patch will fix this issue. Fixes: f5b2eff0847d ("bus/vdev: fix devargs after multi-process bus scan") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/bus/vdev/vdev.c | 11 --- 1 file changed

[PATCH 1/3] bus/vdev: revert fix devargs in secondary process

2024-03-14 Thread Mingjin Ye
62c9 ("bus/vdev: fix devargs in secondary process") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/bus/vdev/vdev.c | 21 + 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/drivers/bus/vdev/vdev.c b/drivers/bus/vdev/vdev.c index 14cf856237..38d

[PATCH 0/3] fix insert dev core dump

2024-03-14 Thread Mingjin Ye
revert 2 patches and fix insert vdev core dump. Mingjin Ye (3): bus/vdev: revert fix devargs in secondary process bus/vdev: revert fix devargs after multi-process bus scan net/vdev: fix insert vdev core dump drivers/bus/vdev/vdev.c | 34 ++ 1 file changed

[v20.11.7.5] net/iavf: support flow rule with raw pattern

2024-03-12 Thread Mingjin Ye
Add raw pattern support to VF, including FDIR/RSS flow rule. This patch is based on DPDK v20.11.7.5, for customer cherry-pick. Signed-off-by: Mingjin Ye --- doc/guides/nics/features/ice_dcf.ini|1 + drivers/common/iavf/virtchnl.h | 38 +- drivers/net/iavf/iavf.h

[PATCH v4] net/ice: add diagnostic support in Tx path

2024-03-05 Thread Mingjin Ye
ed offload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:00.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: rebase. --- v3: Modify comment log. --- v4: Remove unnecessary changes. --- doc/guides/nics/ice.rst

[PATCH v7] net/i40e: add diagnostic support in Tx path

2024-03-05 Thread Mingjin Ye
ed offload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :87:00.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- v4: rebase. --- v5: fix ci error. --- v6: Changes the commit log. ---

[PATCH v4] net/ice: add diagnostic support in Tx path

2024-03-04 Thread Mingjin Ye
ed offload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:00.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: rebase. --- v3: Modify comment log. --- v4: Changes the commit log. --- doc/guides/nics/ice.rst | 14

[PATCH v6] net/i40e: add diagnostic support in Tx path

2024-03-04 Thread Mingjin Ye
ed offload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :87:00.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- v4: rebase. --- v5: fix ci error. --- v6: Changes the commit log.

[PATCH v3] net/ice: add diagnostic support in TX path

2024-03-01 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: rebase. --- v3: Modify comment log. --- doc/guides/nics/ice.rst | 13 +++ driv

[PATCH v5] net/i40e: add diagnostic support in TX path

2024-03-01 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- v4: rebase. --- v5: fix ci error. --- doc/guides/nics/i40e.rst

[PATCH v12] net/iavf: add diagnostic support in TX path

2024-02-19 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch.

[PATCH] net/iavf: fix access to null value

2024-01-23 Thread Mingjin Ye
The "vsi" may be null, so it needs to be used after checking. Fixes: ab28aad9c24f ("net/iavf: fix Rx Tx burst in multi-process") Cc: sta...@dpdk.org Signed-off-by: Mingjin Ye --- drivers/net/iavf/iavf_rxtx.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-)

[PATCH v11] net/iavf: add diagnostic support in TX path

2024-01-09 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch.

[PATCH v11] net/iavf: add diagnostic support in TX path

2024-01-09 Thread Mingjin Ye
fload flag. parameter format: "mbuf_check=" or "mbuf_check=[,]" eg: dpdk-testpmd -a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch.

[PATCH v2] net/ice: add diagnostic support in TX path

2024-01-05 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: rebase. --- doc/guides/nics/ice.rst | 13 +++ drivers/net/ice/ice_ethdev.c | 104 ++- drivers/net/ice/ice_ethdev.h | 24 ++ drivers/net/ice/ice_rxtx

[PATCH v4] net/i40e: add diagnostic support in TX path

2024-01-05 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- v4: rebase. --- doc/guides/nics/i40e.rst | 13 +++ drivers/net/i40e/i40e_ethdev.c | 138 - drivers/net/i40e/i40e_ethdev.h | 28 ++ driver

[PATCH v10] net/iavf: add diagnostic support in TX path

2024-01-05 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- v6: remove strict. --- v9: Modify the description document. --- v10: Modify vf rst document. ---

[PATCH v3] net/i40e: add diagnostic support in TX path

2024-01-04 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: remove strict. --- v3: optimised. --- doc/guides/nics/i40e.rst | 11 +++ drivers/net/i40e/i40e_ethdev.c | 137 - drivers/net/i40e/i40e_ethdev.h | 28 ++ drivers/net/i40e/i40e_rxtx

[PATCH v9 2/2] net/iavf: add diagnostic support in TX path

2024-01-04 Thread Mingjin Ye
-a :81:01.0,mbuf_check=[mbuf,size] -- -i Signed-off-by: Mingjin Ye --- v2: Remove call chain. --- v3: Optimisation implementation. --- v4: Fix Windows os compilation error. --- v5: Split Patch. --- v6: remove strict. --- v8: Modify the description document. --- doc/guides/nics/intel_vf.

  1   2   3   >