Re: [dpdk-dev] [PATCH] mempool: fix mempool obj alignment for non x86

2019-12-20 Thread Jerin Jacob
On Sat, Dec 21, 2019 at 2:37 AM Honnappa Nagarahalli wrote: > > > > > > From: Jerin Jacob > > > > > > > > The exiting optimize_object_size() function address the memory > > > > object alignment constraint on x86 for better performance. > > > > > > > > Different (Mirco) architecture may have diff

Re: [dpdk-dev] [PATCH v2] net/bnxt: add support for flow mark action

2019-12-20 Thread Ajit Khaparde
On Fri, Dec 20, 2019 at 6:39 PM Ajit Khaparde wrote: > Add support for RTE_FLOW_ACTION_TYPE_MARK. > Use the flow_id provided by FW during flow creation to lookup the > mark id provided by the application. > > Signed-off-by: Ajit Khaparde > Reviewed-by: Lance Richardson > Patch applied to dpdk-n

Re: [dpdk-dev] [PATCH] net/bnxt: fix to not overwrite error message

2019-12-20 Thread Ajit Khaparde
On Fri, Dec 20, 2019 at 6:42 PM Ajit Khaparde wrote: > In some cases when flow creation fails, we overwrite the specific > error message with a generic error message. This patch fixes it. > > Fixes: d24610f7bfda ("net/bnxt: allow flow creation when RSS is enabled") > Cc: sta...@dpdk.org > > Sign

Re: [dpdk-dev] [PATCH v2 0/5] bnxt patchset

2019-12-20 Thread Ajit Khaparde
On Fri, Dec 20, 2019 at 6:31 PM Ajit Khaparde wrote: > Fixes for bnxt PMD. > > v1->v2: > - Updated Fixes tag and commit logs > - Rebased patch 4,5 > - Squashed patch 5 and 6 > > Santoshkumar Karanappa Rastapur (2): > net/bnxt: fix link failure during port toggle > net/bnxt: fix non matchin

[dpdk-dev] [PATCH] net/bnxt: fix to not overwrite error message

2019-12-20 Thread Ajit Khaparde
In some cases when flow creation fails, we overwrite the specific error message with a generic error message. This patch fixes it. Fixes: d24610f7bfda ("net/bnxt: allow flow creation when RSS is enabled") Cc: sta...@dpdk.org Signed-off-by: Ajit Khaparde Reviewed-by: Lance Richardson --- drive

[dpdk-dev] [PATCH v2] net/bnxt: add support for flow mark action

2019-12-20 Thread Ajit Khaparde
Add support for RTE_FLOW_ACTION_TYPE_MARK. Use the flow_id provided by FW during flow creation to lookup the mark id provided by the application. Signed-off-by: Ajit Khaparde Reviewed-by: Lance Richardson --- drivers/net/bnxt/bnxt.h| 5 +++ drivers/net/bnxt/bnxt_ethdev.c | 16 -

[dpdk-dev] [PATCH v2 4/5] net/bnxt: fix non matching flow hitting filter rule

2019-12-20 Thread Ajit Khaparde
From: Santoshkumar Karanappa Rastapur As part of ntuple filter, we were creating L2 filter with the ntuple redirect queue resulting in any L2 matching flow getting steered to this queue. For ntuple filters, we need to create the L2 filter with default queue. The user specified redirect queue will

[dpdk-dev] [PATCH v2 3/5] net/bnxt: fix flow flush to sync with flow destroy

2019-12-20 Thread Ajit Khaparde
From: Somnath Kotur Sync flow flush routine with flow destroy so that the operations performed per flow during a flush are the same as that are done for an individual flow destroy by having a common function to call for both. One of the things that was missed in the flow flush routine was the del

[dpdk-dev] [PATCH v2 5/5] net/bnxt: fix to reuse an L2 filter

2019-12-20 Thread Ajit Khaparde
From: Somnath Kotur The software L2 filter was being released back to the free pool, though it was created in HW and the filter corresponding to an actual 'flow' would have reference to the HW L2 filter. But if this 'flow were to be deleted, then this HW L2 filter also would be gone. Fix this by

[dpdk-dev] [PATCH v2 1/5] net/bnxt: fix link failure during port toggle

2019-12-20 Thread Ajit Khaparde
From: Santoshkumar Karanappa Rastapur We need to wait for up to 500ms to receive async event notification after forcing link down. Similarly we need to wait for up to 10s for link to come up after configuring the hardware for link up. Fixes: c09f57b49c13 ("net/bnxt: add start/stop/link update op

[dpdk-dev] [PATCH v2 2/5] net/bnxt: fix to use first valid profile

2019-12-20 Thread Ajit Khaparde
From: Somnath Kotur In the case when CoS classification is disabled, driver was iterating looking for only lossy profiles as that is what is expected to be used for regular NIC operations. But in certain custom profiles, there were no lossy profiles configured, only lossless profiles instead. To

[dpdk-dev] [PATCH v2 0/5] bnxt patchset

2019-12-20 Thread Ajit Khaparde
Fixes for bnxt PMD. v1->v2: - Updated Fixes tag and commit logs - Rebased patch 4,5 - Squashed patch 5 and 6 Santoshkumar Karanappa Rastapur (2): net/bnxt: fix link failure during port toggle net/bnxt: fix non matching flow hitting filter rule Somnath Kotur (3): net/bnxt: fix to use fir

[dpdk-dev] [PATCH] net/bnx2x: add support for secondary process

2019-12-20 Thread Rasesh Mody
Skip the device re-initialization for secondary process. Cc: sta...@dpdk.com Signed-off-by: Rasesh Mody --- drivers/net/bnx2x/bnx2x_ethdev.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c index 20b045ff87..7864b5b80a

[dpdk-dev] [PATCH] net/qede/base: fix number of ports per engine

2019-12-20 Thread Rasesh Mody
Fix the way in which the number of ports per engine of an adapter is determined by reading port mode register. Set default value to 1. Fixes: 3b307c55f2ac ("net/qede/base: update FW to 8.40.25.0") Cc: sta...@dpdk.com Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c | 38

[dpdk-dev] [PATCH] kni: rename variable

2019-12-20 Thread Stephen Hemminger
All global variables in kernel should be prefixed by the same to avoid any symbol conflics. Rename dflt_carrier to kni_default_carrier. Fixes: 89397a01ce4a ("kni: set default carrier state of interface") Cc: d...@adax.com Cc: sta...@dpdk.org Signed-off-by: Stephen Hemminger --- kernel/linux/kni/

Re: [dpdk-dev] [PATCH v1] rte_timer: add rte_timer_next_ticks

2019-12-20 Thread Carrillo, Erik G
Hi Stephen, I added a comment in-line. With that change, it looks good to me: Acked-by: Erik Gabriel Carrillo Regards, Erik > -Original Message- > From: Stephen Hemminger > Sent: Monday, December 16, 2019 6:55 PM > To: dev@dpdk.org > Cc: Carrillo, Erik G ; Stephen Hemminger > > Sub

[dpdk-dev] KNI portmask bugs

2019-12-20 Thread Stephen Hemminger
KNI example has a couple of bugs that can cause surprises if using failsafe (or bonding). The portmask argument to kni does not check that device is not a sub device (already owned) and allows any device. While your at it, the portmask for kni is only 32 bits which is not big enough on some system

Re: [dpdk-dev] [PATCH] mempool: fix mempool obj alignment for non x86

2019-12-20 Thread Honnappa Nagarahalli
> > > From: Jerin Jacob > > > > > > The exiting optimize_object_size() function address the memory > > > object alignment constraint on x86 for better performance. > > > > > > Different (Mirco) architecture may have different memory alignment > > > constraint for better performance and it not sam

Re: [dpdk-dev] [PATCH] add ABI checks

2019-12-20 Thread Thomas Monjalon
20/12/2019 17:20, Kinsella, Ray: > > -Original Message- > > From: Richardson, Bruce > > Sent: Friday 20 December 2019 15:32 > > To: David Marchand ; dev@dpdk.org > > Cc: tho...@monjalon.net; Laatz, Kevin ; > > acon...@redhat.com; nhor...@tuxdriver.com; Michael Santana > > ; Mcnamara, John

Re: [dpdk-dev] [PATCH] add ABI checks

2019-12-20 Thread Neil Horman
On Fri, Dec 20, 2019 at 04:20:58PM +0100, David Marchand wrote: > Starting from Kevin and Bruce idea of using libabigail, here is an > alternate approach to implement ABI checks. > > By default, those checks are disabled and enabling them requires a > manual step that generates the ABI dumps on a

Re: [dpdk-dev] [PATCH] mempool: fix mempool obj alignment for non x86

2019-12-20 Thread Jerin Jacob
On Fri, Dec 20, 2019 at 9:25 PM Honnappa Nagarahalli wrote: > > > > > > > From: Jerin Jacob > > > > The exiting optimize_object_size() function address the memory object > > alignment constraint on x86 for better performance. > > > > Different (Mirco) architecture may have different memory align

[dpdk-dev] DPDK techboard minutes @18/12/2019

2019-12-20 Thread Ananyev, Konstantin
Minutes of Technical Board Meeting, 2019-12-18 Members Attending - -Bruce -Ferruh -Hemant -Honnappa -Jerin -Kevin -Konstantin (Chair) -Maxime -Olivier -Stephen -Thomas NOTE: The technical board meetings every second Wednesday on IRC channel #dpdk-board, at 3pm UTC. Meetings a

Re: [dpdk-dev] [PATCH 1/4] lib/crypto: add support for ECDSA

2019-12-20 Thread Kusztal, ArkadiuszX
Hi Anoob, Few suggestions inline. > ; > [Asymmetric] > -RSA = > -DSA = > -Modular Exponentiation = > -Modular Inversion = > -Diffie-hellman = > \ No newline at end of file > +RSA = > +DSA = > +Modular Exponentiation = > +Modular Inversion = > +Diff

Re: [dpdk-dev] [PATCH] mempool: fix mempool obj alignment for non x86

2019-12-20 Thread Honnappa Nagarahalli
> > From: Jerin Jacob > > The exiting optimize_object_size() function address the memory object > alignment constraint on x86 for better performance. > > Different (Mirco) architecture may have different memory alignment > constraint for better performance and it not same as the existing > op

Re: [dpdk-dev] [PATCH] add ABI checks

2019-12-20 Thread Richardson, Bruce
> -Original Message- > From: David Marchand > Sent: Friday, December 20, 2019 3:21 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Richardson, Bruce ; > Laatz, Kevin ; acon...@redhat.com; > nhor...@tuxdriver.com; Michael Santana ; > Mcnamara, John ; Kovacevic, Marko > > Subject: [PATC

[dpdk-dev] [PATCH] add ABI checks

2019-12-20 Thread David Marchand
Starting from Kevin and Bruce idea of using libabigail, here is an alternate approach to implement ABI checks. By default, those checks are disabled and enabling them requires a manual step that generates the ABI dumps on a reference version for a set of configurations. Those checks are enabled i

[dpdk-dev] [PATCH v2 1/1] eal: improve user notification for too low memzone segments

2019-12-20 Thread Artur Trybula
In case of too low number of memzone segements user notification was misleading. This patch improves the description by providing better explanation about the cause. Signed-off-by: Artur Trybula --- lib/librte_eal/common/eal_common_memzone.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(

[dpdk-dev] [PATCH v2 0/1] eal: user notification improvement

2019-12-20 Thread Artur Trybula
v2: - fixed coding style issue Signed-off-by: Artur Trybula Artur Trybula (1): eal: improve user notification for too low memzone segments lib/librte_eal/common/eal_common_memzone.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.17.1

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] test/common: fix log2 check

2019-12-20 Thread Aaron Conole
David Marchand writes: > On Fri, Dec 20, 2019 at 3:02 PM David Marchand > wrote: >> >> We recently started to get random failures on the common_autotest ut with >> clang on Ubuntu 16.04.6. >> >> Example: https://travis-ci.com/DPDK/dpdk/jobs/263177424 >> >> Wrong rte_log2_u64(0) val 0, expected f

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] test/common: fix log2 check

2019-12-20 Thread David Marchand
On Fri, Dec 20, 2019 at 3:02 PM David Marchand wrote: > > We recently started to get random failures on the common_autotest ut with > clang on Ubuntu 16.04.6. > > Example: https://travis-ci.com/DPDK/dpdk/jobs/263177424 > > Wrong rte_log2_u64(0) val 0, expected > Test Failed > > The ut pas

Re: [dpdk-dev] [PATCH v2] service: don't walk out of bounds when checking services

2019-12-20 Thread David Marchand
On Wed, Dec 4, 2019 at 9:34 AM David Marchand wrote: > > On Wed, Dec 4, 2019 at 9:33 AM David Marchand > wrote: > > > > On Tue, Dec 3, 2019 at 10:15 PM Aaron Conole wrote: > > > > > > The service_valid call is used without properly bounds checking the > > > input parameter. Almost all instance

[dpdk-dev] [PATCH] examples/l2fwd-event: fix event device config

2019-12-20 Thread pbhagavatula
From: Pavan Nikhilesh Always enable implicit release since we don't support explicit release in datapath. Master lcore is used only for printing stats so don't allocate event port for it. Fix service launch for event device without distributed scheduling. Fixes: bcb6f841d42a ("examples/l2fwd-eve

Re: [dpdk-dev] [PATCH v6 00/11] Add ABI compatibility checks to the meson build

2019-12-20 Thread Bruce Richardson
On Fri, Dec 20, 2019 at 02:19:13PM +0100, David Marchand wrote: > On Fri, Dec 20, 2019 at 12:04 PM Bruce Richardson > wrote: > > > For maintainers that integrate patches or developers that get a CI > > > failure and want to fix it, we would need to help them to: > > > * generate dumps on a referen

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] test/common: fix log2 check

2019-12-20 Thread David Marchand
On Fri, Dec 20, 2019 at 3:02 PM David Marchand wrote: > diff --git a/lib/librte_eal/common/include/rte_common.h > b/lib/librte_eal/common/include/rte_common.h > index 459d082d14..7a98071ffe 100644 > --- a/lib/librte_eal/common/include/rte_common.h > +++ b/lib/librte_eal/common/include/rte_common.

[dpdk-dev] [PATCH v2] test/common: fix log2 check

2019-12-20 Thread David Marchand
We recently started to get random failures on the common_autotest ut with clang on Ubuntu 16.04.6. Example: https://travis-ci.com/DPDK/dpdk/jobs/263177424 Wrong rte_log2_u64(0) val 0, expected Test Failed The ut passes 0 to log2() to get an expected value. Quoting log2 / log(3) manual:

Re: [dpdk-dev] [PATCH v2 0/2] add travis ci support for aarch64

2019-12-20 Thread David Marchand
On Fri, Dec 20, 2019 at 10:38 AM Ruifeng Wang wrote: > > This patch set is to enable native aarch64 build in Travis CI. > It leverages Travis CI multi arch support. > > As the first step, compilation jobs are added. > Unit test is not added for now due to service limitation. We are > planning to r

Re: [dpdk-dev] [PATCH v6 00/11] Add ABI compatibility checks to the meson build

2019-12-20 Thread David Marchand
On Fri, Dec 20, 2019 at 12:04 PM Bruce Richardson wrote: > > For maintainers that integrate patches or developers that get a CI > > failure and want to fix it, we would need to help them to: > > * generate dumps on a reference version, so I would tend to write some > > documentation since playing

Re: [dpdk-dev] [PATCH v2 1/1] test/crypto: fix missing operation status check

2019-12-20 Thread Trahe, Fiona
> -Original Message- > From: Dybkowski, AdamX > Sent: Friday, December 20, 2019 12:59 PM > To: dev@dpdk.org; Trahe, Fiona ; akhil.go...@nxp.com; > Doherty, Declan > ; sta...@dpdk.org > Cc: Dybkowski, AdamX > Subject: [PATCH v2 1/1] test/crypto: fix missing operation status check > >

[dpdk-dev] [PATCH v1 1/1] net/octeontx2: allow vec to process pkts not multiple of 4

2019-12-20 Thread vattunuru
From: Vamsi Attunuru Current vector mode implementation floor-aligns pkt count with NIX_DESCS_PER_LOOP and process that many packets. Patch addresses the case where pkt count modulo NIX_DESCS_PER_LOOP is non-zero, after the vector mode processing, scalar routine is used to process if there are a

[dpdk-dev] [PATCH v2 0/1] test/crypto: fix missing operation status check

2019-12-20 Thread Adam Dybkowski
This patch adds checking of the symmetric crypto operation status that was silently skipped before. It fixes the wireless algorithms session creation (SNOW3G, KASUMI, ZUC) and passing of the digest data for the verification by PMD. Also fixed the missing aad padding issue revealed after op status c

[dpdk-dev] [PATCH v2 1/1] test/crypto: fix missing operation status check

2019-12-20 Thread Adam Dybkowski
This patch adds checking of the symmetric crypto operation status that was silently skipped before. It fixes the wireless algorithms session creation (SNOW3G, KASUMI, ZUC) and passing of the digest data for the verification by PMD. Also fixed the missing aad padding issue revealed after op status c

Re: [dpdk-dev] [PATCH] test/crypto: add operation status checks

2019-12-20 Thread Dybkowski, AdamX
Hi Fiona. Answers inline below. > -Original Message- > From: Trahe, Fiona > Sent: Friday, 20 December, 2019 13:39 > To: Dybkowski, AdamX ; dev@dpdk.org; > akhil.go...@nxp.com; Doherty, Declan > Cc: Trahe, Fiona > Subject: RE: [PATCH] test/crypto: add operation status checks > > Hi Adam,

[dpdk-dev] [PATCH v1] net/axgbe: enhance device stats reporting

2019-12-20 Thread cnamburu
From: Chandu Babu N Implements eth dev ops xstats_get, xstats_reset, xstats_get_names, xstats_get_names_by_id, xstats_get_by_id Signed-off-by: Chandu Babu N --- drivers/net/axgbe/axgbe_dev.c| 15 ++ drivers/net/axgbe/axgbe_ethdev.c | 408 +++ drivers/net/axgbe/

Re: [dpdk-dev] [PATCH] test/crypto: add operation status checks

2019-12-20 Thread Trahe, Fiona
Hi Adam, > -Original Message- > From: Dybkowski, AdamX > Sent: Friday, December 20, 2019 11:50 AM > To: dev@dpdk.org; Trahe, Fiona ; akhil.go...@nxp.com; > Doherty, Declan > > Cc: Dybkowski, AdamX > Subject: [PATCH] test/crypto: add operation status checks > > This patch adds checkin

[dpdk-dev] [PATCH] test/crypto: add operation status checks

2019-12-20 Thread Adam Dybkowski
This patch adds checking of the symmetric crypto operation status that was silently skipped before. It fixes the wireless algorithms session creation (SNOW3G, KASUMI, ZUC) and passing of the digest data for the verification by PMD. Signed-off-by: Adam Dybkowski --- app/test/test_cryptodev.c | 96

Re: [dpdk-dev] [dpdk-announce] Accepted talks in FOSDEM 2020

2019-12-20 Thread Ray Kinsella
+1, it is going to be _fabulous_ Ray K On 20/12/2019 11:13, Thomas Monjalon wrote: > The comittee for SDN devroom at FOSDEM is pleased to announce > the schedule is available. > > Six talks mentioning DPDK are accepted: > > - Fundamental Technologies We Need to Work on for Cloud-Native Network

[dpdk-dev] [dpdk-announce] Accepted talks in FOSDEM 2020

2019-12-20 Thread Thomas Monjalon
The comittee for SDN devroom at FOSDEM is pleased to announce the schedule is available. Six talks mentioning DPDK are accepted: - Fundamental Technologies We Need to Work on for Cloud-Native Networking https://fosdem.org/2020/schedule/event/fundamental_technologies_we_need_to_work_on_for_cloud_n

Re: [dpdk-dev] [PATCH v6 00/11] Add ABI compatibility checks to the meson build

2019-12-20 Thread Bruce Richardson
On Thu, Dec 19, 2019 at 10:58:35PM +0100, David Marchand wrote: > Hello Kevin, > > On Fri, Dec 13, 2019 at 5:41 PM Kevin Laatz wrote: > > > > With the recent changes made to stabilize ABI versioning in DPDK, it will > > become increasingly important to check patches for ABI compatibility. We > >

Re: [dpdk-dev] [PATCH] mempool: fix mempool obj alignment for nonx86

2019-12-20 Thread Morten Brørup
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Friday, December 20, 2019 4:45 AM > > On Fri, Dec 20, 2019 at 8:56 AM Gavin Hu wrote: > > > > Hi Jerin, > > > > It got two coding style warnings, otherwise, > > Reviewed-by: Gavin Hu > > Than

[dpdk-dev] [PATCH] net/mlx5: fix ConnectX-4LX Tx burst routines set

2019-12-20 Thread Viacheslav Ovsiienko
The tx_burst routine supporting multi-segment packets with legacy MPW and without inline was missed, and there was no valid selection for these options, patch adds the missing routine. Fixes: 82e75f8323bf ("net/mlx5: fix legacy multi-packet Tx descriptors") Cc: sta...@dpdk.org Signed-off-by: Viac

Re: [dpdk-dev] [PATCH v6 00/11] Add ABI compatibility checks to the meson build

2019-12-20 Thread Thomas Monjalon
19/12/2019 22:58, David Marchand: > On Fri, Dec 13, 2019 at 5:41 PM Kevin Laatz wrote: > > The proposed solution works as follows: > > 1. Generate the ABI dump of the baseline. This can be done with the new > >script added in this set. This step will only need to be done when the > >ABI ve

Re: [dpdk-dev] [PATCH v2 2/3] net/virtio: virtual PCI requires smp barriers

2019-12-20 Thread Gavin Hu
Hi Tiwei, Thanks for review. > -Original Message- > From: Tiwei Bie > Sent: Friday, December 20, 2019 4:18 PM > To: Gavin Hu > Cc: dev@dpdk.org; nd ; david.march...@redhat.com; > tho...@monjalon.net; rasl...@mellanox.com; > maxime.coque...@redhat.com; hemant.agra...@nxp.com; > jer...@ma

[dpdk-dev] [PATCH v2 2/2] devtools: add path to additional shared object files

2019-12-20 Thread Ruifeng Wang
Drivers librte_mempool_ring.so and librte_pmd_null.so are loaded by librte_eal.so when running testpmd. In Ubuntu Xenial, driver path is installed to RPATH on testpmd. This allows librte_eal.so to find drivers by using the RPATH. However, in Ubuntu Bionic, driver path is installed to RUNPATH instea

[dpdk-dev] [PATCH v2 0/2] add travis ci support for aarch64

2019-12-20 Thread Ruifeng Wang
This patch set is to enable native aarch64 build in Travis CI. It leverages Travis CI multi arch support. As the first step, compilation jobs are added. Unit test is not added for now due to service limitation. We are planning to run unit test with no-huge in future. This patch set has dependency

[dpdk-dev] [PATCH v2 1/2] ci: add travis ci support for aarch64

2019-12-20 Thread Ruifeng Wang
Add Travis compilation jobs for aarch64. gcc/clang compilations for static/shared libraries are added. Some limitations for current aarch64 Travis support: 1. Container is used. Huge page is not available due to security reason. 2. Missing kernel header package in Xenial distribution. Solutions t

Re: [dpdk-dev] [PATCH v1] net/ice: add new device IDs

2019-12-20 Thread Ferruh Yigit
On 12/20/2019 7:01 AM, Xu, Ting wrote: > > >> -Original Message- >> From: Yigit, Ferruh >> Sent: Thursday, December 19, 2019 8:14 PM >> To: Ye, Xiaolong ; Xu, Ting >> Cc: dev@dpdk.org; Lu, Wenzhuo ; Yang, Qiming >> ; Zhang, Qi Z >> Subject: Re: [dpdk-dev] [PATCH v1] net/ice: add new de

[dpdk-dev] [PATCH v5] vhost: add config change slave msg support

2019-12-20 Thread Li Feng
This msg is used to notify qemu that should get the config of backend. For example, vhost-user-blk uses this msg to notify guest os the capacity of backend has changed. The need_reply flag is not mandatory because it will block the sender thread and master process will send get_config message to

Re: [dpdk-dev] [PATCH v2 2/3] net/virtio: virtual PCI requires smp barriers

2019-12-20 Thread Tiwei Bie
On Fri, Dec 20, 2019 at 11:09:50AM +0800, Gavin Hu wrote: > Other than real PCI reads and writes to the device memory requiring > the io barriers, virtual pci memories are normal memory in the smp > configuration, which requires the smp barriers. > > Since the smp barriers and io barriers are iden

Re: [dpdk-dev] [PATCH v4] vhost: add config change slave msg support

2019-12-20 Thread Tiwei Bie
On Thu, Dec 19, 2019 at 04:54:06PM +0800, Li Feng wrote: > This msg is used to notify qemu that should get the config of backend. > > For example, vhost-user-blk uses this msg to notify guest os the > capacity of backend has changed. > > The need_reply flag is not mandatory because it will block