From: Simei Su
[PATCH 1/2] ethdev: add new hash function "Symmetric Toeplitz" supported by
hardware.
[PATCH 2/2] app/testpmd: add command line support for symmetric toeplitz hash
configuration.
Simei Su (2):
ethdev: add symmetric toeplitz hash support
app/testpmd: add symmetri
From: Simei Su
Currently, there are DEFAULT,TOEPLITZ and SIMPLE_XOR hash funtion.
To support symmetric hash by rte_flow RSS action, this patch adds
new hash function "Symmetric Toeplitz" which is supported by some hardware.
Signed-off-by: Simei Su
---
lib/librte_ethdev/rte_flow.
From: Simei Su
This patch adds command line support for Symmetric Toeplitz
hash configuration.
Signed-off-by: Simei Su
---
app/test-pmd/cmdline.c | 12 +---
app/test-pmd/cmdline_flow.c | 12 +++-
doc/guides/testpmd_app_ug/testpmd_funcs.rst
From: Simei Su
This RFC reserves several bits as input set selection from
bottom of the 64 bits. The flow type is combined with input set
to represent rss types.
for example:
ETH_RSS_IPV4 | ETH_RSS_L3_SRC_ONLY: hash on src ip address only
ETH_RSS_IPV4_UDP | ETH_RSS_L4_DST_ONLY: hash on
From: Simei Su
This RFC reserves several bits as input set selection from bottom
of the 64 bits. The flow type is combined with input set to
represent rss types.
Correct the input set mask to align with the definition in rte_ethdev.h.
for example:
ETH_RSS_IPV4 | ETH_RSS_INSET_L3_SRC: hash
From: Simei Su
Currently, there are DEFAULT,TOEPLITZ and SIMPLE_XOR hash function.
To support symmetric hash by rte_flow RSS action, this patch adds
new hash function "Symmetric Toeplitz" which is supported by some hardware.
Signed-off-by: Simei Su
---
lib/librte_ethdev/rte_flow.
From: Simei Su
This v2 patch rebase to 19.08-rc2.
[PATCH v2 1/2] ethdev: add new hash function "Symmetric Toeplitz" supported by
hardware.
[PATCH v2 2/2] app/testpmd: add command line support for symmetric toeplitz
hash configuration.
Simei Su (2):
ethdev: add symmetric toe
From: Simei Su
This patch adds command line support for Symmetric Toeplitz
hash configuration.
Signed-off-by: Simei Su
---
app/test-pmd/cmdline.c | 12 +---
app/test-pmd/cmdline_flow.c | 12 +++-
doc/guides/testpmd_app_ug/testpmd_funcs.rst
From: Simei Su
Make it easier to represent to define macro values as (1ULL << ###).
This RFC reserves several bits as input set selection from bottom
of the 64 bits. The flow type is combined with input set to
represent rss types.
for example:
ETH_RSS_IPV4 | ETH_RSS_INSET_L3_SRC: h
From: Simei Su
This RFC cover two aspects:
(1)decouple RTE_ETH_FLOW_* and ETH_RSS_*. Because both serve
different purposes.
(2)reserve several bits as input set selection from bottom
of the 64 bits.It is combined with exisiting ETH_RSS_* to
represent rss types.
for
From: Simei Su
[PATCH 1/2] ethdev: add several bits for extending rss offload types.
[PATCH 2/2] app/testpmd: add cmdline support for extending rss types.
Simei Su (2):
ethdev: extend RSS offload types
app/testpmd: add RSS offload types extending support
app/test-pmd/config.c
From: Simei Su
This patch adds cmdline support for extended rss types configuration.
Signed-off-by: Simei Su
---
app/test-pmd/config.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 1a5a5c1..b95bd43 100644
--- a/app/test-pmd
From: Simei Su
This patch cover two aspects:
(1)decouple RTE_ETH_FLOW_* and ETH_RSS_*. Because both serve
different purposes.
(2)reserve several bits as input set selection from bottom
of the 64 bits. It is combined with exisitingi ETH_RSS_* to
represent rss types
From: Simei Su
Add new field SYMMETRIC_TOEPLITZ in rte_eth_hash_function. This
can support symmetric hash function by rte_flow RSS action.
Signed-off-by: Simei Su
---
doc/guides/rel_notes/deprecation.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/doc/guides/rel_notes
From: Simei Su
Currently, there are DEFAULT,TOEPLITZ and SIMPLE_XOR hash funtion.
To support symmetric hash by rte_flow RSS action, this RFC introduces
SYMMETRIC_TOEPLITZ to rte_eth_hash_function.
Signed-off-by: Simei Su
---
lib/librte_ethdev/rte_flow.h | 1 +
1 file changed, 1 insertion
From: Simei Su
Add new structure inputset in rte_flow_action_rss. This
can support input set configuration by rte_flow RSS action.
Signed-off-by: Simei Su
---
doc/guides/rel_notes/deprecation.rst | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/guides/rel_notes/deprecation.rst
b
From: Simei Su
This RFC introduces inputset structure to rte_flow_action_rss to
support input set specific configuration by rte_flow RSS action.
We can give an testpmd command line example to make it more clear.
For example, below flow selects the l4 port as inputset for any
eth/ipv4/tcp
The RX stats will increase even no packets sent, this patch fix this issue
by modifying ipackets and ibytes statistics based on vsi instead of port
to avoid statistics error.
Fixes: a37bde56314d ("net/ice: support statistics")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
drive
Fix the incorrect ingress and egress packet number calculation.
Fixes: 7514d76d407b ("net/idpf: add basic statistics")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
drivers/net/idpf/idpf_ethdev.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/driver
Fix the incorrect ingress and egress packet number calculation.
Fixes: e3289d8fb63f ("net/cpfl: support basic statistics")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
drivers/net/cpfl/cpfl_ethdev.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/driver
sta...@dpdk.org
Signed-off-by: Simei Su
---
drivers/net/i40e/i40e_ethdev.c | 47 +-
1 file changed, 10 insertions(+), 37 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c
index 7726a89d..e21e4d9 100644
--- a/driver
> > > Does it break all the application or just a specific application?
> > >
> > > I don't see how it would not affect all applications seeing how the
> > > original patch is dumb.
> > >
> > > > We may need to understand the i
Hi David,
> -Original Message-
> From: David Marchand
> Sent: Monday, January 16, 2023 7:19 PM
> To: Su, Simei
> Cc: Xing, Beilei ; Zhang, Yuying
> ; dev@dpdk.org; Zhang, Qi Z
> ; Yang, Qiming ;
> sta...@dpdk.org; Zhang, Helin
> Subject: Re: [PATCH] net/i40e
> -Original Message-
> From: Stephen Hemminger
> Sent: Tuesday, January 17, 2023 8:15 AM
> To: dev@dpdk.org
> Cc: Stephen Hemminger ; Su, Simei
> ; Wu, Wenjun1 ; Burakov,
> Anatoly
> Subject: [PATCH v3 3/7] net/e1000: fix whitespace
>
> The style
Hi Qi,
> -Original Message-
> From: Zhang, Qi Z
> Sent: Tuesday, January 17, 2023 10:25 AM
> To: Su, Simei ; Guo, Junfeng
> Cc: dev@dpdk.org; Wu, Wenjun1
> Subject: RE: [PATCH 1/3] net/igc: code refactoring
>
>
>
> > -Original Message-
>
[PATCH v2 1/3] code refactoring.
[PATCH v2 2/3] add related definitions for ptp timesync.
[PATCH v2 3/3] add IEEE1588 API to support timesync.
v2:
* Refine commit log.
* Update the doc/guides/nics/features/igc.ini to add "Timesync" feature.
* Add release notes.
Simei Su (3):
net
This patch moves some structures from rxtx.c to rxtx.h for the
timesync enabling feature. For example, variables in "igc_rx_queue"
structure can be used by variables both in igc_ethdev.c and igc_txrx.c
more conveniently. It is also consistent with other PMD coding styles.
Signed-off-by
Add definitions for timesync enabling.
Signed-off-by: Simei Su
---
drivers/net/igc/base/igc_defines.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/igc/base/igc_defines.h
b/drivers/net/igc/base/igc_defines.h
index 61964bc..dd7330a 100644
--- a/drivers/net/igc
Add igc support for new ethdev APIs to enable/disable and read/write/adjust
IEEE1588 PTP timestamps.
The example command for running ptpclient is as below:
./build/examples/dpdk-ptpclient -c 1 -n 3 -- -T 0 -p 0x1
Signed-off-by: Simei Su
---
doc/guides/nics/features/igc.ini | 1 +
doc
Hi David,
> -Original Message-
> From: David Marchand
> Sent: Friday, January 20, 2023 3:34 PM
> To: Su, Simei
> Cc: Xing, Beilei ; Zhang, Yuying
> ; dev@dpdk.org; Zhang, Qi Z
> ; Yang, Qiming ;
> sta...@dpdk.org; Zhang, Helin
> Subject: Re: [PATCH] net/i40e
> -Original Message-
> From: David Marchand
> Sent: Friday, January 20, 2023 10:47 PM
> To: Su, Simei
> Cc: Xing, Beilei ; Zhang, Yuying
> ; dev@dpdk.org; Zhang, Qi Z
> ; Yang, Qiming ;
> sta...@dpdk.org; Zhang, Helin ; Mcnamara, John
>
> Subject: Re: [P
me Rx with X722")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
v2:
* Refine commit log.
* Add link update.
drivers/net/i40e/i40e_ethdev.c | 54 +++---
1 file changed, 14 insertions(+), 40 deletions(-)
diff --git a/drivers/net/i40e/i40e_ethdev.c b/driver
me Rx with X722")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
v3:
* Put link update before interrupt enable.
v2:
* Refine commit log.
* Add link update.
drivers/net/i40e/i40e_ethdev.c | 58 +++---
1 file changed, 15 insertions(+), 43 deletions(-)
[PATCH v2 1/2] expose packet pacing registers
[PATCH v2 2/2] enable launch time offloading
v2:
* Refine title and commit log.
* Add release notes.
* Rename variable name.
Simei Su (2):
net/igc/base: expose packet pacing registers
net/igc: enable launch time offloading
doc/guides/rel_notes
Add definitions for packet pacing(launch time offloading) related
registers.
Signed-off-by: Simei Su
---
drivers/net/igc/base/igc_defines.h | 9 +
drivers/net/igc/base/igc_regs.h| 8
2 files changed, 17 insertions(+)
diff --git a/drivers/net/igc/base/igc_defines.h
b
leveraging
offload flag "RTE_ETH_TX_OFFLOAD_SEND_ON_TIMESTAMP". We should set
the expected launchtime to the advanced transmit descriptor.
Signed-off-by: Simei Su
---
doc/guides/rel_notes/release_23_03.rst | 2 +-
drivers/net/igc/igc_ethdev.c | 70 ++
d
[PATCH v3 1/2] expose packet pacing registers
[PATCH v3 2/2] enable launch time offloading
v3:
* Fix coding style issue.
v2:
* Refine title and commit log.
* Add release notes.
* Rename variable name.
Simei Su (2):
net/igc/base: expose packet pacing registers
net/igc: enable launch time
Add definitions for packet pacing(launch time offloading) related
registers.
Signed-off-by: Simei Su
---
drivers/net/igc/base/igc_defines.h | 9 +
drivers/net/igc/base/igc_regs.h| 8
2 files changed, 17 insertions(+)
diff --git a/drivers/net/igc/base/igc_defines.h
b
leveraging
offload flag "RTE_ETH_TX_OFFLOAD_SEND_ON_TIMESTAMP". We should set
the expected launchtime to the advanced transmit descriptor.
Signed-off-by: Simei Su
---
doc/guides/rel_notes/release_23_03.rst | 2 +-
drivers/net/igc/igc_ethdev.c | 70 ++
d
e maximum frame size at port level")
Fixes: 2184f7cdeeaa ("net/i40e: fix max frame size config at port level")
Fixes: 719469f13b11 ("net/i40e: fix jumbo frame Rx with X722")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
v4:
* Refine commit log.
* Avoid duplicate call
e maximum frame size at port level")
Fixes: 2184f7cdeeaa ("net/i40e: fix max frame size config at port level")
Fixes: 719469f13b11 ("net/i40e: fix jumbo frame Rx with X722")
Cc: sta...@dpdk.org
Signed-off-by: Simei Su
---
v5:
* Fix misspelling in commit log.
v4:
* Refine c
Hi Stephen,
> -Original Message-
> From: Stephen Hemminger
> Sent: Friday, February 3, 2023 8:31 AM
> To: Su, Simei
> Cc: Zhang, Qi Z ; Guo, Junfeng
> ; dev@dpdk.org; Wu, Wenjun1
>
> Subject: Re: [PATCH v3 2/2] net/igc: enable launch time offloading
>
>
Hi David,
> -Original Message-
> From: David Marchand
> Sent: Thursday, February 2, 2023 8:56 PM
> To: Su, Simei ; Zhang, Qi Z
> Cc: Xing, Beilei ; Zhang, Yuying
> ; dev@dpdk.org; Yang, Qiming
> ; sta...@dpdk.org
> Subject: Re: [PATCH v5] net/i40e: r
Hi David,
> -Original Message-
> From: David Marchand
> Sent: Thursday, February 2, 2023 9:24 PM
> To: Su, Simei
> Cc: Xing, Beilei ; Zhang, Yuying
> ; dev@dpdk.org; Zhang, Qi Z
> ; Yang, Qiming ;
> sta...@dpdk.org
> Subject: Re: [PATCH v5] net/i40e
This patch replaces flex Tx descriptor with base Tx descriptor to align
with kernel driver practice.
Signed-off-by: Simei Su
---
v2:
* Refine commit title and commit log.
* Remove redundant definition.
* Modify base mode context TSO descriptor.
drivers/common/idpf/idpf_common_rxtx.c
This patch replaces flex Tx descriptor with base Tx descriptor to align
with kernel driver practice.
Signed-off-by: Simei Su
---
v3:
* Change context TSO descriptor from base mode to flex mode.
v2:
* Refine commit title and commit log.
* Remove redundant definition.
* Modify base mode context
commit title and commit log.
* Remove redundant definition.
* Modify base mode context TSO descriptor.
Simei Su (3):
common/idpf: refactor single queue Tx data path
net/idpf: refine Tx queue setup
net/cpfl: refine Tx queue setup
drivers/common/idpf/idpf_common_rxtx.c| 39
This patch refines Tx single queue setup to align with Tx data path.
Signed-off-by: Simei Su
Acked-by: Wenjun Wu
---
drivers/net/idpf/idpf_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/idpf/idpf_rxtx.c b/drivers/net/idpf/idpf_rxtx.c
index 3e3d81ca6d
Currently, single queue Tx data path uses flex Tx data descriptor
which is changed in the latest idpf spec. This patch replaces flex
Tx data descriptor with base Tx data descriptor for single queue Tx
data path.
Signed-off-by: Simei Su
Acked-by: Wenjun Wu
---
drivers/common/idpf
This patch refines Tx single queue setup to align with Tx data path.
Signed-off-by: Simei Su
Acked-by: Wenjun Wu
---
drivers/net/cpfl/cpfl_rxtx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/cpfl/cpfl_rxtx.c b/drivers/net/cpfl/cpfl_rxtx.c
index 2ef6871a85
: Simei Su
Acked-by: Wenjun Wu
Acked-by: Beilei Xing
---
drivers/common/idpf/idpf_common_rxtx.c| 39 +--
drivers/common/idpf/idpf_common_rxtx.h| 2 +-
drivers/common/idpf/idpf_common_rxtx_avx512.c | 37 +-
drivers/net/cpfl/cpfl_rxtx.c
This patch set updates idpf base code.
v3:
* Fix coding style issue.
* Modify unexpected error in the update version patch.
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
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
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
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 91d8cca78f..d8782cd67e 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
Update README
Signed-off-by: Simei Su
---
drivers/common/idpf/base/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/idpf/base/README b/drivers/common/idpf/base/README
index 693049c057..ff26f736ec 100644
--- a/drivers/common/idpf/base/README
+++ b/drivers
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.
* Fix coding style issue.
Simei Su (18):
common/idpf: refactor single queue Tx data path
common/idpf/base: enable support for physical port stats
common/idpf/base: add miss completion capabilities
common/idpf/base: initial PTP support
common/idpf/base: remove mailbox registers
: Simei Su
Acked-by: Wenjun Wu
Acked-by: Beilei Xing
---
drivers/common/idpf/idpf_common_rxtx.c| 39 +--
drivers/common/idpf/idpf_common_rxtx.h| 2 +-
drivers/common/idpf/idpf_common_rxtx_avx512.c | 37 +-
drivers/net/cpfl/cpfl_rxtx.c
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
Acked-by: Beilei Xing
---
.mailmap | 2 +
drivers/common/idpf/base/virtchnl2.h | 80
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
Acked-by: Beilei Xing
---
.mailmap | 1 +
drivers/common/idpf/base
Chittim
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
.mailmap | 1 +
drivers/common/idpf/base/siov_regs.h | 13 ++---
2 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/.mailmap b/.mailmap
index 91d8cca78f..d8782cd67e 100644
--- a/.mailmap
.
Signed-off-by: Milena Olech
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
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
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
Acked-by: Beilei Xing
---
.mailmap
Add necessary check for payload and message buffer.
Signed-off-by: Julianx Grajkowski
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
.mailmap | 1 +
drivers/common/idpf/base/idpf_common.c | 6 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git
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
Acked-by: Beilei Xing
---
.mailmap | 1 +
drivers/common/idpf/base/idpf_controlq_api.h | 5
) 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
Acked-by: Beilei Xing
---
drivers/common/idpf/base
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
Acked-by: Beilei Xing
---
drivers/common/idpf/base/idpf_controlq.c | 43 +---
1 file c
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
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
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
Acked-by: Beilei Xing
---
drivers/common/idpf/base/idpf_controlq.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers
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-by: S
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
Acked-by: Beilei Xing
---
drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 ++---
drivers/common/idpf/base/idpf_lan_txrx.h| 116
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
Acked-by: Beilei Xing
---
driv
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
Acked-by: Beilei Xing
---
drivers/common/idpf/base/idpf_controlq.c | 5 ++---
drivers/common/idpf/base/idpf_controlq_setup.c
Remove the unused TX descriptor types and mark them as reserved.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
drivers/common/idpf/base/idpf_lan_txrx.h | 132 ++-
1 file changed, 10 insertions(+), 122 deletions(-)
diff --git a/drivers
Update README
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
drivers/common/idpf/base/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/idpf/base/README b/drivers/common/idpf/base/README
index 693049c057..ff26f736ec 100644
--- a/drivers/common/idpf
update version patch.
v2:
* Add two patches for share code update.
* Add version update.
* Fix coding style issue.
Simei Su (11):
common/idpf: refactor single queue Tx data path
common/idpf/base: enable support for physical port stats
common/idpf/base: add miss completion capabilities
: Simei Su
Acked-by: Wenjun Wu
Acked-by: Beilei Xing
---
drivers/common/idpf/idpf_common_rxtx.c| 39 +--
drivers/common/idpf/idpf_common_rxtx.h| 2 +-
drivers/common/idpf/idpf_common_rxtx_avx512.c | 37 +-
drivers/net/cpfl/cpfl_rxtx.c
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
Acked-by: Beilei Xing
---
.mailmap | 2 +
drivers/common/idpf/base/virtchnl2.h | 80
Add miss completion tag in other capability flags 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
Acked-by: Beilei Xing
---
.mailmap | 1 +
drivers/common/idpf/base
capabilities.
Signed-off-by: Milena Olech
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
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
Remove mailbox register offsets because individual drivers will define
the offsets based on how registers address the registers.
Signed-off-by: Madhu Chittim
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
.mailmap | 1 +
drivers/common/idpf/base/siov_regs.h
a) Refine queue chunk and vector chunk structures.
b) Add non_flex prefix to distinguish the flex array definitions.
c) Add some specific fields.
d) Refine condition check.
Signed-off-by: Shailendra Bhatnagar
Signed-off-by: Julianx Grajkowski
Signed-off-by: Simei Su
Acked-by: Beilei Xing
Instead of using something like a byte offset, we can add a union to the
struct to enable direct addressing.
Signed-off-by: Alan Brady
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
.mailmap | 1 +
drivers/common/idpf/base/idpf_controlq_api.h | 5
a) Refine double pointer with a local pointer.
b) Refine return type for function instead of only returning success.
c) Remove unnecessary check and comments.
d) Use tab spaces and new lines wherever necessary.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
Acked-by: Beilei Xing
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
Acked-by: Beilei Xing
---
drivers/common/idpf/base/idpf_lan_pf_regs.h | 26 ++---
drivers/common/idpf/base/idpf_lan_txrx.h| 116
Update README
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
drivers/common/idpf/base/README | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/idpf/base/README b/drivers/common/idpf/base/README
index 693049c057..ff26f736ec 100644
--- a/drivers/common/idpf
Remove the unused TX descriptor types and mark them as reserved.
Signed-off-by: Pavan Kumar Linga
Signed-off-by: Simei Su
Acked-by: Beilei Xing
---
drivers/common/idpf/base/idpf_lan_txrx.h | 136 ++-
1 file changed, 12 insertions(+), 124 deletions(-)
diff --git a/drivers
1 - 100 of 451 matches
Mail list logo