[dpdk-dev] [PATCH] net/mlx5: allow port start with zero Rx queues

2019-01-22 Thread Dekel Peled
During port start, function mlx5_ctrl_flow_vlan() is called to create default ingress flow rules. For specific use-cases, a port can be used for Tx only. In such case, number of Rx queues can be set to 0 to save resources, hence the default ingress rules are irrelevant. This patch modifies functio

[dpdk-dev] [PATCH] net/mlx5: block RSS action without Rx queues

2019-01-22 Thread Dekel Peled
This patch modifies function mlx5_flow_validate_action_rss(), to prevent the setting of rule with rss action, but without specifying any queues. For example: flow create 0 ingress pattern end actions rss queues end / end Signed-off-by: Dekel Peled --- drivers/net/mlx5/mlx5_flow.c | 4 1 fil

[dpdk-dev] [PATCH] net/i40e: fix queue region error in priority configuration

2019-01-22 Thread Wei Zhao
There is no need to set vlan priority realted resigsters when there is no configuration about that in queue region. Fixes: 7cbecc2f7424 ("net/i40e: support queue region set and flush") Signed-off-by: Wei Zhao --- drivers/net/i40e/rte_pmd_i40e.c | 12 +++- 1 file changed, 11 insertions(+)

[dpdk-dev] [PATCH] net/ice: add promiscuous mode support

2019-01-22 Thread Wenzhuo Lu
Enable the APIs for unicast and multicast promiscuous mode setting. Signed-off-by: Wenzhuo Lu --- doc/guides/nics/features/ice.ini | 2 + drivers/net/ice/ice_ethdev.c | 86 2 files changed, 88 insertions(+) diff --git a/doc/guides/nics/features/ice.

Re: [dpdk-dev] [PATCH v3 0/5] Add non-blocking ring

2019-01-22 Thread Ola Liljedahl
On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote: > For some users, the rte ring's "non-preemptive" constraint is not > acceptable; > for example, if the application uses a mixture of pinned high- > priority threads > and multiplexed low-priority threads that share a mempool. > > This patchset in

Re: [dpdk-dev] [PATCH] doc: announce ABI change for cryptodev config

2019-01-22 Thread Anoob Joseph
Hi Fiona, Any more comments on this? @ Akhil, Pablo Can you review this change and share your thoughts? Thanks, Anoob > -Original Message- > From: Shally Verma > Sent: 18 January 2019 12:29 > To: Anoob Joseph ; Trahe, Fiona > ; Akhil Goyal ; De Lara Guarch, > Pablo > Cc: Jerin Jacob K

Re: [dpdk-dev] [PATCH] net/i40e: fix queue region error in priority configuration

2019-01-22 Thread Zhao1, Wei
Tested-by: Peng Yuan < yuan.p...@intel.com@intel.com> applied the patch [https://patches.dpdk.org/patch/49990/] to dpdk 19.02-rc3 commit 84a1d4a873634f53cc6e3555dc78ca611bbc3458 verified with fortville 4*10g NIC driver: i40e version: 2.7.11 firmware-version: 6.01 0x80003205 1.1691.0 ./usertools/

Re: [dpdk-dev] [PATCH v3 2/5] ring: add a non-blocking implementation

2019-01-22 Thread Ola Liljedahl
On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote: > This commit adds support for non-blocking circular ring enqueue and > dequeue > functions. The ring uses a 128-bit compare-and-swap instruction, and > thus > is currently limited to x86_64. > > The algorithm is based on the original rte ring (de

Re: [dpdk-dev] [PATCH v3 0/5] Add non-blocking ring

2019-01-22 Thread Ola Liljedahl
Sorry about the confidental footer. I tried to remove it using some Exhange magic but it seems not to work with Evolution. I'll try some other way. -- Ola On Tue, 2019-01-22 at 09:27 +, Ola Liljedahl wrote: > On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote: > > > > For some users, the rte

Re: [dpdk-dev] [PATCH] doc: announce change of rte service API parameter type

2019-01-22 Thread Van Haaren, Harry
> -Original Message- > From: Rao, Nikhil > Sent: Tuesday, January 22, 2019 5:44 AM > To: nhor...@tuxdriver.com > Cc: Van Haaren, Harry ; dev@dpdk.org; Rao, > Nikhil > Subject: [PATCH] doc: announce change of rte service API parameter type > > rte_service_attr_get() is passed a uint32_t *

[dpdk-dev] [PATCH v3] app/testpmd: add tos and ttl field to vxlan encapsulation

2019-01-22 Thread Viacheslav Ovsiienko
The new testpmd set vxlan-tos-ttl command is added. It allows to specify tos and tll fields for encapsulation IP header. IPv4 VXLAN outer header: testpmd> set vxlan-tos-ttl ip-version ipv4 vni 4 udp-src 4 udp-dst 4 ip-tos 0 ip-ttl 255 ip-src 127.0.0.1 ip-dst 128.0.0.1 eth-

[dpdk-dev] [PATCH] test/compress: fix size of test buffer

2019-01-22 Thread Marko Kovacevic
Changed size of test buffer to 100 to allow qat to run compress unit-test, qat_comp_process_response(): QAT intermediate buffer may be too small for output, try configuring a larger size Fixes: c1bbb613ce96 ("test/compress: add out of space test") Cc: marko.kovace...@intel.com Signed-off-by: Mark

[dpdk-dev] [PATCH] net/mlx5: fix tc rule handle assignment

2019-01-22 Thread Viacheslav Ovsiienko
When tc rule is created via Netlink message application can provide the unique rule value which can be accepted by the kernel. Than rule is managed with this assigned handle. It was found that kernel can reject the proposed handle and assign its own handle value, the rule control is lost, because a

Re: [dpdk-dev] [PATCH] net/i40e: fix queue region error in priority configuration

2019-01-22 Thread Zhang, Qi Z
> -Original Message- > From: Zhao1, Wei > Sent: Tuesday, January 22, 2019 4:11 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Zhang, Qi Z ; Peng, Yuan > ; Zhao1, Wei > Subject: [PATCH] net/i40e: fix queue region error in priority configuration Change title to below since it's all about i

Re: [dpdk-dev] [PATCH] net/ice: add promiscuous mode support

2019-01-22 Thread Zhang, Qi Z
Hi Wenzhuo: > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Tuesday, January 22, 2019 4:42 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH] net/ice: add promiscuous mode support > > Enable the APIs for unicast and multi

[dpdk-dev] [PATCH v5 2/4] build: use dependency() instead of find_library()

2019-01-22 Thread Luca Boccassi
Whenever possible (if the library ships a pkg-config file) use meson's dependency() function to look for it, as it will automatically add it to the Requires.private list if needed, to allow for static builds to succeed for reverse dependencies of DPDK. Otherwise the recursive dependencies are not p

[dpdk-dev] [PATCH v5 3/4] build: reorder libraries and build eal before cmdline

2019-01-22 Thread Luca Boccassi
Most libraries and PMDs depend on eal, and eal depends only on kvargs, so reorder the list in Meson to reflect this and take advantage of this dependency chain. Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- v3: added this patch to let the next just update librte_eal instead of

[dpdk-dev] [PATCH v5 4/4] build: use dependency() for libbsd instead of manual append to ldflags

2019-01-22 Thread Luca Boccassi
Move libbsd inclusion to librte_eal, so that all other libraries and PMDs will inherit it. Signed-off-by: Luca Boccassi Acked-by: Bruce Richardson --- v3: only add dependency to librte_eal and let it propagate from there v4: add acked-by config/meson.build | 10 +- lib/librte_e

[dpdk-dev] [PATCH v5 1/4] build: bump minimum Meson version to 0.47.1

2019-01-22 Thread Luca Boccassi
Meson 0.47.1 fixed a bug that is difficult to work around, which causes the linker flag of dependencies to be repeated dozens of times, which causes issues especially when using the built-in dependency() API. Bump the minimum version and remove obsolete version checks. Signed-off-by: Luca Boccassi

Re: [dpdk-dev] VF of a X520 card does not process VLAN packets

2019-01-22 Thread Eelco Chaudron
Hi Konstantin, Thanks for your reply… Yes adding the VLAN to the VF from the kernel side will work, however, this is a different behaviour than the XL710. The XL710 will allow all VLANs to pass through once the PMD takes control of the VF. The real use case is using this VF interface troug

Re: [dpdk-dev] [PATCH v5 1/4] build: bump minimum Meson version to 0.47.1

2019-01-22 Thread Bruce Richardson
On Tue, Jan 22, 2019 at 01:10:51PM +, Luca Boccassi wrote: > Meson 0.47.1 fixed a bug that is difficult to work around, which causes > the linker flag of dependencies to be repeated dozens of times, which > causes issues especially when using the built-in dependency() API. > Bump the minimum ve

Re: [dpdk-dev] [PATCH] test/compress: fix size of test buffer

2019-01-22 Thread Kovacevic, Marko
> Changed size of test buffer to 100 to allow qat to run compress unit-test, > qat_comp_process_response(): > QAT intermediate buffer may be too small for output, try configuring a larger > size > > Fixes: c1bbb613ce96 ("test/compress: add out of space test") > Cc: marko.kovace...@intel.com > > S

Re: [dpdk-dev] [PATCH v5 2/4] build: use dependency() instead of find_library()

2019-01-22 Thread Bruce Richardson
On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote: > Whenever possible (if the library ships a pkg-config file) use meson's > dependency() function to look for it, as it will automatically add it > to the Requires.private list if needed, to allow for static builds to > succeed for rever

Re: [dpdk-dev] [PATCH v5 2/4] build: use dependency() instead of find_library()

2019-01-22 Thread Luca Boccassi
On Tue, 2019-01-22 at 13:46 +, Bruce Richardson wrote: > On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote: > > Whenever possible (if the library ships a pkg-config file) use > > meson's > > dependency() function to look for it, as it will automatically add > > it > > to the Require

Re: [dpdk-dev] [PATCH v5 2/4] build: use dependency() instead of find_library()

2019-01-22 Thread Bruce Richardson
On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote: > Whenever possible (if the library ships a pkg-config file) use meson's > dependency() function to look for it, as it will automatically add it > to the Requires.private list if needed, to allow for static builds to > succeed for rever

Re: [dpdk-dev] [PATCH v5 2/4] build: use dependency() instead of find_library()

2019-01-22 Thread Bruce Richardson
On Tue, Jan 22, 2019 at 02:09:41PM +, Luca Boccassi wrote: > On Tue, 2019-01-22 at 13:46 +, Bruce Richardson wrote: > > On Tue, Jan 22, 2019 at 01:10:52PM +, Luca Boccassi wrote: > > > Whenever possible (if the library ships a pkg-config file) use > > > meson's > > > dependency() functi

Re: [dpdk-dev] [PATCH v3 2/5] ring: add a non-blocking implementation

2019-01-22 Thread Ola Liljedahl
(resending without the confidential footer, think I figured it out, ignore the previous email from me in this thread) -- Ola On Fri, 2019-01-18 at 09:23 -0600, Gage Eads wrote: > This commit adds support for non-blocking circular ring enqueue and dequeue > functions. The ring uses a 128-bit compa

[dpdk-dev] i40e rte_eth_link_get_nowait() on X722 returns wrong link_speed value 20000 instead of 10000

2019-01-22 Thread Martin Weiser
Hi, We are using a Xeon D with an integrated X722 NIC that provides two ports of 8086:37d2 and two ports of 8086:37d0. All four ports show the same behavior: they return a link speed value of 2 for a 10Gbps link. This only seems to happen when internally the update_link_reg() function in i40e

[dpdk-dev] [PATCH] app/testpmd: fix Tx metadata show command

2019-01-22 Thread Dekel Peled
Function cmd_config_tx_metadata_specific_parsed() takes input value, applies rte_cpu_to_be_32() on it, and stores it for Tx use. Function cmd_show_tx_metadata_parsed() displays the stored value as is. This patch modifies function cmd_show_tx_metadata_parsed(), to apply rte_be_to_cpu_32() on the st

[dpdk-dev] [PATCH 1/2] kni: fix build for 5.0 for dev_open()

2019-01-22 Thread Ferruh Yigit
Build error seen with Linux kernel 5.0 and when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled. build error: .../build/build/kernel/linux/kni/ixgbe_ethtool.c:1746:4: error: too few arguments to function ‘dev_open’ dev_open(netdev); ^~~~ In file included from .../build/kernel/linux/kni/ixgbe_

[dpdk-dev] [PATCH 2/2] kni: fix build for 5.0 for igb_ndo_bridge_setlink()

2019-01-22 Thread Ferruh Yigit
Build error seen with Linux kernel 5.0 and when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled. build error: .../build/build/kernel/linux/kni/igb_main.c:2348:24: error: initialization of ‘int (*)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *)’ {aka ‘int (*)(struct net

Re: [dpdk-dev] [PATCH] examples/fips_validation: fix physical address

2019-01-22 Thread Kovacevic, Marko
> This patch fixes the missed digest and aad data physical addresses filling to > crypto operations in fips_validation sample application. > > Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test") > > Signed-off-by: Fan Zhang > --- > examples/fips_validation/fips_dev_self_tes

Re: [dpdk-dev] [dpdk-stable] [PATCH] ethdev: fix errno to have positive value

2019-01-22 Thread Thomas Monjalon
21/01/2019 17:18, Andrew Rybchenko: > rte_errno should be set to positive value from errno.h plus > few RTE-specific values. > > Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") > Fixes: 439a90b5f2a7 ("ethdev: reorder inline functions") > Cc: sta...@dpdk.org > > Signed-off-by: Andrew Rybchenko

Re: [dpdk-dev] [dpdk-stable] [PATCH v3] gso: fix VxLAN/GRE tunnel checks

2019-01-22 Thread Thomas Monjalon
> > Tunnel type is an enum in PKT_TX_TUNNEL_MASK bits. > > As the result, for example, IPIP or MPLSinUDP tunnel packets may be > > incorrectly treated internally as VXLAN. > > > > Fixes: b058d92ea95d ("gso: support VxLAN GSO") > > Fixes: 70e737e448c7 ("gso: support GRE GSO") > > Cc: sta...@dpdk.or

[dpdk-dev] [PATCH v3 1/3] doc: clean ABI/API policy guide

2019-01-22 Thread Ferruh Yigit
The original document written from the point of ABI versioning but later additions make document confusing, convert document into a ABI/API policy documentation and organize the document in subsections: - ABI/API Deprecation - Experimental APIs - Library versioning - ABI versioning Aim to clarify

[dpdk-dev] [PATCH v3 2/3] doc: make RTE_NEXT_ABI optional

2019-01-22 Thread Ferruh Yigit
Initial process requires oncoming changes described in deprecation notice should be implemented in a RTE_NEXT_ABI gated way. This has been discussed in technical board, and since this can cause a multiple #ifdef blocks in multiple locations of the code, can be confusing specially for the modificat

[dpdk-dev] [PATCH v3 3/3] doc: add deprecation marker usage

2019-01-22 Thread Ferruh Yigit
Define '__rte_deprecated' usage process. Suggests keeping old API with '__rte_deprecated' marker including next LTS, they will be removed just after the LTS release. Signed-off-by: Ferruh Yigit Acked-by: Luca Boccassi --- Cc: Luca Boccassi Cc: Kevin Traynor Cc: Yongseok Koh Cc: Neil Horman

[dpdk-dev] [PATCH] eal: fix parsing zero socket memory and limits

2019-01-22 Thread Ilya Maximets
Modern memory mode allowes to not reserve any memory by the '--socket-mem' option. i.e. it could be possible to specify zero preallocated memory like '--socket-mem 0'. Also, it should be possible to configure unlimited memory allocations by '--socket-limit 0'. Both cases are impossible now and blo

[dpdk-dev] [PATCH] usertools/dpdk-telemetry-client: make script executable

2019-01-22 Thread Bruce Richardson
Add #! line to the top of the script and mark it as executable so it can be run directly rather than having to pass it to python interpreter. Signed-off-by: Bruce Richardson --- usertools/dpdk-telemetry-client.py | 1 + 1 file changed, 1 insertion(+) mode change 100644 => 100755 usertools/dpdk-

Re: [dpdk-dev] [PATCH v2] crypto/aesni_mb: fix compile

2019-01-22 Thread Thomas Monjalon
> > This patch fixes the inflexible compile issue AESNI-MB PMD. > > Originally the compile of the PMD will fail if IPSec_MB is > > not installed in default location. > > > > Fixes: c68d7aa354f6 ("crypto/aesni_mb: use architecture independent macros") > > > > Signed-off-by: Fan Zhang > > Acked-by

Re: [dpdk-dev] [PATCH] examples/fips_validation: fix physical address

2019-01-22 Thread Thomas Monjalon
22/01/2019 16:46, Kovacevic, Marko: > > This patch fixes the missed digest and aad data physical addresses filling > > to > > crypto operations in fips_validation sample application. > > > > Fixes: 41d561cbdd24 ("examples/fips_validation: add power on self test") > > > > Signed-off-by: Fan Zhang

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix queue region error in priority configuration

2019-01-22 Thread Ferruh Yigit
On 1/22/2019 12:48 PM, Zhang, Qi Z wrote: > > >> -Original Message- >> From: Zhao1, Wei >> Sent: Tuesday, January 22, 2019 4:11 PM >> To: dev@dpdk.org >> Cc: sta...@dpdk.org; Zhang, Qi Z ; Peng, Yuan >> ; Zhao1, Wei >> Subject: [PATCH] net/i40e: fix queue region error in priority configu

[dpdk-dev] Technical Board meeting minutes 2019-01-16

2019-01-22 Thread Bruce Richardson
Below are the minutes of the DPDK Technical Board meeting held on #dpdk-board channel on 16th January 2019 Attendees: - Bruce Richardson - Ferruh Yigit - Hemant Agrawal - Jerin Jacob - Konstantin Ananyev - Maxime Coquelin - Olivier Matz - Thomas Monjalon Discussion on NEXT_ABI and Deprecation Pro

Re: [dpdk-dev] [PATCH 1/2] kni: fix build for 5.0 for dev_open()

2019-01-22 Thread Ferruh Yigit
On 1/22/2019 3:44 PM, Ferruh Yigit wrote: > Build error seen with Linux kernel 5.0 and > when CONFIG_RTE_KNI_KMOD_ETHTOOL is enabled. > > build error: > .../build/build/kernel/linux/kni/ixgbe_ethtool.c:1746:4: > error: too few arguments to function ‘dev_open’ > dev_open(netdev); > ^~

[dpdk-dev] [PATCH 0/4] Virtio fixes

2019-01-22 Thread Tiwei Bie
Tiwei Bie (4): net/virtio: fix the control vq support net/virtio-user: fix the control vq support net/virtio: use virtio barrier in packed ring net/virtio-user: fix used ring update in cvq handling drivers/net/virtio/virtio_ethdev.c| 73 ++- drivers/net/virtio/

[dpdk-dev] [PATCH 1/4] net/virtio: fix the control vq support

2019-01-22 Thread Tiwei Bie
This patch mainly fixed below issues in the packed ring based control vq support in virtio driver: 1. When parsing the used descriptors, we have to track the number of descs that we need to skip; 2. vq->vq_free_cnt was decreased twice for a same desc; Meanwhile, make the function name consiste

[dpdk-dev] [PATCH 2/4] net/virtio-user: fix the control vq support

2019-01-22 Thread Tiwei Bie
This patch fixed below issues in the packed ring based control vq support in virtio user: 1. The idx_hdr should be used_idx instead of the id in the desc; 2. We just need to write out a single used descriptor for each descriptor list; 3. The avail/used bits should be initialized to 0; Meanwhil

[dpdk-dev] [PATCH 3/4] net/virtio: use virtio barrier in packed ring

2019-01-22 Thread Tiwei Bie
Always use the virtio variants which support the platform memory ordering. Fixes: 9230ab8d7913 ("net/virtio: support platform memory ordering") Signed-off-by: Tiwei Bie --- drivers/net/virtio/virtio_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/virti

[dpdk-dev] [PATCH 4/4] net/virtio-user: fix used ring update in cvq handling

2019-01-22 Thread Tiwei Bie
When updating used ring, the id in used element should be the index of the first desc in the desc chain. Fixes: f9b9d1a55775 ("net/virtio-user: add multiple queues in device emulation") Cc: sta...@dpdk.org Signed-off-by: Tiwei Bie --- drivers/net/virtio/virtio_user/virtio_user_dev.c | 2 +- 1 f

Re: [dpdk-dev] [PATCH v4 2/2] mempool/nb_stack: add non-blocking stack mempool

2019-01-22 Thread Eads, Gage
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, January 18, 2019 6:15 PM > To: Eads, Gage > Cc: dev@dpdk.org; Honnappa Nagarahalli ; > olivier.m...@6wind.com; arybche...@solarflare.com; Richardson, Bruce > ; Ananyev, Konstantin > ; Gavin Hu (Arm

Re: [dpdk-dev] [PATCH 1/6] ring: change head and tail to pointer-width size

2019-01-22 Thread Eads, Gage
> -Original Message- > From: Burakov, Anatoly > Sent: Monday, January 21, 2019 8:15 AM > To: Eads, Gage ; Richardson, Bruce > > Cc: dev@dpdk.org; olivier.m...@6wind.com; arybche...@solarflare.com; > Ananyev, Konstantin > Subject: Re: [dpdk-dev] [PATCH 1/6] ring: change head and tail to

Re: [dpdk-dev] [EXT] [PATCH] config: change default cache line size for ARMv8 with meson

2019-01-22 Thread Honnappa Nagarahalli
Removed tspe...@qti.qualcomm.com as the email address is not reachable. > > > > I'll come up with a new patch based on the discussion here. > > > > A few things noted, > > > > - we still want it to be 128B for generic build > > > > - we at least agreed on changing it to 64B for A72 > > > How will

Re: [dpdk-dev] [PATCH v3 0/5] Add non-blocking ring

2019-01-22 Thread Eads, Gage
> -Original Message- > From: Ola Liljedahl [mailto:ola.liljed...@arm.com] > Sent: Tuesday, January 22, 2019 3:28 AM > To: Eads, Gage ; dev@dpdk.org > Cc: olivier.m...@6wind.com; step...@networkplumber.org; Richardson, Bruce > ; arybche...@solarflare.com; Ananyev, > Konstantin > Subject:

Re: [dpdk-dev] [PATCH v3 1/2] eal: add 128-bit cmpset (x86-64 only)

2019-01-22 Thread Honnappa Nagarahalli
Added other platform owners. > > > > > @@ -208,4 +209,25 @@ static inline void > > > > > rte_atomic64_clear(rte_atomic64_t > > > > > *v) } #endif > > > > > > > > > > +static inline int > > > > > +rte_atomic128_cmpset(volatile uint64_t *dst, uint64_t *exp, > > > > > +uint64_t > > > > > +*src) { >

[dpdk-dev] [dpdk-announce] DPDK Summit Bangalore 2019: CFP closes 28th Jan

2019-01-22 Thread Tibrewala, Sujata
Hi, We have had great presentations, talks and community interaction at DPDK summit Bangalore over the last two years. It is that time of the year again and we are looking to hear from you and looking forward to see you in person. The agenda will cover the latest developments to the DPDK framew

Re: [dpdk-dev] [PATCH v3 2/5] ring: add a non-blocking implementation

2019-01-22 Thread Eads, Gage
Hi Ola, > > @@ -331,6 +433,319 @@ void rte_ring_dump(FILE *f, const struct > > rte_ring *r); > >  #endif > >  #include "rte_ring_generic_64.h" > > > > +/* @internal 128-bit structure used by the non-blocking ring */ > > +struct nb_ring_entry { > > + void *ptr; /**< Data pointer */ > > + uint

Re: [dpdk-dev] [PATCH v3 1/2] eal: add 128-bit cmpset (x86-64 only)

2019-01-22 Thread Eads, Gage
> -Original Message- > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Tuesday, January 22, 2019 2:31 PM > To: Eads, Gage ; dev@dpdk.org > Cc: olivier.m...@6wind.com; arybche...@solarflare.com; Richardson, Bruce > ; Ananyev, Konstantin > ; nd ; > chao...@linux.vn

Re: [dpdk-dev] [PATCH] net/ice: add promiscuous mode support

2019-01-22 Thread Lu, Wenzhuo
Hi Qi, > -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, January 22, 2019 9:12 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: RE: [dpdk-dev] [PATCH] net/ice: add promiscuous mode support > > Hi Wenzhuo: > > > > -Original Message- > > From: dev [mailto:

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/i40e: fix queue region error in priority configuration

2019-01-22 Thread Zhang, Qi Z
> -Original Message- > From: Yigit, Ferruh > Sent: Wednesday, January 23, 2019 12:34 AM > To: Zhang, Qi Z ; Zhao1, Wei ; > dev@dpdk.org > Cc: sta...@dpdk.org; Peng, Yuan > Subject: Re: [dpdk-stable] [PATCH] net/i40e: fix queue region error in > priority > configuration > > On 1/22/2019

[dpdk-dev] [PATCH v2] net/ice: add promiscuous mode support

2019-01-22 Thread Wenzhuo Lu
Enable the APIs for unicast and multicast promiscuous mode setting. Signed-off-by: Wenzhuo Lu --- doc/guides/nics/features/ice.ini | 2 + doc/guides/nics/ice.rst | 14 --- drivers/net/ice/ice_ethdev.c | 86 3 files changed, 88 insertions

Re: [dpdk-dev] [PATCH v2] net/ice: add promiscuous mode support

2019-01-22 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Wednesday, January 23, 2019 10:37 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH v2] net/ice: add promiscuous mode support > > Enable the APIs for unicast and multicast pro

[dpdk-dev] [PATCH] net/ice: fix link speed display

2019-01-22 Thread Wenzhuo Lu
Fix the issue that the link speed is unknown. Fixes: 690175ee51bf ("net/ice: support getting device information") Fixes: cf911d90e366 ("net/ice: support link update") Signed-off-by: Wenzhuo Lu --- drivers/net/ice/ice_ethdev.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff

Re: [dpdk-dev] [PATCH v2] net/ice: add promiscuous mode support

2019-01-22 Thread Yang, Qiming
Hi, wenzhuo -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu Sent: Wednesday, January 23, 2019 10:37 AM To: dev@dpdk.org Cc: Lu, Wenzhuo Subject: [dpdk-dev] [PATCH v2] net/ice: add promiscuous mode support Enable the APIs for unicast and multicast promis

[dpdk-dev] [PATCH v2] doc: add meson ut info in prog guide

2019-01-22 Thread Hari Kumar Vemula
Add a programmer's guide section for meson ut Signed-off-by: Hari Kumar Vemula --- v2: Removed enhancement details --- doc/guides/prog_guide/index.rst| 1 + doc/guides/prog_guide/meson_ut.rst | 164 + 2 files changed, 165 insertions(+) create mode 100644 doc/gu

Re: [dpdk-dev] [PATCH] net/ice: fix link speed display

2019-01-22 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Wednesday, January 23, 2019 1:30 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo > Subject: [dpdk-dev] [PATCH] net/ice: fix link speed display > > Fix the issue that the link speed is unknown. > > F

[dpdk-dev] [PATCH] net/mlx5: fix VXLAN port registration race condition

2019-01-22 Thread Viacheslav Ovsiienko
E-Switch VXLAN tunneling rules require virtual VXLAN network devices be created. These devices are managed by MLX5 PMD and created/deleted dynamically. Kernel creates the VXLAN devices and registers VXLAN UDP ports to be hardware offloaded within the NIC kernel drivers. The registration process is