Clean up legacy PCI bus driver since all mlx5 PMDs moved to new common
PCI bus driver.
Signed-off-by: Xueming Li
---
drivers/common/mlx5/linux/mlx5_common_os.h | 1 -
drivers/common/mlx5/mlx5_common.c | 1 -
drivers/common/mlx5/mlx5_common.h | 1 +
drivers/common/mlx5/mlx
To support auxiliary bus, upgrades driver to use mlx5 common driver
structure.
Signed-off-by: Xueming Li
---
drivers/compress/mlx5/mlx5_compress.c | 71 ++-
1 file changed, 15 insertions(+), 56 deletions(-)
diff --git a/drivers/compress/mlx5/mlx5_compress.c
b/drivers/co
From: Thomas Monjalon
Supports SubFunction on auxiliary bus. SF probe devargs:
auxiliary:mlx5_core.sf.,class=vdpa
Signed-off-by: Thomas Monjalon
---
doc/guides/vdpadevs/mlx5.rst | 10 ++
drivers/vdpa/mlx5/mlx5_vdpa.c | 8 ++--
2 files changed, 16 insertions(+), 2 deletions(-)
Verbs API doesn't support Device port number larger than 255 by design.
Adds check and fails probing with proper error log.
Signed-off-by: Xueming Li
---
drivers/net/mlx5/linux/mlx5_os.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5
From: Thomas Monjalon
Removes PCI specific driver, replaces with common class driver.
Signed-off-by: Thomas Monjalon
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 119 ++
drivers/vdpa/mlx5/mlx5_vdpa.h | 1 -
2 files changed, 34 insertions(+), 86 deletions(-)
diff --git
From: Thomas Monjalon
Uses macro for pmd driver name.
Signed-off-by: Thomas Monjalon
---
drivers/vdpa/mlx5/mlx5_vdpa.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/vdpa/mlx5/mlx5_vdpa.c b/drivers/vdpa/mlx5/mlx5_vdpa.c
index 8b5bfd8c3d..5ab7c525c2 100644
To support more bus types, remove PCI dependency where possible.
Signed-off-by: Xueming Li
---
drivers/net/mlx5/linux/mlx5_ethdev_os.c | 2 +-
drivers/net/mlx5/linux/mlx5_os.c| 4 +--
drivers/net/mlx5/mlx5.c | 45 ++---
drivers/net/mlx5/mlx5.h
To support auxiliary bus, upgrades driver to use mlx5 common driver
structure.
Signed-off-by: Xueming Li
---
drivers/regex/mlx5/mlx5_regex.c | 49 -
drivers/regex/mlx5/mlx5_regex.h | 1 -
2 files changed, 18 insertions(+), 32 deletions(-)
diff --git a/drivers/re
To support SubFunction based on auxiliary bus, common driver supports
new bus-agnostic driver.
This patch migrates net driver to new common driver.
Signed-off-by: Xueming Li
---
drivers/net/mlx5/linux/mlx5_os.c | 46 --
drivers/net/mlx5/linux/mlx5_os.h | 3 --
drive
This patch introduces SF support. Similar to VF, SF on auxiliary bus is
a portion of hardware PF, no representor or bonding parameters for SF.
Devargs to support SF:
-a auxiliary:mlx5_core.sf.8,dv_flow_en=1
New global syntax to support SF:
-a bus=auxiliary,name=mlx5_core.sf.8/class=eth/driver=mlx
From: Thomas Monjalon
A function is exported to allow retrieving the PCI address
of the parent PCI device of a Sub-Function in auxiliary bus sysfs.
The function mlx5_dev_to_pci_str() is accepting both PCI and auxiliary
devices. In case of a PCI device, it is simply using the device name.
The fun
To align with EAL class driver, rename internal class name from "net" to
"eth"
Signed-off-by: Xueming Li
---
drivers/common/mlx5/mlx5_common.h | 2 +-
drivers/common/mlx5/mlx5_common_pci.c | 14 --
drivers/net/mlx5/mlx5.c | 2 +-
3 files changed, 10 insertions(+),
From: Thomas Monjalon
The Linux-specific functions mlx5_get_pci_addr() and
mlx5_get_ifname_sysfs() are better described in the .h file.
The requirement for using mlx5_get_pci_addr() is explicit:
the node /device must exist in the provided sysfs path.
Signed-off-by: Thomas Monjalon
---
drivers
This patch adds auxiliary bus driver and delegate to
registered internal mlx5 common device drivers, i.e. eth, vdpa...
Current major target is to support SubFunction on auxiliary bus.
As a limitation of current driver, numa node of device is detected from
PCI bus of device symbol link, will remov
Sub-Function [1] is a portion of the PCI device, a SF netdev has its own
dedicated queues(txq, rxq). A SF shares PCI level resources with other
SFs and/or with its parent PCI function. Auxiliary bus is the
fundamental of SF.
This patch set introduces Sub-Function support for mlx5 PMD driver
includ
To support auxiliary bus, introduces common device driver and callbacks,
suppose to replace mlx5 common PCI bus driver.
Mlx5 class drivers, i.e. eth, vDPA, regex and compress normally consumes
single Verbs device context to probe a device. The Verbs device comes
from PCI address if the device is P
On Fri, Jul 16, 2021 at 10:33 PM Ganapati Kundapura
wrote:
>
> As of now Rx event buffer size is static and set to 128.
>
> This patch sets the Rx event buffer size to 192, configurable
> at compile time and also errors out at run time if Rx event
> buffer size is configured more than 16 bits.
>
>
On 2021/7/18 1:51, Stephen Hemminger wrote:
> On Sun, 25 Apr 2021 21:02:22 +0800
> "Min Hu (Connor)" wrote:
>
>> +
>> +memset(®_info, 0, sizeof(reg_info));
>> +memset(&dev_info, 0, sizeof(dev_info));
>
> This memset is redundant, rte_eth_dev_info_get already has the sam
On Mon, Jul 19, 2021 at 9:02 AM Chengwen Feng wrote:
>
> This patch introduce 'dmadevice' which is a generic type of DMA
> device.
>
> The APIs of dmadev library exposes some generic operations which can
> enable configuration and I/O with the DMA devices.
>
> Signed-off-by: Chengwen Feng
The A
From: Satheesh Paul
Add roc API to configure dual VLAN tag addition and removal.
Signed-off-by: Satheesh Paul
---
drivers/common/cnxk/roc_npc.c | 339 ++---
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/roc_npc_priv.h | 11 +-
3 files changed, 26
Hi Cheng & Jiayu,
> -Original Message-
> From: Jiang, Cheng1
> Sent: Friday, July 16, 2021 3:25 PM
> To: maxime.coque...@redhat.com; Xia, Chenbo
> Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX
>
> Subject: [PATCH v5 3/5] vhost: handle memory hotplug for async vhost
>
> From: Jiayu Hu
>
On Fri, Jul 16, 2021 at 12:40:35PM +0300, Dmitry Kozlyuk wrote:
> 2021-07-08 18:03 (UTC-0700), Tyler Retzlaff:
> > On Thu, Jul 08, 2021 at 11:49:53PM +0300, Dmitry Kozlyuk wrote:
> > > Hi Tyler,
> > >
> > > 2021-07-08 12:21 (UTC-0700), Tyler Retzlaff:
> > > > hi folks,
> > > >
> > > > we would
This patch introduce 'dmadevice' which is a generic type of DMA
device.
The APIs of dmadev library exposes some generic operations which can
enable configuration and I/O with the DMA devices.
Signed-off-by: Chengwen Feng
---
v6:
* delete fence capability.
* delete vchan_release ops.
* copy_sg di
Hi Chenbo,
I'll fix these issues in next version.
For the name, I think maybe we can use 'rte_vhost_clear_queue_thread_unsafe'.
Thanks,
Cheng
> -Original Message-
> From: Xia, Chenbo
> Sent: Friday, July 16, 2021 4:56 PM
> To: Jiang, Cheng1 ; maxime.coque...@redhat.com
> Cc: dev@dpdk.or
Hi Jiayu,
> -Original Message-
> From: Hu, Jiayu
> Sent: Saturday, July 17, 2021 3:51 AM
> To: dev@dpdk.org
> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, Jiayu
>
> Subject: [PATCH v5 3/3] vhost: add thread unsafe async registeration functions
>
> This patch adds thread unsafe vers
> -Original Message-
> From: Hu, Jiayu
> Sent: Saturday, July 17, 2021 3:51 AM
> To: dev@dpdk.org
> Cc: maxime.coque...@redhat.com; Xia, Chenbo ; Hu, Jiayu
>
> Subject: [PATCH v5 2/3] vhost: rework async configuration structure
>
> This patch reworks the async configuration structure to
In the previous implementation, only green color policy was
supported in mlx5 PMD. Since yellow color policy is supported now,
the consistency of meter policy and profile should be checked.
1. If the profile supports yellow but the policy doesn't, an error
should be returned when creating th
The support of RFC2698 and RFC4115 are added in mlx5 PMD. Only the
ASO metering supports these two profiles.
Signed-off-by: Bing Zhao
---
doc/guides/nics/mlx5.rst | 1 +
doc/guides/rel_notes/release_21_08.rst | 1 +
drivers/common/mlx5/mlx5_prm.h | 5 +-
drivers/net/m
To support the meter policy for yellow action, the prerequisite is
that the hardware needs to support the EBS, as defined in the
RFC2697.
https://datatracker.ietf.org/doc/html/rfc2697
Then some of the packets can be marked as yellow if the tokens of C
bucket is not enough but enough in E bucket.
In the previous implementation, the policy for yellow color was not
supported. The action validation for yellow was skipped.
Since the yellow color policy needs to be supported, the validation
should also be done for the yellow color. In the meanwhile, due to
the fact that color policies of one me
When creating a meter policy, both / either of the action rules for
green and yellow colors may be provided. After validation, usually
the actions are created before the meter is using by a flow rule.
If there is action specified for the yellow color, the action rules
should be created together wi
If the fate action is either RSS or Queue of a meter policy, the
action will only be created in the flow splitting stage. With queue
as the fate action, only one sub-policy is needed. And RSS will
have more than one sub-policies if there is an expansion.
Since the RSS parameters are the same for b
When creating a meter policy, the actions for yellow color can be
specified together with green color. The mlx5 PMD now supports to
set the policy actions for yellow color.
The actions list that is supported for yellow is the same as that
for green.
---
v2:
* bug fixes
* add policy and profil
In order to support the yellow color for the default meter policy,
the default policy action for yellow should be created together
with the green policy.
The default policy action for yellow action is the same as that for
green. In the same table, the same matcher will be reused for yellow
and the
13/07/2021 15:14, Xueming Li:
> +static const struct {
> + const char *name;
> + unsigned int drv_class;
> +} mlx5_classes[] = {
> + { .name = "vdpa", .drv_class = MLX5_CLASS_VDPA },
> + { .name = "eth", .drv_class = MLX5_CLASS_ETH },
> + /* Keep class "net" for backward compati
The flow did not expand correctly when it included a GTP item.
Added GTP node to the expansion graph as possible next node
after IPv4/IPv6 UDP node.
Fixes: 592f05b29a25 ("net/mlx5: add RSS flow action")
Cc: sta...@dpdk.org
Signed-off-by: Lior Margalit
Acked-by: Matan Azrad
---
drivers/net/mlx
Since the header type of IPv6 fragment is wrong, the L3 dst/src RSS hash
fields cannot work properly. This patch changed the header type from any
to outer.
Fixes: f1ea76eb6394 ("net/ice: support RSS hash for IP fragment")
Cc: sta...@dpdk.org
Signed-off-by: Ting Xu
---
drivers/net/ice/ice_hash.c
Currently, private_data_offset for the sessionless is computed
wrongly which includes extra bytes added by
sizeof(struct rte_crypto_sym_xform) * 2. This causes buffer
overflow which leads to test application crash while freeing the
ops mempool. This patch provides fix for the same and also takes
ca
> Feature flag in dev would be updated during config. On reconfigure, the
> field need to be set again to original value.
>
> Signed-off-by: Anoob Joseph
> ---
Acked-by: Akhil Goyal
Applied to dpdk-next-crypto
> Subject: [PATCH 2/2] examples/ipsec-secgw: add UDP encapsulation for
> inline protocol
>
> Adds support to allow udp-encap option for
> RTE_SECURITY_ACTION_TYPE_INLINE_PROTOCOL mode also.
>
> Signed-off-by: Srujana Challa
> ---
Acked-by: Akhil Goyal
@Konstantin Ananyev: Any comments on this
From: Liang Ma
rte prefix header should be exported in meson.build
Fixes: 23f627e0ed28 (net/mlx5: add flow sync API)
Signed-off-by: Liang Ma
---
drivers/net/mlx5/meson.build | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/mlx5/meson.build b/drivers/net/mlx5/meson.build
index
> -Original Message-
> From: Xu, Ting
> Sent: Thursday, July 15, 2021 10:17 AM
> To: dev@dpdk.org
> Cc: Zhang, Qi Z ; Wu, Jingjing ;
> Xing, Beilei ; Xu, Ting ;
> sta...@dpdk.org
> Subject: [PATCH v1] net/ice: fix not clear bandwidth correctly when DCF close
>
> When closing DCF, the b
> Isal compress PMD has build failures on Arm platform.
>
> As dependent library ISA-L is supported on Arm platform,
> support of the PMD is expanded to Arm architecture.
> Fixed build failure caused by architecture specific code,
> and made the PMD multi architecture compatible.
>
> Bugzilla ID:
> This patch disables asymmetric crypto pmd on gen3 devices.
>
> Fixes: 1f5e4053f9b4 ("common/qat: support GEN3 devices")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Arek Kusztal
> ---
This patch does not apply,
Can you rebase over TOT.
Regards,
akhil
From: Jerin Jacob
Added a diagram to document meter library components
and added text for steps must performed by the application to
configure the traffic meter and policing library.
Signed-off-by: Jerin Jacob
---
doc/guides/prog_guide/img/meter.svg | 1027 +
.../traf
> The issue can cause illegal physical address access while a huge-page A
> is released and huge-page B is allocated on the same virtual address.
> The old MR can be matched using the virtual address of huge-page B but
> the HW will access the physical address of huge-page A which is no more
> pa
On Sat, Jul 17, 2021 at 06:08:04PM -0700, Stephen Hemminger wrote:
> On Sat, 17 Jul 2021 23:13:04 +0100
> Liang Ma wrote:
>
> > On Sat, Jul 17, 2021 at 10:48:49AM -0700, Stephen Hemminger wrote:
> > > On Sat, 17 Jul 2021 18:08:30 +0100
> > > Liang Ma wrote:
> > >
> > > > From: Liang Ma
> > >
> Reduce session private data size by allocating auth_key dynamically as
> required. Added auth_key_iova to eliminate any impact on fastpath.
>
> Signed-off-by: Anoob Joseph
> ---
Acked-by: Akhil Goyal
Applied to dpdk-next-crypto
Thanks.
> Along with above changes, ops mempool has to be updated with
> sizeof(union rte_event_crypto_metadata) as below:
>
> params.op_mpool = rte_crypto_op_pool_create(
> "EVENT_CRYPTO_SYM_OP_POOL",
> RTE_CRYPTO_OP_TYPE_SYMMETRIC,
>
Hi Akhil,
> -Original Message-
> From: Gujjar, Abhinandan S
> Sent: Sunday, July 18, 2021 2:36 PM
> To: Akhil Goyal ; dev@dpdk.org; Jerin Jacob
> Kollanukkaran
> Cc: Power, Ciara
> Subject: RE: [EXT] [PATCH] test: fix crypto_op length for sessionless case
>
> Hi Akhil,
>
> > -Origi
> Reduce session private data size by allocating auth_key dynamically as
> required.
>
> Signed-off-by: Anoob Joseph
> ---
Acked-by: Akhil Goyal
Applied to dpdk-next-crypto
Thanks.
Hi Akhil,
> -Original Message-
> From: Akhil Goyal
> Sent: Tuesday, July 13, 2021 2:42 PM
> To: Gujjar, Abhinandan S ; dev@dpdk.org;
> Jerin Jacob Kollanukkaran
> Cc: Power, Ciara
> Subject: RE: [EXT] [PATCH] test: fix crypto_op length for sessionless case
>
> Hi Abhinandan,
> > >
> >
> > Fixing IV pointer population in lookaside IPsec
> > outbound instruction.
> >
> > Fixes: fab634eb87ca ("crypto/octeontx2: support security session data
> path")
> >
> > Signed-off-by: Tejasree Kondoj
> > ---
> > v2:
> > * Fixed unused variable warning
> Acked-by: Akhil Goyal
>
> Applied to d
> Fixing IV pointer population in lookaside IPsec
> outbound instruction.
>
> Fixes: fab634eb87ca ("crypto/octeontx2: support security session data path")
>
> Signed-off-by: Tejasree Kondoj
> ---
> v2:
> * Fixed unused variable warning
Acked-by: Akhil Goyal
Applied to dpdk-next-crypto
Thanks.
> The member 'dir' should not overlap with 'ip'. Usage of union for all
> members would mean dir would get corrupt.
>
> Fixes: e91b4f45ff54 ("net/octeontx2: support anti-replay for security
> session")
> Cc: adwiv...@marvell.com
>
> Signed-off-by: Anoob Joseph
Cc: sta...@dpdk.org
Series
Acked
Hi,
> -Original Message-
> From: Yigit, Ferruh
> Sent: Saturday, July 10, 2021 1:29
> To: Jerin Jacob ; Li, Xiaoyun ;
> Ajit Khaparde ; Somnath Kotur
> ; Igor Russkikh
> ; Pavel Belous ;
> Somalapuram Amaranath ; Rasesh Mody
> ; Shahed Shaikh ; Chas
> Williams ; Min Hu (Connor) ;
> Nithin
Hi,
> -Original Message-
> From: Yigit, Ferruh
> Sent: Saturday, July 10, 2021 1:29
> To: Somalapuram Amaranath ; Ajit Khaparde
> ; Somnath Kotur
> ; Rahul Lakkireddy
> ; Hemant Agrawal
> ; Sachin Saxena ;
> Wang, Haiyue ; Gagandeep Singh
> ; Ziyang Xuan ; Xiaoyun
> Wang ; Guoyang Zhou
>
Hi,
> -Original Message-
> From: Yigit, Ferruh
> Sent: Saturday, July 10, 2021 1:29
> To: Somalapuram Amaranath ; Ajit Khaparde
> ; Somnath Kotur
> ; Nithin Dabilpuram
> ; Kiran Kumar K ;
> Sunil Kumar Kori ; Satha Rao
> ; Rahul Lakkireddy
> ; Hemant Agrawal
> ; Sachin Saxena ;
> Wang, Ha
> The dev start and dev stop ops are added in cnxk crypto PMD.
> The instruction queues are enabled in dev start and disabled in
> dev stop.
>
> Ankur Dwivedi (2):
> common/cnxk: move instruction queue enable to roc API
> crypto/cnxk: add dev start and dev stop
>
> drivers/common/cnxk/roc_cp
Hi,
> -Original Message-
> From: Yigit, Ferruh
> Sent: Saturday, July 10, 2021 1:29
> To: Jerin Jacob ; Li, Xiaoyun ;
> Chas Williams ; Min Hu (Connor) ;
> Hemant Agrawal ; Sachin Saxena
> ; Zhang, Qi Z ; Wang,
> Xiao W ; Matan Azrad ;
> Shahaf Shuler ; Viacheslav Ovsiienko
> ; Harman Kal
60 matches
Mail list logo