Re: [dpdk-dev] [PATCH v3] vhost: enable IOMMU for async vhost

2021-06-21 Thread Ding, Xuan
Hi Maxime, Replies are inline. > -Original Message- > From: Maxime Coquelin > Sent: Saturday, June 19, 2021 12:18 AM > To: Ding, Xuan ; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Pai G, Sunil > ; Richardson, Bruce ; Van > Haaren, Harry ; Liu, Yong > Subject: Re: [PATCH v3] vhost:

Re: [dpdk-dev] [PATCH v1 1/2] net/i40e: improve performance for scalar Tx

2021-06-21 Thread Xing, Beilei
> -Original Message- > From: Feifei Wang > Sent: Thursday, May 27, 2021 4:17 PM > To: Xing, Beilei > Cc: dev@dpdk.org; n...@arm.com; Feifei Wang ; > Ruifeng Wang > Subject: [PATCH v1 1/2] net/i40e: improve performance for scalar Tx > > For i40e scalar Tx path, if implement FAST_FREE_

[dpdk-dev] Canceled: DTS improvement WG - Debate/triag inputs - Extending for next 5 weeks

2021-06-21 Thread Honnappa Nagarahalli
Cancelling this week as Lincoln and I are on vacation. Thanks, Honnappa Hello, We will continuing debating/triaging the inputs from [1]. As discussed, I am blocking the calendar for next 4 weeks. Thank you, Honnappa [1] https://docs.google.com/document/d/1c5S0_mZzFv

Re: [dpdk-dev] [PATCH] net/i40e: fix L2 payload RSS mask input set

2021-06-21 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Xing, Beilei > Sent: Monday, June 21, 2021 4:39 PM > To: Zhang, AlvinX > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix L2 payload RSS mask input set > > > > > -Original Message- > > From: Zhang

Re: [dpdk-dev] [RFC v2] porting AddressSanitizer feature to DPDK

2021-06-21 Thread Lin, Xueqin
> -Original Message- > From: David Marchand > Sent: Friday, June 18, 2021 5:04 PM > To: Lin, Xueqin > Cc: Jerin Jacob ; Peng, ZhihongX > ; Burakov, Anatoly > ; Ananyev, Konstantin > ; Stephen Hemminger > ; dpdk-dev > Subject: Re: [dpdk-dev] [RFC v2] porting AddressSanitizer feature to DP

[dpdk-dev] [PATCH v3 2/2] examples/l2fwd: remove mac-updating option

2021-06-21 Thread SunChengLian
The "mac-updating" option can be removed since the associated mac_updating variable is set to 1 by default. Signed-off-by: SunChengLian Reviewed-by: David Marchand --- examples/l2fwd/main.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/examples/l2fwd/main.c b

[dpdk-dev] [PATCH v3 1/2] examples/l2fwd: fix long option parsing

2021-06-21 Thread SunChengLian
For l2fwd, --no-mac-updating and --mac-updating are treated as invalid arguments.Rework long options parsing to let --no-mac-updating and --mac-updating options work well. Fixes: fa19eb20d212 ("examples/l2fwd: add forwarding port mapping option") Cc: vattun...@marvell.com Cc: sta...@dpdk.org Sign

Re: [dpdk-dev] [PATCH] net/e1000: fix nic ops function was no initialized in secondary process

2021-06-21 Thread Wang, Haiyue
From: 张 杨 Sent: Monday, June 21, 2021 16:35 To: Wang, Haiyue Cc: dev@dpdk.org; Zhang, Qi Z ; Lin, Xueqin Subject: Re: [PATCH] net/e1000: fix nic ops function was no initialized in secondary process 发件人: Wang, Haiyue 发送时间: 2021年6月21日星期一 15:31 收件人: Tengfei Zhang

[dpdk-dev] 回复: [PATCH v1 1/2] devtools: add relative path support for ABI compatibility check

2021-06-21 Thread Feifei Wang
Hi, Bruce Would you please help review this patch series? Thanks. Best Regards Feifei > -邮件原件- > 发件人: Feifei Wang > 发送时间: 2021年6月1日 9:57 > 收件人: Bruce Richardson > 抄送: dev@dpdk.org; nd ; Phil Yang ; > Feifei Wang ; Juraj Linkeš > ; Ruifeng Wang > 主题: [PATCH v1 1/2] devtools: add relati

[dpdk-dev] 回复: [PATCH] net/mlx5: fix incorrect r/w lock usage in DMA unmap

2021-06-21 Thread Feifei Wang
Hi, Slava Would you please help review this patch? Thanks. Best Regards Feifei > -邮件原件- > 发件人: Feifei Wang > 发送时间: 2021年5月27日 17:48 > 收件人: Matan Azrad ; Shahaf Shuler > ; Viacheslav Ovsiienko > 抄送: dev@dpdk.org; nd ; Feifei Wang > ; shah...@mellanox.com; sta...@dpdk.org; > Ruifeng Wang

[dpdk-dev] 回复: [PATCH v1 0/2] net/i40e: improve free mbuf

2021-06-21 Thread Feifei Wang
Hi, Qi Can you help review these patches? Thanks very much. Best Regards Feifei > -邮件原件- > 发件人: Feifei Wang > 发送时间: 2021年5月27日 16:17 > 抄送: dev@dpdk.org; nd ; Feifei Wang > > 主题: [PATCH v1 0/2] net/i40e: improve free mbuf > > For i40e Tx path, use bulk free of the buffers when mbuf fas

Re: [dpdk-dev] [RFC PATCH v3 1/3] sched: add PIE based congestion management

2021-06-21 Thread Stephen Hemminger
On Mon, 21 Jun 2021 08:35:04 +0100 "Liguzinski, WojciechX" wrote: > +/** > + * @brief Initialises run-time data > + * > + * @param pie [in,out] data pointer to PIE runtime data > + * > + * @return Operation status > + * @retval 0 success > + * @retval !0 error > + */ > +int > +rte_pie_rt_data_ini

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ananyev, Konstantin
> > On 6/21/2021 3:38 PM, Ananyev, Konstantin wrote: > > > >> > >> On 6/21/2021 1:30 PM, Ananyev, Konstantin wrote: > >>> > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > > Konstantin > > > >>> How can we hide the callbacks since they are used by inline

Re: [dpdk-dev] [PATCH v4] devtools: script to track map symbols

2021-06-21 Thread Stephen Hemminger
On Mon, 21 Jun 2021 16:35:31 +0100 Ray Kinsella wrote: > +def get_terminal_rows(): > +'''Find the number of rows in the terminal''' > + > +rows, _ = os.popen('stty size', 'r').read().split() > +return int(rows) > + Use standard Python function os.get_terminal_size or shutil.get_termi

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] table: fix typo

2021-06-21 Thread Thierry Herbelot
On 6/21/21 6:14 PM, Thomas Monjalon wrote: 21/06/2021 17:54, Thierry Herbelot: On 6/21/21 5:44 PM, Dumitrescu, Cristian wrote: From: Thierry Herbelot On 6/17/21 9:01 AM, Thomas Monjalon wrote: Check Bucket key for all possible indices. Fixes: d0a00966618ba ("table: add exact match SWX table

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] table: fix typo

2021-06-21 Thread Dumitrescu, Cristian
> -Original Message- > From: Thomas Monjalon > Sent: Monday, June 21, 2021 5:15 PM > To: Dumitrescu, Cristian ; Thierry Herbelot > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-stable] [PATCH v2] table: fix typo > > 21/06/2021 17:54, Thierry Herbelot: > > On 6/21/21 5:44 PM

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/test: fix IPv6 header initialization

2021-06-21 Thread Lance Richardson
On Tue, May 11, 2021 at 10:42 AM Lance Richardson wrote: > > On Tue, May 11, 2021 at 10:31 AM David Marchand > wrote: > > > > On Fri, Mar 26, 2021 at 5:37 PM Lance Richardson > > wrote: > > > > > > Fix two issues found when writing PMD unit tests for HW ptype and > > > L4 checksum offload: > > >

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] table: fix typo

2021-06-21 Thread Thomas Monjalon
21/06/2021 17:54, Thierry Herbelot: > On 6/21/21 5:44 PM, Dumitrescu, Cristian wrote: > > From: Thierry Herbelot > >> On 6/17/21 9:01 AM, Thomas Monjalon wrote: > > Check Bucket key for all possible indices. > > > > Fixes: d0a00966618ba ("table: add exact match SWX table") > > Cc:

Re: [dpdk-dev] [PATCH v4 2/2] bus/auxiliary: introduce auxiliary bus

2021-06-21 Thread Thomas Monjalon
13/06/2021 14:58, Xueming Li: > Auxiliary bus [1] provides a way to split function into child-devices > representing sub-domains of functionality. Each auxiliary device > represents a part of its parent functionality. > > Auxiliary device is identified by unique device name, sysfs path: > /sys/b

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ferruh Yigit
On 6/21/2021 3:38 PM, Ananyev, Konstantin wrote: > >> >> On 6/21/2021 1:30 PM, Ananyev, Konstantin wrote: >>> > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > >>> How can we hide the callbacks since they are used by inline burst > functions. >

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] table: fix typo

2021-06-21 Thread Thierry Herbelot
On 6/21/21 5:44 PM, Dumitrescu, Cristian wrote: -Original Message- From: Thierry Herbelot Sent: Thursday, June 17, 2021 8:12 AM To: Thomas Monjalon ; Dumitrescu, Cristian Cc: dev@dpdk.org; sta...@dpdk.org Subject: Re: [dpdk-stable] [PATCH v2] table: fix typo On 6/17/21 9:01 AM, Thom

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] table: fix typo

2021-06-21 Thread Dumitrescu, Cristian
> -Original Message- > From: Thierry Herbelot > Sent: Thursday, June 17, 2021 8:12 AM > To: Thomas Monjalon ; Dumitrescu, Cristian > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [dpdk-stable] [PATCH v2] table: fix typo > > On 6/17/21 9:01 AM, Thomas Monjalon wrote: > >>> Check Bu

[dpdk-dev] [PATCH v4] devtools: script to track map symbols

2021-06-21 Thread Ray Kinsella
Script to track growth of stable and experimental symbols over releases since v19.11. Signed-off-by: Ray Kinsella --- v2: reworked to fix pylint errors v3: sent with the correct in-reply-to v4: fix typos picked up by the CI devtools/count_symbols.py | 262 ++

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ananyev, Konstantin
> > On 6/21/2021 3:42 PM, Ananyev, Konstantin wrote: > > > One more thought here - if we are talking about rte_ethdev[] in > particular, I think we can: > 1. move public function pointers (rx_pkt_burst(), etc.) from > rte_ethdev into a separate flat array. >

[dpdk-dev] [PATCH v3] devtools: script to track map symbols

2021-06-21 Thread Ray Kinsella
Script to track growth of stable and experimental symbols over releases since v19.11. Signed-off-by: Ray Kinsella --- v2: reworked to fix pylint errors v3: sent with the current in-reply-to devtools/count_symbols.py | 262 ++ 1 file changed, 262 insertions(+)

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ferruh Yigit
On 6/21/2021 3:42 PM, Ananyev, Konstantin wrote: > One more thought here - if we are talking about rte_ethdev[] in particular, I think we can: 1. move public function pointers (rx_pkt_burst(), etc.) from rte_ethdev into a separate flat array. We can

[dpdk-dev] [PATCH] devtools: script to track map symbols

2021-06-21 Thread Ray Kinsella
Script to track growth of stable and experimental symbols over releases since v19.11. Signed-off-by: Ray Kinsella --- devtools/count_symbols.py | 230 ++ 1 file changed, 230 insertions(+) create mode 100755 devtools/count_symbols.py diff --git a/devtools/cou

[dpdk-dev] [PATCH v3 32/32] raw/cnxk_bphy: support for bphy selftest

2021-06-21 Thread Tomasz Duszynski
Add support for performing selftest. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- doc/guides/rawdevs/cnxk_bphy.rst | 7 +- drivers/raw/cnxk_bphy/cnxk_bphy.c | 124 ++ 2 files changed, 127 insertions(+), 4 deletions(-)

[dpdk-dev] [PATCH v3 31/32] raw/cnxk_bphy: support for registering bphy irq handlers

2021-06-21 Thread Tomasz Duszynski
Custom irq handlers may be registered/removed on demand. Since registration and removal are related they are in the same patch. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- doc/guides/rawdevs/cnxk_bphy.rst | 13 drivers/raw/cnxk_bphy/c

[dpdk-dev] [PATCH v3 30/32] raw/cnxk_bphy: support for retrieving bphy device memory

2021-06-21 Thread Tomasz Duszynski
Allow user to retrieve baseband phy memory resources. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- doc/guides/rawdevs/cnxk_bphy.rst | 10 + drivers/raw/cnxk_bphy/cnxk_bphy.c | 3 +++ drivers/raw/cnxk_bphy/cnxk_bphy_irq.c | 8 +

[dpdk-dev] [PATCH v3 29/32] raw/cnxk_bphy: support for reading number of bphy irqs

2021-06-21 Thread Tomasz Duszynski
Add support for retrieving maximum number of interrupts. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/raw/cnxk_bphy/cnxk_bphy_irq.c | 12 drivers/raw/cnxk_bphy/cnxk_bphy_irq.h | 1 + 2 files changed, 13 insertions(+) diff --gi

[dpdk-dev] [PATCH v3 28/32] raw/cnxk_bphy: support for interrupt init and cleanup

2021-06-21 Thread Tomasz Duszynski
Add support for interrupt initialization and cleanup. Internally interrupt initialization performs low level setup that allows custom interrupt handler registration later on. Interrupt initialization and cleanup are related hence they are in the same patch. Signed-off-by: Jakub Palider Signed-of

[dpdk-dev] [PATCH v3 27/32] raw/cnxk_bphy: support for bphy dequeue operation

2021-06-21 Thread Tomasz Duszynski
Add support for dequeueing responses to previously enqueued messages. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/raw/cnxk_bphy/cnxk_bphy.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/raw/cnxk_bphy/cnxk

[dpdk-dev] [PATCH v3 26/32] raw/cnxk_bphy: support for bphy enqueue operation

2021-06-21 Thread Tomasz Duszynski
Add preliminary support for enqueue operation. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/raw/cnxk_bphy/cnxk_bphy.c| 26 ++ drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 13 + 2 files changed, 39 insertions

[dpdk-dev] [PATCH v3 25/32] raw/cnxk_bphy: support for reading bphy queue count

2021-06-21 Thread Tomasz Duszynski
Add support for reading number of available queues from baseband phy. Currently only single queue is supported. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/raw/cnxk_bphy/cnxk_bphy.c | 9 + drivers/raw/cnxk_bphy/cnxk_bphy_irq.h |

[dpdk-dev] [PATCH v3 24/32] raw/cnxk_bphy: support for reading bphy queue configuration

2021-06-21 Thread Tomasz Duszynski
Add support for reading baseband phy queue configuration. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/raw/cnxk_bphy/cnxk_bphy.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/raw/cnxk_bphy/cnxk_bphy.c b/driv

[dpdk-dev] [PATCH v3 22/32] common/cnxk: support for registering bphy irq

2021-06-21 Thread Tomasz Duszynski
Add support for registering user supplied baseband phy irq handler. Signed-off-by: Jakib Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_irq.c | 38 ++ drivers/common/cnxk/roc_bphy_irq.h | 11 + drivers/commo

[dpdk-dev] [PATCH v3 23/32] raw/cnxk_bphy: add baseband PHY skeleton driver

2021-06-21 Thread Tomasz Duszynski
Add baseband phy skeleton driver. Baseband phy is a hardware subsystem accelerating 5G/LTE related tasks. Note this driver isn't involved into any sort baseband protocol processing. Instead it just provides means for configuring hardware. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszyns

[dpdk-dev] [PATCH v3 21/32] common/cnxk: support for clearing bphy irq handler

2021-06-21 Thread Tomasz Duszynski
Add support for clearing previously register baseband phy irq handler. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_irq.c | 66 ++ drivers/common/cnxk/roc_bphy_irq.h | 2 + drivers/common/cnx

[dpdk-dev] [PATCH v3 20/32] common/cnxk: support for setting bphy irq handler

2021-06-21 Thread Tomasz Duszynski
Add support for setting custom baseband phy irq handler. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_irq.c | 121 +++ drivers/common/cnxk/roc_bphy_irq.h | 5 ++ drivers/common/cnxk/roc_io.h

[dpdk-dev] [PATCH v3 19/32] common/cnxk: support for removing irq stack

2021-06-21 Thread Tomasz Duszynski
Add support for removing existing irq stack. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_irq.c | 30 ++ drivers/common/cnxk/roc_bphy_irq.h | 1 + drivers/common/cnxk/version.map| 1 + 3

[dpdk-dev] [PATCH v3 18/32] common/cnxk: support for retrieving irq stack

2021-06-21 Thread Tomasz Duszynski
Add support for retrieving irq stack. If stack does not exist then it gets created. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_irq.c | 62 ++ drivers/common/cnxk/roc_bphy_irq.h | 1 + drive

[dpdk-dev] [PATCH v3 17/32] common/cnxk: support for checking irq availability

2021-06-21 Thread Tomasz Duszynski
Add support for checking whether given irq is available. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_irq.c | 9 + drivers/common/cnxk/roc_bphy_irq.h | 2 ++ drivers/common/cnxk/version.map| 1 + 3 files chan

[dpdk-dev] [PATCH v3 16/32] common/cnxk: support for baseband PHY irq setup

2021-06-21 Thread Tomasz Duszynski
Add support for initializing baseband phy irqs. While at it also add support for reverting back to the default state. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/meson.build| 1 + drivers/common/cnxk/roc_bphy_irq.c | 96 +++

[dpdk-dev] [PATCH v3 15/32] common/cnxk: support for device init and fini

2021-06-21 Thread Tomasz Duszynski
Add support for device init and fini. It merely saves baseband phy state container in a globally accessible resource chest. Signed-off-by: Jakub Palider Signed-off-by: Tomasz Duszynski Reviewed-by: Jerin Jacob --- drivers/common/cnxk/meson.build | 1 + drivers/common/cnxk/roc_api.h

[dpdk-dev] [PATCH v3 14/32] raw/cnxk_bphy: support for performing selftest

2021-06-21 Thread Tomasz Duszynski
Add support for performing selftest operation. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- doc/guides/rawdevs/cnxk_bphy.rst | 19 +- drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 2 + drivers/raw/cnxk_bphy/cnxk_bphy_cgx.h | 10 +

[dpdk-dev] [PATCH v3 13/32] raw/cnxk_bphy: support for dequeue operation

2021-06-21 Thread Tomasz Duszynski
Add support for dequeueing responses to previously enqueued messages. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/raw/cnx

[dpdk-dev] [PATCH v3 12/32] raw/cnxk_bphy: support for enqueue operation

2021-06-21 Thread Tomasz Duszynski
Add support for enqueueing messages. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- doc/guides/rawdevs/cnxk_bphy.rst | 68 drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 112 ++ drivers/raw/cnxk_bphy/meson.build

[dpdk-dev] [PATCH v3 11/32] raw/cnxk_bphy: support for reading queue count

2021-06-21 Thread Tomasz Duszynski
Add support for reading number of available queues i.e number of available logical macs (LMACs). Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- doc/guides/rawdevs/cnxk_bphy.rst | 4 drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 9 + 2 file

[dpdk-dev] [PATCH v3 09/32] raw/cnxk_bphy: add bphy cgx/rpm skeleton driver

2021-06-21 Thread Tomasz Duszynski
Add baseband phy cgx/rpm skeleton driver which merely probes a matching device. CGX/RPM are Ethernet MACs hardwired to baseband subsystem. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- MAINTAINERS| 7 +- doc/guides/platf

[dpdk-dev] [PATCH v3 10/32] raw/cnxk_bphy: support for reading queue configuration

2021-06-21 Thread Tomasz Duszynski
Add support for reading queue configuration. Single queue represents a logical mac available on rpm/cgx. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 20 1 file changed, 20 insertions(+)

[dpdk-dev] [PATCH v3 07/32] common/cnxk: support for changing link state

2021-06-21 Thread Tomasz Duszynski
Add support for setting link up or down. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_cgx.c | 18 ++ drivers/common/cnxk/roc_bphy_cgx.h | 2 ++ drivers/common/cnxk/roc_bphy_cgx_priv.h | 2 ++

[dpdk-dev] [PATCH v3 08/32] common/cnxk: support for lmac start/stop

2021-06-21 Thread Tomasz Duszynski
Add support for starting or stopping specific lmac. Start enables rx/tx traffic while stop does the opposite. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_cgx.c | 42 ++ drivers/common/cnxk/ro

[dpdk-dev] [PATCH v3 06/32] common/cnxk: support for setting link mode

2021-06-21 Thread Tomasz Duszynski
Add support for setting link mode. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_cgx.c | 28 drivers/common/cnxk/roc_bphy_cgx.h | 11 + drivers/common/cnxk/roc_bphy_cgx_priv.h | 61 +

[dpdk-dev] [PATCH v3 05/32] common/cnxk: support for changing ptp mode

2021-06-21 Thread Tomasz Duszynski
Add support for enabling or disablig ptp mode. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_cgx.c | 33 + drivers/common/cnxk/roc_bphy_cgx.h | 5 drivers/common/cnxk/roc_bphy_cgx_p

[dpdk-dev] [PATCH v3 04/32] common/cnxk: support for changing internal loopback

2021-06-21 Thread Tomasz Duszynski
Add support for enabling or disabling internal loopback. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_cgx.c | 30 + drivers/common/cnxk/roc_bphy_cgx.h | 4 drivers/common/cnxk/roc_

[dpdk-dev] [PATCH v3 03/32] common/cnxk: support for getting link information

2021-06-21 Thread Tomasz Duszynski
Add support for retrieving link information. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/common/cnxk/roc_bphy_cgx.c | 40 +- drivers/common/cnxk/roc_bphy_cgx.h | 70 + drivers/common/cnxk/roc_bp

[dpdk-dev] [PATCH v3 01/32] common/cnxk: add bphy cgx/rpm initialization and cleanup

2021-06-21 Thread Tomasz Duszynski
Add support for low level initialization and cleanup of baseband phy cgx/rpm blocks. Initialization and cleanup are related hence are in the same patch. Signed-off-by: Tomasz Duszynski Signed-off-by: Jakub Palider Reviewed-by: Jerin Jacob --- drivers/common/cnxk/meson.build| 1 + drivers

[dpdk-dev] [PATCH v3 02/32] common/cnxk: support for communication with atf

2021-06-21 Thread Tomasz Duszynski
Messages can be exchanged between userspace software and firmware via set of two dedicated registers, namely scratch1 and scratch0. scratch1 acts as a command register i.e message is sent to firmware, while scratch0 holds response to previously sent message. Signed-off-by: Tomasz Duszynski Signe

[dpdk-dev] [PATCH v3 00/32] add support for baseband phy

2021-06-21 Thread Tomasz Duszynski
This series adds initial support for baseband PHY available on SOCs belonging to Fusion family. BPHY is a hardware block comprising accelerators and DSPs specifically tailored for 5G/LTE inline usecases. This series introduces two rawdev PMDs along with low level common code. CGX/RPM PMD allows o

[dpdk-dev] [PATCH 1/4] net/ice/base: add function for DSCP configure

2021-06-21 Thread Qi Zhang
ice_aq_set_pfc_mode is used to configure DSCP. Signed-off-by: Anirudh Venkataramanan Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_dcb.c | 41 ++ drivers/net/ice/base/ice_dcb.h | 2 ++ 2 files changed, 43 insertions(+) diff --git a/drivers/net/ice/base/i

[dpdk-dev] [PATCH 0/4] ice base code update

2021-06-21 Thread Qi Zhang
Qi Zhang (4): net/ice/base: add function for DSCP configure net/ice/base: remove firmware log net/ice/base: remove VSI info from previous aggregator net/ice/base: remove unncessary code drivers/net/ice/base/ice_adminq_cmd.h | 53 +-- drivers/net/ice/base/ice_common

[dpdk-dev] [PATCH 3/4] net/ice/base: remove VSI info from previous aggregator

2021-06-21 Thread Qi Zhang
remove the VSI info from previous aggregator after moving the VSI to a new aggregator. Signed-off-by: Victor Raj Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 1 + drivers/net/ice/base/ice_sched.c | 24 ++-- 2 files changed, 23 insertions(+), 2 de

[dpdk-dev] [PATCH 4/4] net/ice/base: remove unncessary code

2021-06-21 Thread Qi Zhang
Remove unnecessary jumbo frame configure. Signed-off-by: Fabio Pricoco Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_common.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/ice/base/ice_common.c b/drivers/net/ice/base/ice_common.c index cf0a7d4e7f..51fca7b166 100644

[dpdk-dev] [PATCH 2/4] net/ice/base: remove firmware log

2021-06-21 Thread Qi Zhang
Remove firmware log related code. Signed-off-by: Anirudh Venkataramanan Signed-off-by: Qi Zhang --- drivers/net/ice/base/ice_adminq_cmd.h | 52 --- 1 file changed, 52 deletions(-) diff --git a/drivers/net/ice/base/ice_adminq_cmd.h b/drivers/net/ice/base/ice_adminq_cmd.

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ananyev, Konstantin
> >> One more thought here - if we are talking about rte_ethdev[] in > >> particular, I think we can: > >> 1. move public function pointers (rx_pkt_burst(), etc.) from > >> rte_ethdev into a separate flat array. > >> We can keep it public to still use inline functions for 'f

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ananyev, Konstantin
> > On 6/21/2021 1:30 PM, Ananyev, Konstantin wrote: > > > >> > >>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > >>> Konstantin > >>> > > How can we hide the callbacks since they are used by inline burst > >>> functions. > > I probably I owe a better explanation t

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ferruh Yigit
On 6/21/2021 1:30 PM, Ananyev, Konstantin wrote: > >> >>> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, >>> Konstantin >>> > How can we hide the callbacks since they are used by inline burst >>> functions. I probably I owe a better explanation to what I meant in first

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ferruh Yigit
On 6/21/2021 12:06 PM, Ananyev, Konstantin wrote: > > Hi everyone, > >> One more thought here - if we are talking about rte_ethdev[] in >> particular, I think we can: >> 1. move public function pointers (rx_pkt_burst(), etc.) from rte_ethdev >> into a separate flat array. >

Re: [dpdk-dev] [PATCH v3 00/62] Marvell CNXK Ethdev Driver

2021-06-21 Thread Jerin Jacob
On Fri, Jun 18, 2021 at 4:09 PM Nithin Dabilpuram wrote: > > This patchset adds support for Marvell CN106XX SoC based on 'common/cnxk' > driver. In future, CN9K a.k.a octeontx2 will also be supported by same > driver when code is ready and 'net/octeontx2' will be deprecated. Looks good to me in g

[dpdk-dev] [PATCH v3] lib/rte_rib6: fix stack buffer overflow

2021-06-21 Thread ohilyard
From: Owen Hilyard ASAN found a stack buffer overflow in lib/rib/rte_rib6.c:get_dir. The fix for the stack buffer overflow was to make sure depth was always < 128, since when depth = 128 it caused the index into the ip address to be 16, which read off the end of the array. While trying to solve

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > > > > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > > > Konstantin > > > > > > > > How can we hide the callbacks since they are used by inline > burst > > > functions. > > > > > > > > I probably I

Re: [dpdk-dev] [PATCH v1 1/7] power_intrinsics: allow monitor checks inversion

2021-06-21 Thread Ananyev, Konstantin
Hi Anatoly, > Previously, the semantics of power monitor were such that we were > checking current value against the expected value, and if they matched, > then the sleep was aborted. This is somewhat inflexible, because it only > allowed us to check for a specific value. > > This commit adds a

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/test: fix IPv6 header initialization

2021-06-21 Thread David Marchand
On Mon, Jun 21, 2021 at 2:41 PM Lance Richardson wrote: > > On Tue, May 11, 2021 at 10:42 AM Lance Richardson > wrote: > > > > On Tue, May 11, 2021 at 10:31 AM David Marchand > > wrote: > > > > > > On Fri, Mar 26, 2021 at 5:37 PM Lance Richardson > > > wrote: > > > > > > > > Fix two issues foun

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ananyev, Konstantin
> > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > > Konstantin > > > > > > How can we hide the callbacks since they are used by inline burst > > functions. > > > > > > I probably I owe a better explanation to what I meant in first mail. > > > Otherwise it sounds confusing. > >

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > > > > How can we hide the callbacks since they are used by inline burst > functions. > > > > I probably I owe a better explanation to what I meant in first mail. > > Otherwise it sounds confusing. > > I'll try to write

Re: [dpdk-dev] [PATCH] kni: fix wrong mbuf alloc count in kni_allocate_mbufs

2021-06-21 Thread Ferruh Yigit
On 6/21/2021 4:27 AM, wangyunjian wrote: >> -Original Message- >> From: Ferruh Yigit [mailto:ferruh.yi...@intel.com] >> Sent: Friday, June 18, 2021 9:37 PM >> To: wangyunjian ; dev@dpdk.org >> Cc: liucheng (J) ; dingxiaoxiong >> >> Subject: Re: [dpdk-dev] [PATCH] kni: fix wrong mbuf alloc

Re: [dpdk-dev] [PATCH] parray: introduce internal API for dynamic arrays

2021-06-21 Thread Ananyev, Konstantin
Hi everyone, > > >>> One more thought here - if we are talking about rte_ethdev[] in > > >>> particular, I think we can: > > >>> 1. move public function pointers (rx_pkt_burst(), etc.) from rte_ethdev > > >>> into a separate flat array. > > >>> We can keep it public to still use inline functi

[dpdk-dev] max_rx_pkt_len

2021-06-21 Thread Balázs Lugossy
Hi DPDK developers, We have an external DPDK KNI interface in our product, and we experienced that ethernet payload of size 1500 cannot be received, only 1496. It is important that the traffic is VLAN tagged. We have encountered this report: https://dev.dpdk.narkive.com/xGGOQC8R/dpdk-dev-issue-

Re: [dpdk-dev] [PATCH v3 19/20] net/sfc: support flow action COUNT in transfer rules

2021-06-21 Thread Thomas Monjalon
21/06/2021 10:28, David Marchand: > On Fri, Jun 18, 2021 at 3:41 PM Andrew Rybchenko > > +# for gcc compiles we need -latomic for 128-bit atomic ops > > +if cc.get_id() == 'gcc' > > +ext_deps += cc.find_library('atomic') > > +endif > > This patch breaks compilation on rhel/fedora (most failure

[dpdk-dev] [Bug 721] Wrong event pointer in rx adapter

2021-06-21 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=721 Pavan Nikhilesh Bhagavatula (pbhagavat...@marvell.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

Re: [dpdk-dev] [PATCH] devtools: script to track map symbols

2021-06-21 Thread Kinsella, Ray
> > pylint reports some things that should be fixed. Don't worry about the naming > style > and docstring but others should be addressed. [SNIP] Ah, rookie mistake, I ran checkpatch and thought that I was all good. I will sort it out thanks. Ray K

[dpdk-dev] [PATCH v1] net/ice/base: fix wrong first mask value setting

2021-06-21 Thread Wenjun Wu
Since each pf does not share the same structure space, the first mask value should start at 0 instead of hw->pf_id * per_pf to avoid address overflow. Otherwise, address space will overlap when masks.first + masks.count > ICE_PROF_MASK_COUNT, and it may lead to unexpected variable assignment, which

Re: [dpdk-dev] [EXT] Re: [PATCH 4/4] drivers/net/enetfec: add enqueue and dequeue support

2021-06-21 Thread Apeksha Gupta
Hi, I will be reworking on the 'enetfec' driver. It may take time to send the V2 patch. Thanks & Regards, Apeksha > -Original Message- > From: Andrew Rybchenko > Sent: Tuesday, June 8, 2021 7:12 PM > To: Apeksha Gupta ; ferruh.yi...@intel.com > Cc: dev@dpdk.org; Hemant Agrawal ; Sachin

[dpdk-dev] [PATCH v5] vhost: check header for legacy dequeue offload

2021-06-21 Thread Xiao Wang
When parsing the virtio net header and packet header for dequeue offload, we need to perform sanity check on the packet header to ensure: - No out-of-boundary memory access. - The packet header and virtio_net header are valid and aligned. Fixes: d0cf91303d73 ("vhost: add Tx offload capabilitie

Re: [dpdk-dev] [EXT] Re: [RFC 0/7] crypto/ipsec_mb: introduce ipsec_mb framework

2021-06-21 Thread Zhang, Roy Fan
Hi Akhil, We targeted this patchset for 21.11. Just want to know everybody's thoughts before submitting V1. Regards, Fan > -Original Message- > From: Akhil Goyal > Sent: Friday, June 18, 2021 5:05 PM > To: David Marchand ; Bronowski, PiotrX > > Cc: dev ; Zhang, Roy Fan ; > Thomas Monj

Re: [dpdk-dev] [PATCH v2 00/32] add support for baseband phy

2021-06-21 Thread Jerin Jacob
On Tue, Jun 15, 2021 at 4:33 PM Tomasz Duszynski wrote: > > This series adds initial support for baseband PHY available on SOCs > belonging to Fusion family. BPHY is a hardware block comprising > accelerators and DSPs specifically tailored for 5G/LTE inline usecases. > > This series introduces two

Re: [dpdk-dev] [PATCH] net/i40e: fix L2 payload RSS mask input set

2021-06-21 Thread Xing, Beilei
> -Original Message- > From: Zhang, AlvinX > Sent: Friday, June 18, 2021 4:38 PM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, AlvinX ; > sta...@dpdk.org > Subject: [PATCH] net/i40e: fix L2 payload RSS mask input set > > Allow VLAN tag being added to L2 payload packet type RSS input s

Re: [dpdk-dev] [PATCH] net/e1000: fix nic ops function was no initialized in secondary process

2021-06-21 Thread 张 杨
发件人: Wang, Haiyue 发送时间: 2021年6月21日星期一 15:31 收件人: Tengfei Zhang 抄送: dev@dpdk.org; Zhang, Qi Z; Lin, Xueqin 主题: RE: [PATCH] net/e1000: fix nic ops function was no initialized in secondary process > -Original Message- > From: Tengfei Zhang > Sent: Saturday, June 19, 2021 01:27 > To: Wang,

Re: [dpdk-dev] [PATCH v3] net/i40e: fix set rss hash function invalid

2021-06-21 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Xing, Beilei > Sent: Monday, June 21, 2021 4:19 PM > To: Yang, SteveX ; dev@dpdk.org > Cc: Yang, SteveX ; sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix set rss hash function invalid > > > > > -Original Message

Re: [dpdk-dev] [PATCH v3 19/20] net/sfc: support flow action COUNT in transfer rules

2021-06-21 Thread David Marchand
On Fri, Jun 18, 2021 at 3:41 PM Andrew Rybchenko wrote: > diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build > index f8880f740a..32b58e3d76 100644 > --- a/drivers/net/sfc/meson.build > +++ b/drivers/net/sfc/meson.build > @@ -39,6 +39,16 @@ foreach flag: extra_flags > endif

Re: [dpdk-dev] [PATCH v6 0/3] support AVF RSS and FDIR for GTPoGRE packet

2021-06-21 Thread Zhang, Qi Z
> -Original Message- > From: Liu, Lingyu > Sent: Monday, June 21, 2021 10:23 PM > To: dev@dpdk.org; Zhang, Qi Z ; Xing, Beilei > ; Wu, Jingjing > Cc: Guo, Junfeng ; Liu, Lingyu > Subject: [PATCH v6 0/3] support AVF RSS and FDIR for GTPoGRE packet > > Support AVF RSS and FDIR for GTPo

Re: [dpdk-dev] [PATCH v3] net/i40e: fix set rss hash function invalid

2021-06-21 Thread Xing, Beilei
> -Original Message- > From: dev On Behalf Of Steve Yang > Sent: Monday, June 21, 2021 4:04 PM > To: dev@dpdk.org > Cc: Xing, Beilei ; Yang, SteveX > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v3] net/i40e: fix set rss hash function invalid > > i40e can support following rss hash f

Re: [dpdk-dev] [PATCH v4 1/2] devargs: add common key definition

2021-06-21 Thread Thomas Monjalon
13/06/2021 14:58, Xueming Li: > --- a/lib/eal/include/rte_devargs.h > +++ b/lib/eal/include/rte_devargs.h > @@ -25,6 +25,10 @@ extern "C" { > #include > #include > > +#define RTE_DEVARGS_KEY_BUS "bus" > +#define RTE_DEVARGS_KEY_CLASS "class" > +#define RTE_DEVARGS_KEY_DRIVER "driver" These m

[dpdk-dev] [PATCH v3] net/i40e: fix set rss hash function invalid

2021-06-21 Thread Steve Yang
i40e can support following rss hash function types: default/toeplitz, symmetric toeplitz, and simple_xor. However, when filter engine parses pattern action, it only supports symmetric toeplitz & default. Add simple_xor and toeplitz hash functions support when parsing pattern action. Fixes: ef4c16

[dpdk-dev] [PATCH v3 15/15] net/i40e/base: update version in readme

2021-06-21 Thread Robin Zhang
Update base code version in README. Signed-off-by: Robin Zhang --- drivers/net/i40e/base/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/README b/drivers/net/i40e/base/README index 6af2993116..c84764005b 100644 --- a/drivers/net/i40e/base/README +

[dpdk-dev] [PATCH v3 14/15] net/i40e/base: fix checksum is used before return value is checked

2021-06-21 Thread Robin Zhang
The variable checksum from i40e_calc_nvm_checksum is used before return value is checked. Fix this logic. Fixes: 8db9e2a1b232 ("i40e: base driver") Fixes: 3ed6c3246f43 ("i40e/base: handle AQ timeout when releasing NVM") Cc: sta...@dpdk.org Signed-off-by: Christopher Pau Signed-off-by: Robin Zhan

[dpdk-dev] [PATCH v3 13/15] net/i40e/base: fix potentially uninitialized variables in NVM code

2021-06-21 Thread Robin Zhang
The status of i40e_read_nvm_word is not checked, so variables set from this function could be used uninitialized. In this case, preserve the existing flow that does not block initialization by initializing these values from the start. Fixes: 8d6c51fcd24b ("i40e/base: get OEM version") Fixes: 2db70

[dpdk-dev] [PATCH v3 12/15] net/i40e/base: fix headers to match functions

2021-06-21 Thread Robin Zhang
Fix several kernel-doc warnings when building with W=1. These changes are only to comments. Fixes: 8db9e2a1b232 ("i40e: base driver") Fixes: 842ea1996335 ("i40e/base: save link module type") Fixes: fd72a2284a89 ("i40e/base: support LED blinking with new PHY") Fixes: 788fc17b2dec ("i40e/base: suppo

[dpdk-dev] [PATCH v3 11/15] net/i40e/base: 10GBASE-ER Optical modules recognition

2021-06-21 Thread Robin Zhang
This change adds a new PHY type for 10GBASE-ER modules. Signed-off-by: Stanislaw Grzeszczak Signed-off-by: Robin Zhang --- drivers/net/i40e/base/i40e_adminq_cmd.h | 2 ++ drivers/net/i40e/base/i40e_common.c | 1 + drivers/net/i40e/base/i40e_type.h | 1 + 3 files changed, 4 insertions(

  1   2   >