RE: [ovs-dev] OVS DPDK DMA-Dev library/Design Discussion

2022-03-21 Thread Pai G, Sunil
> Hi, Sunil. > > Mail-list strips attachments. So, if you want to share the presentation, > upload it somewhere accessible and provide a link instead. Hi , Thanks for the suggestion, Ilya. Here is a publicly accessible link to the presentation: https://github.com/Sunil-Pai-G/OVS-DPDK-presenta

Re: [PATCH] test/bpf: skip test if libpcap is unavailable

2022-03-21 Thread Tyler Retzlaff
On Mon, Mar 21, 2022 at 02:42:39PM +, Ananyev, Konstantin wrote: > > > > > Signed-off-by: Tyler Retzlaff > > --- > > app/test/test_bpf.c | 14 -- > > 1 file changed, 12 insertions(+), 2 deletions(-) > > > > diff --git a/app/test/test_bpf.c b/app/test/test_bpf.c > > index 805cce

[RFC,v2 3/3] net/ice: support header split in Rx data path

2022-03-21 Thread xuan . ding
From: Xuan Ding This patch adds support for header split in normal Rx data paths. When the Rx queue is configured with header split for specific protocol type, packets received will be directly splited into header and payload parts. And the two parts will be put into different mempools. Currentl

[RFC,v2 2/3] app/testpmd: add header split configuration

2022-03-21 Thread xuan . ding
From: Xuan Ding This patch adds header split configuration in testpmd. The header split feature is off by default. To enable header split, you need: 1. Configure Rx queue with rx_offload header split on. 2. Set the protocol type of header split. Command for set header split protocol type: testpm

[RFC,v2 1/3] ethdev: introduce protocol type based header split

2022-03-21 Thread xuan . ding
From: Xuan Ding Header split consists of splitting a received packet into two separate regions based on the packet content. The split happens after the packet header and before the packet payload. Splitting is usually between the packet header that can be posted to a dedicated buffer and the pack

[RFC,v2 0/3] ethdev: introduce protocol type based header split

2022-03-21 Thread xuan . ding
From: Xuan Ding Header split consists of splitting a received packet into two separate regions based on the packet content. It is useful in some scenarios, such as GPU acceleration. The spliting will help to enable true zero copy and hence improve the performance significantly. This patchset ext

[PATCH] net/i40e: Populate error in flow_parse_fdir_pattern

2022-03-21 Thread Mike Pattrick
Errors from i40e_flow_parse_fdir_pattern() can bubble up to rte_flow_create. If rte_flow_error is not initialized a caller may dereference error->message. This may be uninitialized memory, leading to a segemntation fault. Signed-off-by: Mike Pattrick Fixes: 4a072ad43442 ("net/i40e: fix flow direc

[PATCH v5] ip_frag: add IPv4 options fragment and test data

2022-03-21 Thread Huichao Cai
According to RFC791,the options may appear or not in datagrams. They must be implemented by all IP modules (host and gateways). What is optional is their transmission in any particular datagram, not their implementation.So we have to deal with it during the fragmenting process.Add some test data fo

Re:RE: [PATCH v4] ip_frag: add IPv4 options fragment and test data

2022-03-21 Thread Huichao Cai
Hi Konstantin, >Could you explain why do we need that define at all? >As I can read the code, right now IPV4_IPOPT_MANUAL is always defined, >so all '#else' blocks are simply dead code. >Is there any reason to keep it? >If so, then the code probably need to be re-ordered somehow, >to make '

Re: [ovs-dev] OVS DPDK DMA-Dev library/Design Discussion

2022-03-21 Thread Ilya Maximets
On 3/21/22 19:23, Pai G, Sunil wrote: > Hi all, > > Please see attached PDF which will be presented in the call. Hi, Sunil. Mail-list strips attachments. So, if you want to share the presentation, upload it somewhere accessible and provide a link instead. Best regards, Ilya Maximets. > > >

[PATCH v4] maintainers: add explicit maintainer for some bbdev PMDs

2022-03-21 Thread Nicolas Chautru
These were implicit from DPDK script but adding separate reference to make it explicit. Separate sections for API and PMDs Signed-off-by: Nicolas Chautru --- MAINTAINERS | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS in

From: Nicolas Chautru

2022-03-21 Thread Nicolas Chautru
v4: edits suggested by Thomas v3: squash issue in v2 v2: adding suggested updates from Thomas and David to split and fix maintainers list, let me know. -- Suggested by Bruce to add explicit maintainer for some of the existing bbdev PMDs even it is already implicit currently. Intent is to be ea

Re: [PATCH v2] examples/vm_power: add support for list_foreach_safe

2022-03-21 Thread Stephen Hemminger
On Mon, 21 Mar 2022 09:33:42 + Shibin Koikkara Reeny wrote: > diff --git a/examples/vm_power_manager/channel_manager.c > b/examples/vm_power_manager/channel_manager.c > index 838465ab4b..d297b28114 100644 > --- a/examples/vm_power_manager/channel_manager.c > +++ b/examples/vm_power_manager/c

Re: [PATCH] test/bpf: skip test if libpcap is unavailable

2022-03-21 Thread Stephen Hemminger
On Mon, 21 Mar 2022 06:13:27 -0700 Tyler Retzlaff wrote: > test_bpf_convert is being conditionally registered depending on the > presence of RTE_HAS_LIBPCAP except the UT unconditionally lists it as a > test to run. > > when the UT runs test_bpf_convert test-dpdk can't find the registration > an

Re: [PATCH] version: 22.07-rc0

2022-03-21 Thread Thomas Monjalon
18/03/2022 16:46, Aaron Conole: > David Marchand writes: > > > Start a new release cycle with empty release notes. > > Bump version and ABI minor. > > > > Signed-off-by: David Marchand > > Acked-by: Thomas Monjalon > Acked-by: Aaron Conole Applied, thanks

RE: [PATCH] test/bpf: skip test if libpcap is unavailable

2022-03-21 Thread Ananyev, Konstantin
> > test_bpf_convert is being conditionally registered depending on the > presence of RTE_HAS_LIBPCAP except the UT unconditionally lists it as a > test to run. > > when the UT runs test_bpf_convert test-dpdk can't find the registration > and assumes the DPDK_TEST environment variable hasn't be

[PATCH] ethtool: added list command to list all available commands

2022-03-21 Thread huzaifa.rahman
From: Huzaifa696 help command is needed so user can see all the available commands directly from the command line along with the formats. Signed-off-by: Huzaifa696 --- doc/guides/sample_app_ug/ethtool.rst | 1 + examples/ethtool/ethtool-app/ethapp.c | 38 +++ 2 files

RE: [PATCH v4] ip_frag: add IPv4 options fragment and test data

2022-03-21 Thread Ananyev, Konstantin
Hi Huichao, > According to RFC791,the options may appear or not in datagrams. > They must be implemented by all IP modules (host and gateways). > What is optional is their transmission in any particular datagram, > not their implementation.So we have to deal with it during the > fragmenting proces

Re: [PATCH] version: 22.07-rc0

2022-03-21 Thread David Marchand
On Mon, Mar 21, 2022 at 2:01 PM Thomas Monjalon wrote: > > 18/03/2022 15:35, David Marchand: > > +ABI Changes > > +--- > > + > > +.. This section should contain ABI changes. Sample format: > > + > > + * sample: Add a short 1-2 sentence description of the ABI change > > + which was an

[PATCH] test/bpf: skip test if libpcap is unavailable

2022-03-21 Thread Tyler Retzlaff
test_bpf_convert is being conditionally registered depending on the presence of RTE_HAS_LIBPCAP except the UT unconditionally lists it as a test to run. when the UT runs test_bpf_convert test-dpdk can't find the registration and assumes the DPDK_TEST environment variable hasn't been defined result

Re: [PATCH] version: 22.07-rc0

2022-03-21 Thread Thomas Monjalon
18/03/2022 15:35, David Marchand: > +ABI Changes > +--- > + > +.. This section should contain ABI changes. Sample format: > + > + * sample: Add a short 1-2 sentence description of the ABI change > + which was announced in the previous releases and made in this release. > + Start w

[PATCH v3] usertools: add check for IOMMU support in dpdk-devbind

2022-03-21 Thread Fidaullah Noonari
binding with vfio driver, when IOMMU is disabled, causes program to crash. this patch adds a flag for noiommmu-mode. when this is set, if IOMMU is disabled, it changes vfio into unsafe noiommu mode and prints warning message. Signed-off-by: Fidaullah Noonari --- usertools/dpdk-devbind.py | 47 ++

19.11.12 patches review and test

2022-03-21 Thread christian . ehrhardt
Hi all, Here is a list of patches targeted for stable release 19.11.12. The planned date for the final release is 7th of April. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported valida

[PATCH v2] examples/vm_power: add support for list_foreach_safe

2022-03-21 Thread Shibin Koikkara Reeny
Asan tool reported LIST_FOREACH should be replaced with LIST_FOREACH_SAFE. Added support for LIST_FOREACH_SAFE macro in rte_os.h file as Linux header file sys/queue.h don't support LIST_FOREACH_SAFE macro. RTE_LIST_FOREACH_SAFE is alias for LIST_FOREACH_SAFE. Fixes: e8ae9b662506 ("examples/vm_powe