On 5/19/22 05:17, Alexander Kozyrev wrote:
On Wed, May 18, 2022 12:51 Andrew Rybchenko :
I'm sorry, I'm not sure that I can take part in tomorrow meeting, so,
I'd like to drop my thoughts on the topic via E-mail.
Thank you for taking some time and reviewing this RFC.
Existing "meter" object
Changes adds telemetry support to display memory occupancy
in memseg and the information of the elements allocated from
a memseg based on arguments provided by user. This patch
adds following endpoints:
1. /eal/active_memseg_list
The command displays the memseg list from which the memory
has been
Outer VLAN processing is supported after firmware v8.4, kernel driver
also changes the default behavior to support this feature. To align with
kernel driver, add support for outer VLAN processing in DPDK.
But it is forbidden for firmware to change the Inner/Outer VLAN
configuration while there are
Added I226 Series device ID in igc driver and updated igc guide
document for new devices.
Signed-off-by: Qiming Yang
Signed-off-by: Kevin Liu
---
doc/guides/nics/igc.rst| 14 +++---
doc/guides/rel_notes/release_22_03.rst | 5 +
drivers/net/igc/base/igc_api.c
Added function to parse algorithm for AES_CBC test.
Signed-off-by: Gowrishankar Muthukrishnan
---
Depends-on: series-22738 ("Add JSON vector set support to fips validation")
v2:
- minor cleanup.
---
examples/fips_validation/fips_validation.c| 8 +-
examples/fips_validation/fips_validati
Reset IV generation in every test group.
Signed-off-by: Gowrishankar Muthukrishnan
---
Depends-on: series-22738 ("Add JSON vector set support to fips validation")
---
examples/fips_validation/fips_validation_gcm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/fips_validation/fips_
Added I226 Series device ID in igc driver and updated igc guide
doc for new devices.
Signed-off-by: Qiming Yang
Signed-off-by: Kevin Liu
---
doc/guides/nics/igc.rst| 14 +++---
doc/guides/rel_notes/release_22_03.rst | 5 +
drivers/net/igc/base/igc_api.c | 6
Remove garbage entries for bypassed tests in response file.
Signed-off-by: Gowrishankar Muthukrishnan
---
Depends-on: series-22738 ("Add JSON vector set support to fips validation")
---
examples/fips_validation/main.c | 74 -
1 file changed, 35 insertions(+), 39 d
This patch is aim to fix the mentioned situation.
After having failed to create rule, error code is EINVAL or EAGAIN depends
whether DCF is enabled and DCF state is on or not.
In this patch conduct DPDK DCF state by create or destroy rule successfully or
not.
Before patch is applied, the steps of
Add afu_mf driver to manage various AFU (Acceleration Function Unit)
in FPGA.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: fix typo
---
v3: fix build error in FreeBSD13-64, UB2004-32 and UB2204-32
---
v4: fix coding style issue and build error in FreeBSD13-64
---
drivers/raw/afu_mf/
> -Original Message-
> From: Qiming Yang
> Sent: Thursday, May 19, 2022 1:02 PM
> To: dev@dpdk.org; Xing, Beilei
> Cc: Yang, Qiming ; sta...@dpdk.org
> Subject: [PATCH] net/iavf: fix queue start exception handle
exception handling
>
> When queue start fail, started queues should be
Please find comments inline from CI point of view.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PATCH v4 8/8] examples/fips_validation: add parsing for
Please find comments inline from CI point of view.
> -Original Message-
> main(int argc, char *argv[])
> {
> int ret;
> + char use_json;
>
> ret = rte_eal_init(argc, argv);
> if (ret < 0) {
> @@ -424,9 +436,17 @@ main(int argc, char *argv[])
>
> -Original Message-
> From: wenxuanx...@intel.com
> Sent: Wednesday, May 18, 2022 12:59 PM
> To: Xing, Beilei ; Zhang, Yuying
> ; dev@dpdk.org
> Cc: Wu, WenxuanX ; Zhou, YidingX
> ; sta...@dpdk.org
> Subject: [PATCH v4] net/i40e: fix max frame size config at port level
>
> From: Wenxu
When queue start fail, started queues should be cleared.
Fixes: 69dd4c3d0898 ("net/avf: enable queue and device")
Cc: sta...@dpdk.org
Signed-off-by: Qiming Yang
---
drivers/net/iavf/iavf_ethdev.c | 30 --
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git
On Thu, 19 May 2022 09:19:59 +0800
Wenjun Wu wrote:
> if (dev->data->dev_conf.rxmode.offloads &
> - RTE_ETH_RX_OFFLOAD_TIMESTAMP) {
> - if (iavf_get_phc_time(adapter)) {
> - PMD_DRV_LOG(ERR, "get physical time failed");
> - goto er
Add afu_mf driver to manage various AFU (Acceleration Function Unit)
in FPGA.
Signed-off-by: Wei Huang
Acked-by: Tianfei Zhang
---
v2: fix typo
---
v3: fix build error in FreeBSD13-64, UB2004-32 and UB2204-32
---
drivers/raw/afu_mf/afu_mf_rawdev.c | 440
drivers/raw/afu_mf/afu_mf_rawd
On Wed, May 18, 2022 12:51 Andrew Rybchenko :
> I'm sorry, I'm not sure that I can take part in tomorrow meeting, so,
> I'd like to drop my thoughts on the topic via E-mail.
Thank you for taking some time and reviewing this RFC.
> Existing "meter" object which pulls profile and policy together al
https://bugs.dpdk.org/show_bug.cgi?id=1013
Bug ID: 1013
Summary: [dpdk-22.07] unit_tests_eal/link_bonding_rssconf:
link_bonding_rssconf_autotest test failed
Product: DPDK
Version: unspecified
Hardware: x86
O
In multi-cores cases for RX timestamp offload, if packets arrive
too fast, aq command to get phc time will be pended.
This patch adds spinlock to fix this issue. To avoid phc time being
frequently overwritten, move related variables to iavf_rx_queue
structure, and each queue will handle timestamp
Hi Wenxuan,
LGTM.
> -Original Message-
> From: Wu, WenxuanX
> Sent: Wednesday, May 18, 2022 3:32 PM
> To: Zhang, Yuying ; Xing, Beilei
> ; dev@dpdk.org
> Cc: Zhou, YidingX ; sta...@dpdk.org
> Subject: RE: [PATCH v3] net/i40e: fix max frame size config at port level
>
> Hi, Yuying
>
> >
18/05/2022 18:24, David Marchand пишет:
On Fri, May 13, 2022 at 12:10 PM Min Hu (Connor) wrote:
I think net/bonding offer 'API' for APP to use the bonding.
and use the specific PMD as slave device.
The software framwork is like:
APP
ethdev
bonding PMD
PMD
hardwar
Move related specific testpmd commands into this driver directory.
While at it, fix checkpatch warnings.
The bypass code required some special init code before starting a port.
This is removed from testpmd itself and a new (*untested*) command is
added.
Note: bypass commands were not compiled sin
Move related specific testpmd commands into this driver directory.
While at it, fix checkpatch warnings.
Signed-off-by: David Marchand
---
app/test-pmd/cmdline.c | 1035 ---
app/test-pmd/meson.build |3 -
drivers/net/bonding/meson.build
Introduce a testpmd API so that drivers can register specific commands.
A driver can list some files to compile with testpmd, by setting them
in the testpmd_sources (driver local) meson variable.
drivers/meson.build then takes care of appending this to a global meson
variable, and adding the drive
Hello,
Following TB decision and recent discussions on the driver specific
commands in testpmd, here is a proposal on how the split could be done.
For now, this series simply moves the testpmd code in the driver
directory. The driver specific testpmd code is still compiled as part of
testpmd comp
On Fri, May 13, 2022 at 12:10 PM Min Hu (Connor) wrote:
>
> I think net/bonding offer 'API' for APP to use the bonding.
> and use the specific PMD as slave device.
> The software framwork is like:
>APP
>ethdev
>bonding PMD
>PMD
>hardware
>
> so, I think cmdlines for tes
On 5/17/2022 11:51 AM, Joyce Kong wrote:
For memif non-zero-copy mode, there is a branch to compare
the mbuf and memif buffer size during memory copying. Add
a fast memory copy path by removing this branch with mbuf
and memif buffer size defined at compile time. The removal
of the branch leads to
On 5/17/2022 11:51 AM, Joyce Kong wrote:
For memif non-zero-copy mode, there is a branch to compare
the mbuf and memif buffer size during memory copying. Add
a fast memory copy path by removing this branch with mbuf
and memif buffer size defined at compile time. The removal
of the branch leads to
Hi all,
I'm sorry, I'm not sure that I can take part in tomorrow meeting, so,
I'd like to drop my thoughts on the topic via E-mail.
Existing "meter" object which pulls profile and policy together allows
do apply metering in one flow-based lookup for different flows.
I.e. we can route absolute
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Verified the functionality changes and looks good to me.
Acked-by: Gowrishankar Muthukrishnan
Thanks.
> -Original Message-
> From: Brandon Lo
> Sent: Friday, April 29, 2022 9:46 PM
> To: roy.fan.zh...@intel.com; ciara.po...@intel.com
> Cc: dev@dpdk.org; Brandon Lo
> Subject: [EXT] [PA
Added function to parse algorithm for AES_CBC test.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/fips_validation/fips_validation.c| 14 +-
examples/fips_validation/fips_validation.h| 1 +
.../fips_validation/fips_validation_aes.c | 218 ++
examples/fips_v
Reset IV generation in every test group.
Signed-off-by: Gowrishankar Muthukrishnan
---
v2:
- rebase on latest main.
---
examples/fips_validation/fips_validation_gcm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/examples/fips_validation/fips_validation_gcm.c
b/examples/fips_validation
Remove garbage entries for bypassed tests in response file.
Signed-off-by: Gowrishankar Muthukrishnan
---
examples/fips_validation/main.c | 74 -
1 file changed, 35 insertions(+), 39 deletions(-)
diff --git a/examples/fips_validation/main.c b/examples/fips_valida
On Wed, 18 May 2022 16:25:21 +0800
Junfeng Guo wrote:
> + /* TODO hardcode a mac addr for now */
> + hw->mac.addr[0] = 0x00;
> + hw->mac.addr[1] = 0x00;
> + hw->mac.addr[2] = 0x00;
> + hw->mac.addr[3] = 0x00;
> + hw->mac.addr[4] = 0x03;
> + hw->mac.addr[5] = 0x14;
DPD
On Wed, 18 May 2022 06:58:06 +
Steve Yang wrote:
> +#define ICE_BUFF_SIZE0x000c9000
Having magic size hard coded in testpmd is bad idea.
If there is driver specific size it should be exposed by API
> + size = ICE_BUFF_SIZE;
> + buff = (uint8_t *)malloc(ICE_BUFF_SIZE);
Cast o
On Wed, 11 May 2022 08:02:46 +
Steve Yang wrote:
> +#define ICE_PKG_COPY_STRING(dst, src)\
> + do {\
> + char *_dst = (dst); \
> + const char *_src = (src); \
> + memset(_dst, SPACE_CHAR, ICE_PKG_NAME_SIZE); \
> + strncpy(_dst, _src,
From: Jerin Jacob
Update cnxk platform documentation to use
-Dplatform meson option for native builds.
Signed-off-by: Jerin Jacob
---
doc/guides/platform/cnxk.rst | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/doc/guides/platform/cnxk.rst b/doc/guides/platfor
> > > -Original Message-
> > > From: Rahul Bhansali
> > > Sent: Monday, May 9, 2022 12:20 PM
> > > To: dev@dpdk.org; Ruifeng Wang ; Jan Viktorin
> > > ; Bruce Richardson
> > >
> > > Cc: jer...@marvell.com; Rahul Bhansali
> > > Subject: [PATCH v4 1/2] config/arm: add SVE ACLE control flag
On 5/17/2022 11:56 AM, Stephen Hemminger wrote:
On Tue, 17 May 2022 11:31:36 -0400
Don Wallwork wrote:
Add support for using hugepages for worker lcore stack memory. The
intent is to improve performance by reducing stack memory related TLB
misses and also by using memory local to the NUMA nod
From: Pavan Nikhilesh
The `rte_event_eth_tx_adapter_enqueue()` function expects driver layer
to return the total number of events successfully transmitted.
Fix cn10k driver returning the number of packets transmitted in a
event vector instead of number of events.
Fixes: 761a321acf91 ("event/cnxk
Hi Bruce,
We want user to have the ability to choice which lib they want to use, so the
original design was to make the build option temporary, and it will get removed
after ipsec-mb FIP certified.
Will look into the runtime option to avoid top level build option modification.
Regards
Kai
>
Register address is different between net and blk device.
We are re-use most of the code, when register address is
different, we have to check net and blk device go through
different code.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.c | 34 +++---
1 file c
Create a thread to poll and relay config space change interrupt.
Use VHOST_USER_SLAVE_CONFIG_CHANGE_MSG to inform QEMU.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 118 +-
1 file changed, 117 insertions(+), 1 deletion(-)
diff --git a/drive
Add some log of virtio blk device config space information
at VDPA launch before qemu connects.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 34 ++
1 file changed, 34 insertions(+)
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf
Add virtio blk device support to devbind.
Signed-off-by: Andy Pei
---
usertools/dpdk-devbind.py | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/usertools/dpdk-devbind.py b/usertools/dpdk-devbind.py
index ace4627..7231be4 100755
--- a/usertools/dpdk-devbind.py
+++ b/userto
Add virtio blk device support to vDPA example.
Signed-off-by: Andy Pei
---
examples/vdpa/main.c | 56 ++
examples/vdpa/vdpa_blk_compact.h | 58
2 files changed, 114 insertions(+)
create mode 100644 examples
Add get device type ops to ifc driver.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 25 +
1 file changed, 25 insertions(+)
diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c
index 3e78c7d..0acfa8c 100644
--- a/drivers/vdpa/ifc/ifcvf
Vhost backend of different devices have different features.
Add a API to get vDPA device type, net device or blk device
currently, so users can set different features for different
kinds of devices.
Signed-off-by: Andy Pei
---
doc/guides/prog_guide/vhost_lib.rst| 5
doc/guides/rel_note
Add SW live-migration support to block device.
For block device, it is critical that no packet
should be dropped. So when virtio blk device is
pause, make sure hardware last_avail_idx and
last_used_idx are the same. This indicates all
requests have recieved acks, and no inflight IO.
Signed-off-by:
For virtio blk device, re-use part of ifc driver ops.
Implement ifcvf_blk_get_config for virtio blk device.
Support VHOST_USER_PROTOCOL_F_CONFIG feature for virtio
blk device.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.h | 4 ++
drivers/vdpa/ifc/ifcvf_vdpa.c | 91 ++
For the net device type, only interrupt of rxq needed to be relayed.
But for block, since all the queues are used for both read and write
requests. Interrupt of all queues needed to be relayed.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/ifcvf_vdpa.c | 9 -
1 file changed, 8 insertions(
Add support for VHOST_USER_GET_CONFIG and VHOST_USER_SET_CONFIG.
VHOST_USER_GET_CONFIG and VHOST_USER_SET_CONFIG message is only
supported by virtio blk VDPA device.
Signed-off-by: Andy Pei
---
lib/vhost/vhost_user.c | 73 ++
lib/vhost/vhost_user.h
Get_config and set_config are necessary ops for blk device.
Add get_config and set_config ops to vDPA ops.
Signed-off-by: Andy Pei
Reviewed-by: Maxime Coquelin
---
lib/vhost/vdpa_driver.h | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/vhost/vdpa_driver.h b/lib/v
Re-use the vdpa/ifc code, distinguish blk and net device by pci_device_id.
Blk and net device are implemented with proper feature and ops.
Signed-off-by: Andy Pei
---
drivers/vdpa/ifc/base/ifcvf.h | 16 +++-
drivers/vdpa/ifc/ifcvf_vdpa.c | 91 +++
2 fi
This patch set add virtio_blk device support to vdpa/ifc driver.
With a lot of similarities, I re-use part of vdpa/ifc driver.
Distinguish the virtio net and blk device by device id, and implement
specific features and ops.
Add example to vdpa to support virtio_blk device.
To support blk device li
On 5/6/2022 10:27 PM, Ed Czeck wrote:
Add capabilities field isvf to dev struct
Disable configuration calls as required by vf
Signed-off-by: Ed Czeck
Hi Ed,
Last two patches are removing VF restriction, adding a new VF device and
enabling its probing.
Can you please document this new featur
On 5/6/2022 10:27 PM, Ed Czeck wrote:
new version code
remove device-level global operations
remove ark_mpu_reset_stats function
Hi Ed, please find a few comments inline.
Also I assume 'mpu' is an abbreviation, can you please document what it
stands for in the commit log, like MPU (M.. P.. U
On Tue, May 17, 2022 at 3:54 AM taoyunxi...@cmss.chinamobile.com
wrote:
> >> @@ -143,7 +143,7 @@ local_dev_probe(const char *devargs, struct rte_device
> >> **new_dev)
> >> if (ret)
> >> goto err_devarg;
> >>
> >> - if (da->bus->plug == NULL) {
> >> + if (da->b
Hi,
> -Original Message-
> From: David Marchand
> Sent: Wednesday, May 18, 2022 6:17 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; ferruh.yi...@xilinx.com; sta...@dpdk.org;
> Wang, Xiao W
> Subject: [PATCH 09/12] vdpa/ifc: fix build with GCC 12
>
> GCC 12 raises the following warning
On Wed, May 18, 2022 at 11:26:27AM +0100, Ferruh Yigit wrote:
> On 5/18/2022 9:04 AM, Bruce Richardson wrote:
> > On Tue, May 17, 2022 at 10:16:51PM +0800, Kai Ji wrote:
> > > Add in build option for QAT pmd use intel ipsec-mb lib
> > > instead openssl for precompute partial hash & aes.
> > >
> >
On 5/18/2022 9:04 AM, Bruce Richardson wrote:
On Tue, May 17, 2022 at 10:16:51PM +0800, Kai Ji wrote:
Add in build option for QAT pmd use intel ipsec-mb lib
instead openssl for precompute partial hash & aes.
Signed-off-by: Kai Ji
---
drivers/common/qat/meson.build | 12
meson_o
GCC 12 raises the following warning:
In function ‘_mm256_loadu_si256’,
inlined from ‘rte_mov32’ at
../lib/eal/x86/include/rte_memcpy.h:319:9,
inlined from ‘rte_mov128’ at
../lib/eal/x86/include/rte_memcpy.h:344:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/
GCC 12 raises the following warning:
../app/test-flow-perf/main.c: In function ‘start_forwarding’:
../app/test-flow-perf/main.c:1737:28: error: ‘sprintf’ may write a
terminating nul past the end of the destination
[-Werror=format-overflow=]
1737 | sprintf(p[i++], "%d", (int)n);
GCC 12 raises the following warning:
In file included from ../lib/mempool/rte_mempool.h:46,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/vhost/vhost_crypto.c:7:
../lib/vhost/vhost_crypto.c: In function ‘rte_vhost_crypto_fetch_requests’:
../lib/eal/x86/include/rte_m
GCC 12 raises the following warning:
../drivers/vdpa/ifc/ifcvf_vdpa.c: In function ‘vdpa_enable_vfio_intr’:
../drivers/vdpa/ifc/ifcvf_vdpa.c:383:62: error: writing 4 bytes into a
region of size 0 [-Werror=stringop-overflow=]
383 | fd_ptr[RTE_INTR_VEC_RXTX_OFFSET + i]
GCC raises the following warning:
In function ‘_mm256_storeu_si256’,
inlined from ‘rte_mov32’ at
../lib/eal/x86/include/rte_memcpy.h:320:2,
inlined from ‘rte_mov128’ at
../lib/eal/x86/include/rte_memcpy.h:342:2,
inlined from ‘rte_memcpy_generic’ at
../lib/eal/x8
GCC 12 raises the following warning:
../drivers/net/ice/base/ice_switch.c: In function ‘ice_add_sw_recipe’:
../drivers/net/ice/base/ice_switch.c:7219:61: error: writing 1 byte
into a region of size 0 [-Werror=stringop-overflow=]
7219 | buf[recps].content.lkup_indx[i + 1] = entry->
GCC 12 raises the following warning:
In file included from ../lib/mempool/rte_mempool.h:46,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/net/rte_ether.h:22,
from ../lib/ethdev/rte_ethdev.h:172,
from ../lib/ethdev/ethdev_driver.h:22
GCC 12 raises the following warning:
../drivers/net/enetfec/enet_ethdev.c: In function
‘enetfec_rx_queue_setup’:
../drivers/net/enetfec/enet_ethdev.c:473:9: error: array
subscript 1 is
above array bounds of ‘uint32_t[1]’ {aka ‘unsigned int[1]’}
[-Werror=array-bounds]
GCC 12 raises the following warning:
In file included from ../lib/mempool/rte_mempool.h:46,
from ../lib/mbuf/rte_mbuf.h:38,
from ../lib/net/rte_ether.h:22,
from ../drivers/net/ena/ena_ethdev.h:10,
from ../drivers/net/ena/ena_rss.c
GCC 12 raises the following warning:
In function ‘__rte_ring_enqueue_elems_64’,
inlined from ‘__rte_ring_enqueue_elems’ at
../lib/ring/rte_ring_elem_pvt.h:130:3,
inlined from ‘__rte_ring_do_hts_enqueue_elem’ at
../lib/ring/rte_ring_hts_elem_pvt.h:196:3,
inlined from ‘rt
GCC 12 raises the following warning:
In file included from ../drivers/crypto/cnxk/cn10k_cryptodev_ops.c:17:
In function ‘fill_sg_comp_from_iov’,
inlined from ‘cpt_kasumi_enc_prep’ at
../drivers/crypto/cnxk/cnxk_se.h:1413:8,
inlined from ‘cpt_fc_enc_hmac_prep’ at
../drivers/
GCC 12 raises the following warning:
In function ‘fill_sg_comp_from_iov’,
inlined from ‘cpt_kasumi_enc_prep’ at
../drivers/common/cpt/cpt_ucode.h:2176:8,
inlined from ‘cpt_fc_enc_hmac_prep’ at
../drivers/common/cpt/cpt_ucode.h:2475:3,
inlined from ‘fill_digest_params’ a
Fedora 36 is out since early may and comes with gcc 12.
This series fixes compilation or waives some checks.
There might be something fishy with rte_memcpy on x86 but, for now,
the rte_memcpy related fixes are on the caller side.
Some "base" drivers have issues, I chose the simple solution of wai
When an error occurs in Tx, and it is moved to ERROR state, it
is not recoverable, during recovery it's state cannot be modified
to INIT. to modify state from RESET to INIT, the port must be
passed in modify attributes, and in case of ERROR to READY
modification path, it was not provided.
Provide
> -Original Message-
> From: Juraj Linkeš
> Sent: Tuesday, May 17, 2022 1:26 PM
> To: Rahul Bhansali ; dev@dpdk.org; Ruifeng Wang
> ; Jan Viktorin ; Bruce
> Richardson
> Cc: Jerin Jacob Kollanukkaran
> Subject: [EXT] RE: [PATCH v4 1/2] config/arm: add SVE ACLE control flag
>
> Extern
On 19-Apr-22 12:25 PM, Kevin Laatz wrote:
Add CLI options to l3fwd_power to utilize the new power APIs introduced in
this patchset. These CLI options allow the user to configure the
heuritstics made available through the new API via the l3fwd_power
application options.
Signed-off-by: Kevin Laatz
clang 14 raises the following warning:
../drivers/net/mlx5/linux/mlx5_ethdev_os.c:1137:52: error: 'fscanf'
may overflow; destination buffer in argument 3 has size 16, but the
corresponding specifier may require size 17
[-Werror,-Wfortify-source]
ret = fscanf(file, "%" R
On 19-Apr-22 12:25 PM, Kevin Laatz wrote:
Add new get/set API to allow the user or application to set the minimum
and maximum frequencies to use when scaling.
Previously, the frequency range was determined by the HW capabilities of
the CPU. With this new API, the user or application can constrain
On 19-Apr-22 12:24 PM, Kevin Laatz wrote:
Add new get/set API for configuring 'pause_duration' which used to adjust
the pause mode callback duration.
Signed-off-by: Kevin Laatz
---
@@ -334,11 +336,11 @@ clb_pause(uint16_t port_id __rte_unused, uint16_t qidx
__rte_unused,
if
drain_eth_rx() uses rte_vhost_avail_entries() to calculate
the available entries to determine if a retry is required.
However, this function only works with split rings, and
calculating packed rings will return the wrong value and cause
unnecessary retries resulting in a significant performance pen
This patch adds CPF device ID. CPF data path is supported
by idpf PMD now.
Signed-off-by: Wenjun Wu
Signed-off-by: Beilei Xing
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/base/iecm_devids.h | 1 +
drivers/net/idpf/idpf_ethdev.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/dri
support ops mtu_set.
Signed-off-by: Beilei Xing
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/idpf_ethdev.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index e46cadf83a..9b0bbca4a5 100644
--- a/drivers/net
Add RSS support.
Signed-off-by: Beilei Xing
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/idpf_ethdev.c | 106 +
drivers/net/idpf/idpf_ethdev.h | 18 +-
drivers/net/idpf/idpf_vchnl.c | 93 +
3 files changed, 216 insertions(+),
Add basic RX & TX support in split queue mode and single queue mode.
Using split queue mode by default.
Signed-off-by: Beilei Xing
Signed-off-by: Xiaoyun Li
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/idpf_ethdev.c | 93
drivers/net/idpf/idpf_rxtx.c | 877 ++
Add ops link_update.
Signed-off-by: Beilei Xing
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/idpf_ethdev.c | 22 ++
drivers/net/idpf/idpf_ethdev.h | 2 ++
2 files changed, 24 insertions(+)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
inde
Add ops dev_supported_ptypes_get.
Signed-off-by: Beilei Xing
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/idpf_ethdev.c | 3 ++
drivers/net/idpf/idpf_rxtx.c | 51 ++
drivers/net/idpf/idpf_rxtx.h | 3 ++
3 files changed, 57 insertions(+)
diff --git a/dri
Add ops dev_infos_get.
Signed-off-by: Beilei Xing
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/idpf_ethdev.c | 69 ++
1 file changed, 69 insertions(+)
diff --git a/drivers/net/idpf/idpf_ethdev.c b/drivers/net/idpf/idpf_ethdev.c
index b48a722b80..02e0760fc4 10
Add queue ops for IDPF PMD:
rx_queue_start
rx_queue_stop
tx_queue_start
tx_queue_stop
rx_queue_setup
rx_queue_release
tx_queue_setup
tx_queue_release
Signed-off-by: Beilei Xing
Signed-off-by: Xiaoyun Li
Signed-off-by: Junfeng Guo
-
Support dev init and add dev ops for IDPF PMD:
dev_configure
dev_start
dev_stop
dev_close
Signed-off-by: Beilei Xing
Signed-off-by: Xiaoyun Li
Signed-off-by: Xiao Wang
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/idpf_ethdev.c | 655 +
Add some MACRO definations and small functions which are specific
for DPDK.
Signed-off-by: Beilei Xing
Signed-off-by: Junfeng Guo
---
drivers/net/idpf/base/iecm_osdep.h | 365 +
1 file changed, 365 insertions(+)
create mode 100644 drivers/net/idpf/base/iecm_osdep.h
This is a draft of idpf (Infrastructure Data Path Function) PMD
in DPDK for Intel Device ID of 0x1452 and 0x1453.
v3:
fix small issues and add support for device id 0x1453.
v2:
fix code typo in func idpf_set_tx_function.
Junfeng Guo (11):
net/idpf/base: introduce base code
net/idpf/base: add
1 - 100 of 111 matches
Mail list logo