Hi Ferruh,
> -Original Message-
> From: Ferruh Yigit
> Sent: Monday, September 18, 2023 10:51 PM
> To: Su, Simei ; tho...@monjalon.net;
> andrew.rybche...@oktetlabs.ru; Rybalchenko, Kirill
> ; Zhang, Qi Z
> Cc: dev@dpdk.org; Wu, Wenjun1
> Subject: Re: [PATCH 1/
Hi Ferruh,
> -Original Message-
> From: Ferruh Yigit
> Sent: Monday, September 18, 2023 10:55 PM
> To: Su, Simei ; tho...@monjalon.net;
> andrew.rybche...@oktetlabs.ru; Rybalchenko, Kirill
> ; Zhang, Qi Z
> Cc: dev@dpdk.org; Wu, Wenjun1
> Subject: Re: [PATCH
iptor")
Fixes: 5543827fc6df ("net/ice: improve performance of Rx timestamp offload")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
drivers/net/ice/ice_ethdev.h | 3 ---
drivers/net/ice/ice_rxtx.c | 48 ++--
drivers/net/ice/ice_rxtx.h | 3
For received PTP packets, the flag "RTE_MBUF_F_RX_IEEE1588_TMST" has not
been set which leads to received PTP packet not timestamped by hardware
shown in testpmd/ieee1588 fwd.
Fixes: 646dcbe6c701 ("net/ice: support IEEE 1588 PTP")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
.@dpdk.org
Signed-off-by: Simei Su
---
drivers/net/ice/ice_ethdev.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index 13a7a97..d57355d 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
.@dpdk.org
Signed-off-by: Simei Su
---
v2:
* Rename commit title.
drivers/net/ice/ice_ethdev.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index d01acb8..dbf822e 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drive
.@dpdk.org
Signed-off-by: Simei Su
---
v3:
* Fix use of undeclared identifier 'CLOCK_MONOTONIC'.
v2:
* Rename commit title.
drivers/net/ice/ice_ethdev.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
in
be6c701 ("net/ice: support IEEE 1588 PTP")
Suggested-by: Harry van Haaren
Signed-off-by: Simei Su
---
drivers/net/ice/ice_ethdev.c | 4 +--
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c | 59 ++--
drivers/net/ice/ice_rxtx.h |
be6c701 ("net/ice: support IEEE 1588 PTP")
Suggested-by: Harry van Haaren
Signed-off-by: Simei Su
---
v2:
* Add "guard band" of checking wrap-around.
drivers/net/ice/ice_ethdev.c | 4 +--
drivers/net/ice/ice_ethdev.h | 1 +
drivers/net/ice/ice_rxtx.c | 59 +++
be6c701 ("net/ice: support IEEE 1588 PTP")
Suggested-by: Harry van Haaren
Signed-off-by: Simei Su
---
v3:
* Use a macro to replace the "guard band" number.
v2:
* Add "guard band" of checking wrap-around.
drivers/net/ice/ice_ethdev.c | 4 +--
be6c701 ("net/ice: support IEEE 1588 PTP")
Suggested-by: Harry van Haaren
Signed-off-by: Simei Su
---
v4:
* Correct typo spelling.
v3:
* Use a macro to replace the "guard band" number.
v2:
* Add "guard band" of checking wrap-around.
drivers/net/ice/ice_ethdev.c |
for test command is as below:
./build/app/dpdk-testpmd -a af:00.0,pps_out='[pin:2]' -c f -n 4 -- -i
Signed-off-by: Simei Su
---
v3:
* Rebase patch based on the latest code.
v2:
* Update the ice.rst for the new devargs.
* Add the release notes.
doc/guides/nics/ice.rst|
Use the dynamic mbuf to register timestamp field and flag.
The ice has the feature to dump Rx timestamp value into dynamic
mbuf field by flex descriptor. This feature is turned on by dev
config "enable-rx-timestamp". Currently, it's only supported
under scalar path.
Signed-o
ff-by: Simei Su
---
v4:
* Rework code to consider ice_dev_start and ice_timesync_enable order.
v3:
* Rework code to support scalar path only.
* Update the doc/guides/nics/features/ice.ini to add "Timesync" feature.
* Add release notes.
v2:
* Change patchset to one patch based on sh
> -Original Message-
> From: Yu, DapengX
> Sent: Friday, September 3, 2021 6:04 PM
> To: Yang, Qiming ; Zhang, Qi Z
>
> Cc: dev@dpdk.org; Su, Simei ; Yu, DapengX
> ; sta...@dpdk.org
> Subject: [PATCH] net/ice: fix double free ACL flow entry
>
>
Hi, Qi
> -Original Message-
> From: Zhang, Qi Z
> Sent: Friday, September 24, 2021 1:25 PM
> To: Su, Simei
> Cc: dev@dpdk.org; Wang, Haiyue
> Subject: RE: [PATCH] net/ice: enable Rx timestamp on Flex Descriptor
>
>
>
> > -Original Message--
Use the dynamic mbuf to register timestamp field and flag.
The ice has the feature to dump Rx timestamp value into dynamic
mbuf field by flex descriptor. This feature is turned on by dev
config "enable-rx-timestamp". Currently, it's only supported
under scalar path.
Signed-o
Use the dynamic mbuf to register timestamp field and flag.
The ice has the feature to dump Rx timestamp value into dynamic
mbuf field by flex descriptor. This feature is turned on by dev
config "enable-rx-timestamp". Currently, it's only supported
under scalar path.
Signed-o
Use the dynamic mbuf to register timestamp field and flag.
The ice has the feature to dump Rx timestamp value into dynamic
mbuf field by flex descriptor. This feature is turned on by dev
config "enable-rx-timestamp". Currently, it's only supported
under scalar path.
Signed-o
ff-by: Simei Su
---
v5:
* Refine patch title and commit log.
* Simplify judge logic in ice_timesync_enable and ice_program_hw_rx_queue.
* Add flag reset in ice_timesync_disable.
v4:
* Rework code to consider ice_dev_start and ice_timesync_enable order.
v3:
* Rework code to support scalar path
ff-by: Simei Su
---
v6:
* Refine to simplify judge logic in ice_program_hw_rx_queue.
* Remove "else" branch if already return in "if" branch.
v5:
* Refine patch title and commit log.
* Simplify judge logic in ice_timesync_enable and ice_program_hw_rx_queue.
* Add flag rese
ned-off-by: Simei Su
---
drivers/net/ice/ice_fdir_filter.c | 14 ++
drivers/net/ice/ice_generic_flow.h | 3 +++
2 files changed, 13 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ice/ice_fdir_filter.c
b/drivers/net/ice/ice_fdir_filter.c
index 4f1aa39..82adb1f 100644
--- a/drive
Hi, Qi
> -Original Message-
> From: Zhang, Qi Z
> Sent: Tuesday, July 13, 2021 9:07 AM
> To: Su, Simei
> Cc: dev@dpdk.org; Cao, Yahui
> Subject: RE: [PATCH] net/ice: fix SPI for ESP and NATT not work issue
>
>
>
> > -Original Message-
>
Fixes: 70feafc1a3f2 ("net/ice: support ESP/NATT flow director to match outer
IP")
Signed-off-by: Simei Su
v2:
* Refine title and commit log to be more accurate.
* Correct spelling mistakes in commit log.
---
drivers/net/ice/ice_fdir_filter.c | 14 ++
drivers/net/ice/ice
ilter in DCF")
Signed-off-by: Simei Su
---
drivers/net/ice/ice_acl_filter.c | 4 ++--
drivers/net/ice/ice_ethdev.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ice/ice_acl_filter.c b/drivers/net/ice/ice_acl_filter.c
index 3375609..0c15a70 100644
---
for device clock control
net/ice/base: add clock initialization function
Simei Su (1):
net/ice: support IEEE 1588 PTP
drivers/net/ice/base/ice_adminq_cmd.h |2 +
drivers/net/ice/base/ice_cgu_regs.h | 117 ++
drivers/net/ice/base/ice_common.c | 254
drivers/net/ice/base
From: Qi Zhang
Parse 1588 timesync capability during device capability probing.
Signed-off-by: Jacob Keller
Signed-off-by: Qi Zhang
---
drivers/net/ice/base/ice_adminq_cmd.h | 1 +
drivers/net/ice/base/ice_common.c | 111 ++
drivers/net/ice/base/ice_type.
From: Qi Zhang
The ice hardware supports exposing a hardware clock for high precision
timestamping. This is primarily intended for accelerating the Precision
Time Protocol.
Add several low level functions intended to be used as the basis for
enabling the device clock, and ensuring that the port
From: Qi Zhang
Before the device PTP hardware clock can be initialized, some steps must
be taken by the driver. This includes writing some registers and
initializing the PHY.
Some of these steps are distinct depending on the device type (E810 or
E822). Additionally, a future change will introduc
igned-off-by: Simei Su
---
drivers/net/ice/ice_ethdev.c | 226 ++-
drivers/net/ice/ice_ethdev.h | 5 +
drivers/net/ice/ice_rxtx.c | 42 +++-
drivers/net/ice/ice_rxtx.h | 1 +
4 files changed, 272 insertions(+), 2 deletions(-)
diff --git a/driver
Hi Thomas,
> -Original Message-
> From: Thomas Monjalon
> Sent: Tuesday, February 7, 2023 7:32 PM
> To: Zhang, Helin ; Su, Simei
> Cc: David Marchand ; dev@dpdk.org; Zhang,
> Yuying ; Xing, Beilei ;
> Mcnamara, John ; sta...@dpdk.org; Zhang, Qi Z
> ; Dapeng Yu ;
/i40e: fix max frame size config at port level")
Fixes: 719469f13b11 ("net/i40e: fix jumbo frame Rx with X722")
Cc: sta...@dpdk.org
Reported-by: David Marchand
Signed-off-by: Simei Su
---
v6:
* Refine commit log.
* Remove return error.
v5:
* Fix misspelling in commit log.
v4:
* Refi
t IEEE 1588 PTP")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
drivers/net/ice/ice_ethdev.c | 31 ++-
drivers/net/ice/ice_rxtx.h | 11 ++-
2 files changed, 28 insertions(+), 14 deletions(-)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ic
an_be_set) {
> - status = i40e_aq_set_mac_config(hw, size, TRUE, 0, false, NULL);
> - if (status != I40E_SUCCESS)
> - PMD_DRV_LOG(ERR, "Failed to set max frame size at port
> level");
> - } else {
> - PMD_DRV_LOG(ERR, "Set max frame size at port level not
> applicable
> on link down");
> - }
> -}
> -
> RTE_LOG_REGISTER_SUFFIX(i40e_logtype_init, init, NOTICE);
> RTE_LOG_REGISTER_SUFFIX(i40e_logtype_driver, driver, NOTICE); #ifdef
> RTE_ETHDEV_DEBUG_RX
> --
> 2.38.1
Acked-by: Simei Su
Thanks,
Simei
This patch sets max frame size at port level rather than queue level
to avoid unexpected packets received by port.
Fixes: 34fe803c051f ("net/i40e: don't check link status on device start")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
v7:
* Split v6 patch into two parts:
- D
("net/ice: support IEEE 1588 PTP")
Fixes: fb800fde66f4 ("net/ice/base: work around missing PTP capabilities")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
v2:
* Refine commit title and commit log.
* Remove duplicate code.
* Rework share code for "SIMICS_SUPPORT".
more description for the new API.
v2:
* Remove the ice PMD part from the RFC.
* Add description in cover letter.
* Refine commit log in patch.
Simei Su (3):
ethdev: add frequency adjustment API
examples/ptpclient: refine application
examples/ptpclient: add frequency adjustment support
t.
This new function gets the scaled_ppm (desired frequency offset from
nominal frequency in parts per million, but with a 16 bit binary
fractional field).
Signed-off-by: Simei Su
Signed-off-by: Wenjun Wu
---
lib/ethdev/ethdev_driver.h | 5 +
lib/ethdev/ethdev_trace.h
This patch reworks code to split delay request message parsing
from follow up message parsing which doesn't break original logic.
Signed-off-by: Simei Su
Signed-off-by: Wenjun Wu
---
examples/ptpclient/ptpclient.c | 48 --
1 file changed, 32 inser
This patch applys PI servo algorithm to leverage frequency adjustment
API to improve PTP timesync accuracy.
The command for starting ptpclient with PI algorithm is:
./build/examples/dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1
--controller=pi
Signed-off-by: Simei Su
Signed-off-by
Hi Thomas,
Thanks a lot for your review. I have already sent RFC v3 patch based on your
comments.
https://patchwork.dpdk.org/project/dpdk/cover/20230522132332.102030-1-simei...@intel.com/
Thanks,
Simei
> -Original Message-
> From: Thomas Monjalon
> Sent: Monday, May 15, 2023
Hi Chuanyu,
> -Original Message-
> From: Chuanyu Xue
> Sent: Monday, December 18, 2023 4:21 AM
> To: Lu, Wenzhuo ; Zhang, Qi Z
> ; Xing, Beilei
> Cc: dev@dpdk.org; Chuanyu Xue
> Subject: [PATCH] net/e1000: support launchtime feature
>
> Enable the time-based scheduled Tx of packets bas
Hi Chuanyu,
> -Original Message-
> From: Chuanyu Xue
> Sent: Friday, December 22, 2023 11:04 AM
> To: Su, Simei
> Cc: Xing, Beilei ; chuanyu@uconn.edu;
> dev@dpdk.org; Zhang, Qi Z ; Lu, Wenzhuo
>
> Subject: RE: [PATCH] net/e1000: support launchtime featur
Signed-off-by: Simei Su
---
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 3432eab..15689ac 100644
--- a/doc/guides/nics/i40e.rst
+++ b/doc/guides/nics/i40e.rst
@@ -104,6 +104,8 @@ For X710/XL710/XXV710
Signed-off-by: Simei Su
---
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 820a385..09a4302 100644
--- a/doc/guides/nics/ice.rst
+++ b/doc/guides/nics/ice.rst
@@ -75,6 +75,8 @@ are listed in the Tested
Hi Chuanyu,
> -Original Message-
> From: Chuanyu Xue
> Sent: Saturday, December 30, 2023 5:30 AM
> To: Su, Simei
> Cc: Xing, Beilei ; chuanyu@uconn.edu;
> dev@dpdk.org; Zhang, Qi Z ; Lu, Wenzhuo
>
> Subject: RE: [PATCH] net/e1000: support launchtime feature
Hi Chuanyu,
> -Original Message-
> From: Chuanyu Xue
> Sent: Thursday, January 4, 2024 5:52 AM
> To: Su, Simei
> Cc: Xing, Beilei ; chuanyu@uconn.edu;
> dev@dpdk.org; Zhang, Qi Z ; Lu, Wenzhuo
>
> Subject: RE: [PATCH] net/e1000: support launchtime feature
&
> -Original Message-
> From: Chuanyu Xue
> Sent: Sunday, December 31, 2023 12:35 AM
> To: Su, Simei ; Lu, Wenzhuo ;
> Zhang, Qi Z ; Xing, Beilei
> Cc: dev@dpdk.org; Chuanyu Xue
> Subject: [PATCH v2] net/e1000: support launchtime feature
>
> Enable the
Add suggested DPDK/kernel driver/firmware version matching list.
Signed-off-by: Simei Su
---
v2:
* Add commit log.
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 3432eab..15689ac 100644
--- a/doc/guides
Update documentation value to match default value in code base.
Signed-off-by: Simei Su
---
doc/guides/prog_guide/ip_fragment_reassembly_lib.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/guides/prog_guide/ip_fragment_reassembly_lib.rst
b/doc/guides/prog_guide
Remove myself from maintainers.
Signed-off-by: Simei Su
---
MAINTAINERS | 2 --
1 file changed, 2 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 0d1c812..11043da 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -739,7 +739,6 @@ F: doc/guides/nics/hinic.rst
F: doc/guides/nics/features
/build/examples/dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1 --
controller=pi
[1/3] ethdev: add frequency adjustment API.
[2/3] examples/ptpclient: refine application.
[3/3] examples/ptpclient: add frequency adjustment support.
Simei Su (3):
ethdev: add frequency adjustment API
exampl
t.
This new function gets the scaled_ppm (desired frequency offset from
nominal frequency in parts per million, but with a 16 bit binary
fractional field).
Signed-off-by: Simei Su
Signed-off-by: Wenjun Wu
---
lib/ethdev/ethdev_driver.h | 5 +
lib/ethdev/ethdev_trace.h
This patch reworks code to split delay request message parsing
from follow up message parsing which doesn't break original logic.
Signed-off-by: Simei Su
Signed-off-by: Wenjun Wu
---
examples/ptpclient/ptpclient.c | 48 --
1 file changed, 32 inser
This patch applys PI servo algorithm to leverage frequency adjustment
API to improve PTP timesync accuracy.
The command for starting ptpclient with PI algorithm is:
./build/examples/dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1
--controller=pi
Signed-off-by: Simei Su
Signed-off-by
This patch replaces flex Tx descriptor structure with base Tx descriptor.
Signed-off-by: Simei Su
---
drivers/common/idpf/idpf_common_rxtx.c| 72 +--
drivers/common/idpf/idpf_common_rxtx.h| 2 +-
drivers/common/idpf/idpf_common_rxtx_avx512.c | 36
This patch set updates idpf base code.
v2:
* Add two patches for share code update.
* Add version update.
* Fix coding style issue.
Simei Su (17):
common/idpf/base: enable support for physical port stats
common/idpf/base: add miss completion capabilities
common/idpf/base: initial PTP
Add miss completion tag to other capabilities list, to indicate support for
detecting a miss completion based on the upper bit of the completion tag.
Signed-off-by: Josh Hay
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/common/idpf/base/virtchnl2.h | 4
2
Add support to indicate physical port representor and query its statistics.
Signed-off-by: Zhenning Xiao
Signed-off-by: Jayaprakash Shanmugam
Signed-off-by: Simei Su
---
.mailmap | 2 +
drivers/common/idpf/base/virtchnl2.h | 80 +++-
2
.
Signed-off-by: Milena Olech
Signed-off-by: Simei Su
---
drivers/common/idpf/base/virtchnl2.h | 145 +++
1 file changed, 145 insertions(+)
diff --git a/drivers/common/idpf/base/virtchnl2.h
b/drivers/common/idpf/base/virtchnl2.h
index c49e4b943c..320430df6f 100644
--- a/drivers
Chittim
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/common/idpf/base/siov_regs.h | 13 ++---
2 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/.mailmap b/.mailmap
index af452d54c6..f23f8fecfa 100644
--- a/.mailmap
+++ b/.mailmap
a) Add maximum ADI count in capabilities message
b) Add PF side ADI index to create_adi message
c) Define another constant to indicate 'Function active' state of ADI
Signed-off-by: Shailendra Bhatnagar
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/c
Add necessary check for payload and message buffer.
Signed-off-by: Julianx Grajkowski
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/common/idpf/base/idpf_common.c | 6 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/.mailmap b/.mailmap
Instead of using something like a byte offset, we can add a union to the
struct here to enable direct addressing.
Signed-off-by: Alan Brady
Signed-off-by: Simei Su
---
.mailmap | 1 +
drivers/common/idpf/base/idpf_controlq_api.h | 5 +
2 files changed, 6
) Define virtchnl2_non_flex_vector_chunks with a single chunk in it.
c) Rename and modify virtchnl2_create_adi to use the above 2 new structs.
New structure is virtchnl2_non_flex_create_adi.
Signed-off-by: Shailendra Bhatnagar
Signed-off-by: Simei Su
---
drivers/common/idpf/base/virtchnl2.h | 66
Instead of updating directly to 'cq_out' double pointer, use a
local pointer and update only when we return success.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_controlq.c | 43 +---
1 file changed, 23 inserti
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_common.c | 4 ++--
drivers/common/idpf/base/idpf_controlq.c | 7 ++-
drivers/common/idpf/base/idpf_controlq_api.h | 2 +-
drivers/common/idpf/base/idpf_prototype.h| 2 +-
4 files changed
Conditional check is not necessary to strip and get status bits
from the descriptor.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_controlq.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/common/idpf/base
Refine the macros and definitions by using 'tab' spaces and new
lines wherever necessary. Also refine the comment in
'idpf_ctlq_setup_regs' and remove the TODO comment in idpf_rss_hash
enum as it doesn't make any sense.
Signed-off-by: Pavan Kumar Linga
Signed-off-b
Instead of using a custom defined macro for generating a mask,
use the standard GENMASK macro.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 ++---
drivers/common/idpf/base/idpf_lan_txrx.h| 116 +---
drivers
Instead of splitting the function name and function type into
multiple lines, use then in a single line.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_controlq.c | 5 ++---
drivers/common/idpf/base/idpf_controlq_setup.c | 5 ++---
2 files
In idpf_flex_tx_desc structure, instead of naming the union with 'flex',
use no name union as the union name is not really necessary there. This
reduces the level of indirection in the hotpath.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common
Remove the unused TX descriptor types and mark them as reserved.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
---
drivers/common/idpf/base/idpf_lan_txrx.h | 132 ++-
1 file changed, 10 insertions(+), 122 deletions(-)
diff --git a/drivers/common/idpf/base
Update README
Signed-off-by: Simei Su
---
drivers/common/idpf/base/README | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/common/idpf/base/README b/drivers/common/idpf/base/README
index 693049c057..457b5a81f3 100644
--- a/drivers/common/idpf/base/README
+++ b
> -Original Message-
> From: Ferruh Yigit
> Sent: Wednesday, March 22, 2023 7:59 AM
> To: Mcnamara, John ; Guo, Junfeng
> ; Su, Simei
> Cc: Thomas Monjalon ; Andrew Rybchenko
> ; dev@dpdk.org
> Subject: [PATCH 14/33] doc: update igc guide
>
> - Mov
Hi Kevin,
> -Original Message-
> From: Kevin Traynor
> Sent: Friday, March 24, 2023 5:40 PM
> To: Jiang, YuX ; Zhang, Qi Z ; Su,
> Simei ; Xing, Beilei ; Zhang,
> Yuying ; david.march...@redhat.com
> Cc: dev@dpdk.org; Yang, Qiming ; sta...@dpdk.org;
> Luca B
[RFC 1/4] ethdev: add frequency adjustment API.
[RFC 2/4] net/ice: add frequency adjustment support for PTP.
[RFC 3/4] examples/ptpclient: refine application.
[RFC 4/4] examples/ptpclient: add frequency adjustment support.
Simei Su (4):
ethdev: add frequency adjustment API
net/ice: add
This patch adds freq adjustment API for PTP high accuracy.
Signed-off-by: Simei Su
---
lib/ethdev/ethdev_driver.h | 5 +
lib/ethdev/ethdev_trace.h| 9 +
lib/ethdev/ethdev_trace_points.c | 3 +++
lib/ethdev/rte_ethdev.c | 18 ++
lib/ethdev
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
---
drivers/net/ice/ice_ethdev.c | 111 ---
1 file changed, 72 insertions
This patch reworks code to split delay request message parsing
from follow up message parsing.
Signed-off-by: Simei Su
Signed-off-by: Wenjun Wu
---
examples/ptpclient/ptpclient.c | 48 --
1 file changed, 32 insertions(+), 16 deletions(-)
diff --git a
This patch adds PI servo algorithm to support frequency
adjustment API for IEEE1588 PTP.
For example, the command for starting ptpclient with PI algorithm is:
./build/examples/dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1
--controller=pi
Signed-off-by: Simei Su
Signed-off-by: Wenjun
from the RFC.
* Add description in cover letter.
* Refine commit log in patch.
Simei Su (3):
ethdev: add frequency adjustment API
examples/ptpclient: refine application
examples/ptpclient: add frequency adjustment support
examples/ptpclient/ptpclient.c | 222 +++
This patch introduces a new timesync API "rte_eth_timesync_adjust_freq"
which enables frequency adjustment during PTP timesync.
Signed-off-by: Simei Su
---
lib/ethdev/ethdev_driver.h | 5 +
lib/ethdev/ethdev_trace.h| 9 +
lib/ethdev/ethdev_trace_poi
This patch reworks code to split delay request message parsing
from follow up message parsing which doesn't break original logic.
Signed-off-by: Simei Su
Signed-off-by: Wenjun Wu
---
examples/ptpclient/ptpclient.c | 48 --
1 file changed, 32 inser
This patch applys PI servo algorithm to leverage frequency adjustment
API to improve PTP timesync accuracy.
The command for starting ptpclient with PI algorithm is:
./build/examples/dpdk-ptpclient -a :81:00.0 -c 1 -n 3 -- -T 0 -p 0x1
--controller=pi
Signed-off-by: Simei Su
Signed-off-by
This patch adds support for custom DDP version 255.4.0.0.
Signed-off-by: Simei Su
---
drivers/net/ice/base/ice_ddp.c | 41 ++
drivers/net/ice/base/ice_ddp.h | 1 +
2 files changed, 38 insertions(+), 4 deletions(-)
diff --git a/drivers/net/ice/base/ice_ddp.c b
This patch adds support for custom DDP version 255.4.0.0
based on DPDK 21.11.
Signed-off-by: Simei Su
---
drivers/net/ice/base/ice_flex_pipe.c | 43 +---
drivers/net/ice/base/ice_flex_pipe.h | 1 +
2 files changed, 40 insertions(+), 4 deletions(-)
diff --git a/drivers
This patch is for customized DDP package based on DPDK 23.03.
Customer use a custom package and a custom kernel driver, so DPDK won't
upstream it.
> -Original Message-
> From: Su, Simei
> Sent: Monday, June 5, 2023 5:38 PM
> To: Zhang, Qi Z ; Yang, Qiming
>
&g
Hi Ferruh,
> -Original Message-
> From: Ferruh Yigit
> Sent: Saturday, June 3, 2023 3:44 AM
> To: Su, Simei ; tho...@monjalon.net;
> andrew.rybche...@oktetlabs.ru; Rybalchenko, Kirill
> ; Zhang, Qi Z
> Cc: dev@dpdk.org; Wu, Wenjun1
> Subject: Re: [RFC v3 0/3]
Hi Ferruh,
> -Original Message-
> From: Ferruh Yigit
> Sent: Saturday, June 3, 2023 3:53 AM
> To: Su, Simei ; tho...@monjalon.net;
> andrew.rybche...@oktetlabs.ru; Rybalchenko, Kirill
> ; Zhang, Qi Z
> Cc: dev@dpdk.org; Wu, Wenjun1
> Subject: Re: [RFC v3 3/3]
Hi Ferruh,
> -Original Message-
> From: Ferruh Yigit
> Sent: Thursday, June 8, 2023 2:29 AM
> To: Su, Simei ; tho...@monjalon.net;
> andrew.rybche...@oktetlabs.ru; Rybalchenko, Kirill
> ; Zhang, Qi Z
> Cc: dev@dpdk.org; Wu, Wenjun1
> Subject: Re: [RFC v3 0/3]
Because of share code update, "ice_ptp_init_phc" API for E810/E822 depends
on PHY configuration, not whether the device is E810 based. So before this
API is called, assign specific value to phy cfg.
Fixes: 646dcbe6c701 ("net/ice: support IEEE 1588 PTP")
Cc: sta...@dpdk.org
This patch fixes coverity issue by avoiding use of null pointer
in taking false branch.
Coverity issue: 373360
Fixes: 437dbd2fd428 ("net/ice: support 1PPS")
Signed-off-by: Simei Su
---
drivers/net/ice/ice_ethdev.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
The Timestamp Overlay feature is available only in 32B Flex Descriptors.
This patch adds compile option when in 16B Flex Descriptors.
Fixes: 953e74e6b73a ("net/ice: enable Rx timestamp on flex descriptor")
Fixes: 646dcbe6c701 ("net/ice: support IEEE 1588 PTP")
Sig
iptor")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
drivers/net/iavf/iavf_vchnl.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c
index 4327c5a..729400c 100644
--- a/drivers/net/iavf/iavf_vchnl.c
++
This patch adds per queue offload check to turn off Rx timestamp
offload by default.
Fixes: b5cd735132f6 ("net/iavf: enable Rx timestamp on flex descriptor")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
v2:
* Refine commit log.
---
drivers/net/iavf/iavf_vchnl.c | 3 ++-
1 file
This patch adds support to enable per-queue Rx offloads so that
it can convey the configuration to PMD.
Signed-off-by: Simei Su
---
examples/ptpclient/ptpclient.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/examples/ptpclient/ptpclient.c b/examples/ptpclient
p 0x1
Signed-off-by: Simei Su
---
v2:
* Change patchset to one patch based on share code update.
* Change per device offload to per queue offload.
drivers/net/ice/ice_ethdev.c | 228 ++-
drivers/net/ice/ice_ethdev.h | 5 +
drivers/net/ice/ice_rxtx.c
for test command is as below:
./build/app/dpdk-testpmd -w af:00.0,pps_out='[pin:2]' -c f -n 4 -- -i
Signed-off-by: Simei Su
---
drivers/net/ice/ice_ethdev.c | 196 +++
drivers/net/ice/ice_ethdev.h | 15
2 files changed, 211 insertions(+)
di
ff-by: Simei Su
---
v3:
* Rework code to support scalar path only.
* Update the doc/guides/nics/features/ice.ini to add "Timesync" feature.
* Add release notes.
v2:
* Change patchset to one patch based on share code update.
* Change per device offload to per queue offload.
doc/guide
101 - 200 of 451 matches
Mail list logo