Re: [dpdk-dev] [PATCH 1/8] lib/librte_ethdev: introduce GENEVE header TLV option item

2020-12-30 Thread Shiri Kuzin
> -Original Message- > From: Ori Kam > Sent: Tuesday, December 29, 2020 12:13 PM > To: Stephen Hemminger ; Shiri Kuzin > > Cc: dev@dpdk.org; Slava Ovsiienko ; NBU- > Contact-Adrien Mazarguil ; > ferruh.yi...@intel.com; NBU-Contact-Thomas Monjalon > ; Raslan Darawsheh > Subject: RE: [d

Re: [dpdk-dev] [RFC 0/7] support SubFunction representor

2020-12-30 Thread Xueming(Steven) Li
Hi Andrew, >-Original Message- >From: Andrew Rybchenko >Sent: Monday, December 28, 2020 9:45 PM >To: Xueming(Steven) Li ; Slava Ovsiienko >; NBU-Contact-Thomas Monjalon >; Ferruh Yigit ; Olivier Matz >; Matan Azrad >Cc: dev@dpdk.org; Asaf Penso >Subject: Re: [RFC 0/7] support SubFunctio

Re: [dpdk-dev] [PATCH v5] eal: add generic thread-local-storage functions

2020-12-30 Thread Tal Shnaiderman
> Subject: Re: [PATCH v5] eal: add generic thread-local-storage functions > > External email: Use caution opening links or attachments > > > On Sat, 26 Dec 2020 18:08:48 +0200, Tal Shnaiderman wrote: > > diff --git a/lib/librte_eal/windows/meson.build > > b/lib/librte_eal/windows/meson.build > >

Re: [dpdk-dev] [PATCH v2 01/22] ethdev: fix MTU size exceeds max rx packet length

2020-12-30 Thread oulijun
在 2020/12/17 17:22, Steve Yang 写道: If max rx packet length is smaller then MTU + Ether overhead, that will drop all MTU size packets. Update the MTU size according to the max rx packet and Ether overhead. Fixes: 59d0ecdbf0e1 ("ethdev: MTU accessors") Signed-off-by: Steve Yang --- lib/lib

Re: [dpdk-dev] [RFC 0/7] support SubFunction representor

2020-12-30 Thread Thomas Monjalon
30/12/2020 09:54, Xueming(Steven) Li: > Hi Andrew, > > From: Andrew Rybchenko > >On 12/18/20 5:55 PM, Xueming Li wrote: > >> SubFunction [1] is a portion of the PCI device, a SF netdev has its > >> own dedicated queues(txq, rxq). A SF netdev supports eswitch > >> representation offload similar to

[dpdk-dev] [PATCH v6] eal: add generic thread-local-storage functions

2020-12-30 Thread Tal Shnaiderman
Add support for tls functionality in EAL. The following functions are added: rte_thread_tls_create_key - function to create a tls data key. rte_thread_tls_delete_key - function to delete a tls data key. rte_thread_tls_set_value - function to set value bound to the tls key rte_thread_tls_get_value

Re: [dpdk-dev] [PATCH v2] net/axgbe: add support for reading FW version

2020-12-30 Thread Somalapuram, Amaranath
-Original Message- From: Sebastian, Selwin Sent: Tuesday, December 29, 2020 12:40 PM To: dev@dpdk.org Cc: Somalapuram, Amaranath ; ferruh.yi...@intel.com Subject: [PATCH v2] net/axgbe: add support for reading FW version From: Selwin Sebastian Added support for fw_version_get API S

Re: [dpdk-dev] Potential regression introduced by commit b10231aed1edb9

2020-12-30 Thread Devendra Singh Rawat
Adding more people to comment/investigate here. Devendra, could it be that we don't consider subsequent calls of promisc_enabled + allmulti_enable ? Devendra >> yes, I agree that as long as promiscuous mode is enabled for a port, all traffic should be accepted even if allmulticast is enabled l

Re: [dpdk-dev] Potential regression introduced by commit b10231aed1edb9

2020-12-30 Thread Balazs Nemeth
Hi, I already posted a patch that fixes the issue on my side here: http://mails.dpdk.org/archives/dev/2020-December/195206.html Regards, Balazs On Wed, 2020-12-30 at 12:51 +, Devendra Singh Rawat wrote: > Adding more people to comment/investigate here. > > Devendra, could it be that we don'

Re: [dpdk-dev] [EXTERNAL] Re: [PATCH v4] eal: add generic thread-local-storage functions

2020-12-30 Thread Dmitry Malloy (MESHCHANINOV)
I wonder if this should be consistent with Nick's meson (to use external pthread library) change? -Original Message- From: Dmitry Kozlyuk Sent: Wednesday, December 23, 2020 3:59 AM To: Tal Shnaiderman Cc: dev@dpdk.org; thomas ; Kadam, Pallavi ; navas...@linux.microsoft.com; Dmitry Mal

[dpdk-dev] Migrating the dpdk.org mailing lists

2020-12-30 Thread Ali Alnubani
Hi, During the next 2 hours we will be moving the Mailman instance to a new server. Please expect that mails.dpdk.org, mailman.dpdk.org and ml.dpdk.org will not be accessible, and no patches will be added to Patchwork. Thanks for your patience, and sorry for the inconvenience. Regards, Ali

Re: [dpdk-dev] Migrating the dpdk.org mailing lists

2020-12-30 Thread Ali Alnubani
Hi, The migration took longer than expected, but everything should be up and running now. Please let us know if you see any issues. Thanks, Ali From: Ali Alnubani Sent: Wednesday, December 30, 2020 6:36 PM Hi, During the next 2 hours we will be moving the Mailman instance to a new server. Ple

Re: [dpdk-dev] [PATCH v5 00/32] mlx5 Windows support - part #5

2020-12-30 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Tal Shnaiderman > Sent: Monday, December 28, 2020 11:54 AM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon ; Matan Azrad > ; Raslan Darawsheh ; Ophir > Munk > Subject: [PATCH v5 00/32] mlx5 Windows support - part #5 > > This patch series is part of p

Re: [dpdk-dev] Migrating the dpdk.org mailing lists

2020-12-30 Thread Ali Alnubani
Hi, The migration took longer than expected, but everything should be up and running now. Please let us know if you see any issues. Thanks, Ali From: Ali Alnubani Sent: Wednesday, December 30, 2020 6:36 PM Hi, During the next 2 hours we will be moving the Mailman instance to a new server. Ple

Re: [dpdk-dev] [PATCH v14 00/12] Arm build options rework

2020-12-30 Thread Andrew Boyer
> On Dec 23, 2020, at 6:47 AM, Juraj Linkeš wrote: > > The current way of specifying Arm configuration options is insufficient > since we can't identify the SoC we're building for from the MIDR > information. For example, we can't distinguish between N1SDP, Graviton2 > or Ampere Altra. > > Add

Re: [dpdk-dev] [PATCH] ci: fix package installation in GitHub Actions

2020-12-30 Thread Andrew Boyer
Hello David, I’m hitting this issue on the next/dpdk-next-net branch. Is there a way to pull the patch into all of the next-* branches so that others don’t hit it too? For now I've pulled it into my own branch. This Actions thing is cool. It’s a huge timesaver. Thank you, Andrew > On Dec 21, 2

Re: [dpdk-dev] [PATCH v14 00/12] Arm build options rework

2020-12-30 Thread Thomas Monjalon
30/12/2020 20:09, Andrew Boyer: > > > On Dec 23, 2020, at 6:47 AM, Juraj Linkeš > > wrote: > > > > The current way of specifying Arm configuration options is insufficient > > since we can't identify the SoC we're building for from the MIDR > > information. For example, we can't distinguish betw

[dpdk-dev] [PATCH v3] net/i40e: fix flex payload rule conflict issue

2020-12-30 Thread beilei . xing
From: Beilei Xing With the following commands, the second flow can't be created successfully. 1. flow create 0 ingress pattern eth / ipv4 / udp / raw relative is 1 pattern is 0102030405 / end actions drop / end 2. flow destroy 0 rule 0 3. flow create 0 ingress pattern eth / ipv4 / udp /

[dpdk-dev] [PATCH] net/iavf: fix GTPU UL and DL support for FDIR

2020-12-30 Thread Junfeng Guo
For AVF FDIR, GTPU uplink and downlink are not supported in previous code. This patch distinguishes GTPU with IP/EH/DL/UL for AVF FDIR. Fixes: 4c7a41ae6b23 ("net/iavf: support flow director GTPU outer IPv4/IPv6") Cc: sta...@dpdk.org Signed-off-by: Junfeng Guo --- drivers/net/iavf/iavf_fdir.c |

Re: [dpdk-dev] [PATCH v3] net/i40e: fix flex payload rule conflict issue

2020-12-30 Thread Guo, Jia
> -Original Message- > From: Xing, Beilei > Sent: Friday, January 1, 2021 12:04 PM > To: Guo, Jia ; dev@dpdk.org > Cc: Xing, Beilei ; sta...@dpdk.org; Sun, Chenmin > > Subject: [PATCH v3] net/i40e: fix flex payload rule conflict issue > > From: Beilei Xing > > With the following comm

Re: [dpdk-dev] [PATCH 6/7] examples/vhost: enhance getopt_long usage

2020-12-30 Thread Ibtisam Tariq
Hi, Sorry, for the late reply. We have two solutions: > - we keep this &builtin_net_driver flag use, but we must accept a 0 > return value from getopt_long. > - we convert this option to the same scheme as the other and add a > OPT_BUILTIN_NET_DRIVER_NUM like other options in this example, > What

[dpdk-dev] [PATCH 00/15] Octeon Tx/Tx2 Endpoint pmd

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" This patch set contains PMD with minimal set of operations that can drive both Octeon Tx and Tx2 in endpoint. Nalla, Pradeep (15): net/octeontx_ep: add build and doc infrastructure net/octeontx_ep: add ethdev probe and remove net/octeontx_ep: add device init and unin

[dpdk-dev] [PATCH 03/15] net/octeontx_ep: add device init and uninit

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Add basic init and uninit function which includes initializing fields of ethdev private structure. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx_ep_common.h | 22 ++ drivers/net/octeontx_ep/otx_ep_ethdev.c | 99 - 2 files changed

[dpdk-dev] [PATCH 02/15] net/octeontx_ep: add ethdev probe and remove

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" add basic PCIe ethdev probe and remove. Signed-off-by: Nalla Pradeep --- drivers/common/octeontx2/otx2_common.h | 3 ++ drivers/net/octeontx_ep/meson.build | 13 ++ drivers/net/octeontx_ep/otx_ep_common.h | 14 ++ drivers/net/octeontx_ep/otx_ep_ethdev.c | 62

[dpdk-dev] [PATCH 05/15] net/octeontx_ep: Add dev info get and configure

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Add device information get and device configure operations. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx_ep_common.h | 15 + drivers/net/octeontx_ep/otx_ep_ethdev.c | 80 + drivers/net/octeontx_ep/otx_ep_rxtx.h | 10 3 fi

[dpdk-dev] [PATCH 04/15] net/octeontx_ep: Added basic device setup.

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Functions to setup device, basic IQ and OQ registers are added. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/meson.build | 2 + drivers/net/octeontx_ep/otx2_ep_vf.c| 138 + drivers/net/octeontx_ep/otx2_ep_vf.h| 11 ++ drivers

[dpdk-dev] [PATCH 07/15] net/octeontx_ep: Added tx queue setup and release

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Transmit queue setup involves allocating memory for the command queue considering tx descriptor count and initializing data structure representing the queue. Transmit queue release function frees the command queue. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/

[dpdk-dev] [PATCH 06/15] net/octeontx_ep: Added rxq setup and release

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Receive queue setup involves allocating memory for the queue, initializing data structure representing the queue and filling queue with receive buffers of rx descriptor count. Receive queues are referred as droq. Hardware fills the receive buffers in queue with the packet.

[dpdk-dev] [PATCH 08/15] net/octeontx_ep: Setting up iq and oq registers

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Configuring hardware registers with command queue(iq) and droq(oq) parameters. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx2_ep_vf.c| 124 ++ drivers/net/octeontx_ep/otx_ep_common.h | 65 drivers/net/octeontx_ep/otx_ep

[dpdk-dev] [PATCH 12/15] net/octeontx_ep: INFO PTR mode support added.

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Hardware can be programmed to write the meta data of incoming packet in the same buffer it uses to fill the packet(BUF PTR mode) or a different buffer (INFO PTR mode). Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/meson.build | 2 +- drivers/net/octeontx_e

[dpdk-dev] [PATCH 10/15] net/octeontx_ep: Receive data path function added

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Function to deliver packets from DROQ to application is added. It also fills DROQ with receive buffers timely such that device can fill them with incoming packets. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx_ep_common.h | 5 + drivers/net/octeontx_ep/ot

[dpdk-dev] [PATCH 13/15] net/octeontx_ep: stats get/reset and link update

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Added stats get, stats reset and link update operations. Following stats are reported currently 1. ibytes, ipackets and ierrors. 2. obytes, opackets and oerrors. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx_ep_ethdev.c | 84 + 1 fil

[dpdk-dev] [PATCH 01/15] net/octeontx_ep: add build and doc infrastructure

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Adding bare minimum PMD library and doc build infrastructure and claim the maintainership for octeontx end point PMD. Signed-off-by: Nalla Pradeep --- MAINTAINERS | 9 +++ doc/guides/nics/features/octeontx_ep.ini | 8 ++ doc/guides/n

[dpdk-dev] [PATCH 11/15] net/octeontx_ep: Transmit data path function added

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" 1. Packet transmit function for both otx and otx2 are added. 2. Flushing trasmit(command) queue when pending commands are more than maximum allowed value (currently 16). 3. Scatter gather support if the packet spans multiple buffers. Signed-off-by: Nalla Pradeep --- dr

[dpdk-dev] [PATCH 09/15] net/octeontx_ep: Added dev start and stop

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Dev start and stop operations are added. To accomplish this internal functions to enable or disable io queues are incorporated. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx2_ep_vf.c| 92 +++ drivers/net/octeontx_ep/otx_ep_common.h | 1

[dpdk-dev] [PATCH 14/15] net/octeontx_ep: rx queue interrupt

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Added rx queue interrupt enable and disable operations. These functions are supported on both otx and otx2 platforms. Application can make use of these functions and wait on event at packet reception. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx2_ep_vf.c

[dpdk-dev] [PATCH 15/15] net/octeontx_ep: Input output reset.

2020-12-30 Thread Nalla, Pradeep
From: "Nalla Pradeep" Function to allow resetting input and output queues are added. Supports both otx and otx2 endpoints. Signed-off-by: Nalla Pradeep --- drivers/net/octeontx_ep/otx2_ep_vf.c | 120 ++ drivers/net/octeontx_ep/otx_ep_vf.c | 143 +++