> -Original Message-
> From: Bruce Richardson
> Sent: Thursday, August 31, 2023 8:34 PM
> To: dev@dpdk.org
> Cc: Richardson, Bruce ; Wu, Jingjing
> ; sta...@dpdk.org
> Subject: [PATCH v2 3/4] net/iavf: fix restart of Rx queue on reconfigure
>
> After reconfiguring an RX queue the mbuf_
> -Original Message-
> From: Zhang, Qi Z
> Sent: Monday, September 4, 2023 9:15 AM
> To: Bruce Richardson ; dev@dpdk.org
> Cc: Richardson, Bruce ; Wu, Jingjing
> ; sta...@dpdk.org
> Subject: RE: [PATCH v2 3/4] net/iavf: fix restart of Rx queue on reconfigure
>
>
>
> > -Original Mes
I'm sorry, I think the checking logic is certainly right after I read
more codes in other drivers. I just wanted to use the i40e_xmit_pkts()
function to send packets via testpmd. I noticed that the
tx_simple_allowed should be false if I want to use the function to send
packets. So, I'm studying
> -Original Message-
> From: Richardson, Bruce
> Sent: Thursday, August 31, 2023 8:34 PM
> To: dev@dpdk.org
> Cc: Richardson, Bruce ; Lu, Wenzhuo
> ; Wu, Jingjing ;
> sta...@dpdk.org
> Subject: [PATCH v2 2/4] net/iavf: fix buffer leak on Tx queue stop
>
> When a queue is stopped all bu
> -Original Message-
> From: Lu, Wenzhuo
> Sent: Monday, September 4, 2023 10:18 AM
> To: Richardson, Bruce ; dev@dpdk.org
> Cc: Wu, Jingjing ; sta...@dpdk.org
> Subject: RE: [PATCH v2 2/4] net/iavf: fix buffer leak on Tx queue stop
>
>
>
> > -Original Message-
> > From: Rich
Thanks for your reply, I'll fix them next version.
On 2023/9/1 19:54, David Marchand wrote:
On Fri, Sep 1, 2023 at 11:35 AM wrote:
From: Renyong Wan
Adding minimum PMD code, doc and build infrastructure for sssnic.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'Tit
From: Renyong Wan
Adding minimum PMD code, doc and build infrastructure for sssnic.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'Title underline too short' in doc/guides/nics/sssnic.rst.
* Removed error.h from including files.
v5:
* Fixed rebase mistake.
* Fixed inco
From: Renyong Wan
Adding log macros to print runtime messages and trace functions.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 13
drivers/net/sssnic/sssnic_log.h| 51 ++
2 files changed, 64 insertions
From: Renyong Wan
Register device ID for 3SNIC ethernet adapter to support
PCI ethdev probe and remove.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_hw.h | 11 +
drivers/net/sssnic/sssnic_ethdev.c | 37 +
2 files
From: Renyong Wan
Initializing hardware base make hardware ready to be access.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/meson.build | 13 ++
drivers/net/sssnic/base/sssnic_hw.c | 207 +++
drivers/net/sssnic/base/sssnic_hw.h
From: Renyong Wan
Event queue is intended for receiving event from hardware as well
as mailbox response message.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v4:
* Fixed dereferencing type-punned pointer.
* Fixed coding style issue of COMPLEX_MACRO.
---
drivers/net/sssnic/base/me
From: Renyong Wan
sssnic message is used to encapsulate sssnic command for transmission
between driver and firmware. sssnic message is sent by driver via mail
box and is received by driver via event queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from inc
From: Renyong Wan
Work queue is used to maintain hardware queue information by
driver, it is usually used in control queue, rx queue
and tx queue.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/base/meson.build|
From: Renyong Wan
Mailbox is a message channel used to communicate between PF and
VF as well as driver and hardware functions.
Mailbox messages are received by driver through event queue, and
sent by driver through registers of mailbox.
There are two transfer modes for sending mailbox message, on
From: Renyong Wan
Control queue is used for communication between driver and datapath code
of firmware.
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed variable 'cmd_len' is uninitialized when used.
---
drivers/net/sssnic/base/meson.build| 2 +
drivers/net/sssnic/b
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 174 +
drivers/net/sssnic/base/sssnic_api.h | 4 +
drivers/net/sssnic/base/sssnic_cmd.h | 25 +++
drivers/net/sssn
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_ethdev.h| 2 +
drivers/net/sssnic/sssnic_eth
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'EINVAL' undeclared.
---
doc/guides/nics/features/sssnic.ini| 1 +
drivers/net/sssnic/base/meson.build| 1 +
drivers/net/sssnic/base/sssnic_exception.c | 116 +
drive
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c| 127
drivers/net/sssnic/base/sssnic_api.h| 14 +++
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 155 ++
drivers/net/sssnic/sssnic_ethdev_tx.h | 4 +
4 fil
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 33
drivers/net/sssnic/base/sssnic_api.h | 8 +++
drivers/net/sssnic/base/sssnic_cmd.h | 14 +
drivers/net/sssnic/base/sssnic_hw.c | 33 +++-
drivers/ne
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_hw.c | 14 +++
drivers/net/sssnic/base/sssnic_hw.h | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_et
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
v4:
* Fixed coding style issue of REPEATED_WORD.
---
drivers/net/sssnic/meson.build| 1 +
drivers/net/sssnic/sssnic_ethdev.c| 4 +
drivers/net/sssnic/sssnic_
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 32 ++
1 file changed, 32 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index 8201a1e3c4..b59c4fd3
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 63 +
drivers/net/sssnic/base/sssnic_api.h | 2 +
drivers/net/sssnic/base/sssnic_cmd.h | 49
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssn
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 508 ++
drivers/net/sssnic/base/sssnic_api.h | 257 +
drivers/net/sssnic/base/sssnic_cmd.h | 100 +
drivers/net/sssnic/base/sssnic_misc.
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c | 72 +
2 files changed, 74 insertions(+)
diff --git a/doc/guides/nics/features/sssnic.ini
b/doc/guides/nics
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/sssnic_ethdev.c| 2 +
drivers/net/sssnic/sssnic_ethdev_rx.c | 167 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 3 +
drivers/net/sssnic/base/sssnic_api.c | 154 +
drivers/net/sssnic/base/sssnic_api.h | 116 +++
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed wrong format of printing uint64_t.
---
doc/guides/nics/features/sssnic.ini | 5 +
drivers/net/sssnic/sssnic_ethdev.c| 1 +
drivers/net/sssnic/sssnic_ethdev_tx.c | 404 ++
d
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 2 +
drivers/net/sssnic/base/sssnic_api.c | 34 +++
drivers/net/sssnic/base/sssnic_api.h | 1 +
drivers/net/sssnic/base/sssnic_cmd.h | 9 +++
drivers/net/sssnic/sssnic_
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini| 4 +
drivers/net/sssnic/base/sssnic_api.c | 338 ++
drivers/net/sssnic/base/sssnic_api.h | 36 +++
dri
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 68
drivers/net/sssnic/base/sssnic_api.h | 4 ++
drivers/net/sssnic/base/sssnic_cmd.h | 11 +
driver
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c| 2 ++
drivers/net/sssnic/sssnic_ethdev_rx.c | 13 +
drivers/net/sssnic/sssnic_ethdev_rx.h | 2 ++
drivers/net/sssnic/sssnic_ethdev_tx.c | 11 +++
drivers/ne
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
doc/guides/nics/features/sssnic.ini | 1 +
drivers/net/sssnic/base/sssnic_api.c | 36
drivers/net/sssnic/base/sssnic_api.h | 9 +++
drivers/net/sssnic/base/sssnic_cmd.h | 8 +++
From: Renyong Wan
In comparison to PF, VF PMD does not support the following features:
1. link up and link down set
2. promiscuous enable and disable
3. MAC stats in extend xstats
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/base/sssnic_api.c | 42
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
v2:
* Fixed 'mask->hdr.src_addr' will always evaluate to 'true'.
* Removed error.h from including files.
---
doc/guides/nics/features/sssnic.ini | 12 +
drivers/net/sssnic/base/sssnic_api.c| 264 ++
driv
From: Renyong Wan
Signed-off-by: Steven Song
Signed-off-by: Renyong Wan
---
drivers/net/sssnic/sssnic_ethdev.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/sssnic/sssnic_ethdev.c
b/drivers/net/sssnic/sssnic_ethdev.c
index a00e96bebe..b086e91d2d 100644
--- a/drivers/n
This patchset is to support setting and querying RSS algorithms.
--
v3:
1. fix commit log for PATCH [1/5].
2. make RSS ABI changes description to start the actual text at the margin.
3. move defnition of enum rte_eth_hash_function to rte_ethdev.h.
4. fix some comment codes.
v2:
1. return error if
Command show-port should show RSS info (rss_key, len and rss_hf),
However, the information is showned only when rss_conf.rss_key is not
NULL. Since no memory is allocated for rss_conf.rss_key, rss_key
will always be NULL and the rss_info will never show. This patch
allocates memory for rss_conf.rss
This patch splits the length and value of RSS key into two parts,
removes spaces between RSS keys, and adds line breaks between RSS
key and RSS hf.
Before the adjustment, RSS info is shown as:
- RSS
-- RSS len 40 key (hex): 6d 5a 56 da 25 5b e c2 41 67 \
25 3d 43 a3 8f b0
Display RSS hash algorithm with command show-port as below.
- RSS info
-- hash algorithm : toeplitz
Signed-off-by: Jie Hai
Signed-off-by: Dongdong Liu
---
app/proc-info/main.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/app/proc-info/main.c b/app/proc-in
1. Add the command "show port X rss-hash func" to display the RSS hash
algorithms of port X.
2. Add the command "show port X rss-hash all" to display the RSS hash
configuration of port X, including RSS hash types, key and algorithms.
Signed-off-by: Jie Hai
---
app/test-pmd/cmdline.c | 50 +++
Add command "port config rss-hash-func " to set RSS
hash algorithms.
Signed-off-by: Jie Hai
---
app/test-pmd/cmdline.c | 78 --
app/test-pmd/config.c | 16 -
app/test-pmd/testpmd.h | 3 +-
3 files changed, 84 insertions(+), 13 deletions(-)
diff
On 2023/8/31 8:10, Ajit Khaparde wrote:
On Wed, Aug 30, 2023 at 4:46 AM Thomas Monjalon wrote:
Hello,
Thanks for bringing a new capability.
26/08/2023 09:46, Jie Hai:
Currently, rte_eth_rss_conf supports configuring and querying
rss hash functions, rss key and it's length, but not rss hash
> -Original Message-
> From: Konstantin Ananyev
> Sent: Friday, September 1, 2023 10:23 PM
> To: Feifei Wang ; Konstantin Ananyev
>
> Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli
> ; Ruifeng Wang
> ; Yuying Zhang ; Beilei
> Xing ; nd ; nd
> Subject: RE: [PATCH v11 2/4] net/i40e: implem
46 matches
Mail list logo