Previously, vfio uses its own private channel for the secondary
process to get container fd and group fd from the primary process.
This patch changes to use the generic mp channel.
Test:
1. Bind two NICs to vfio-pci.
2. Start the primary and secondary process.
$ (symmetric_mp) -c 2 -- -p
Fix missing spinlock unlock during add key when key is already present.
Fixes: be856325cba3 ("hash: add scalable multi-writer insertion with Intel TSX")
Cc: sta...@dpdk.org
Signed-off-by: Pavan Nikhilesh
---
lib/librte_hash/rte_cuckoo_hash.c | 6 --
1 file changed, 4 insertions(+), 2 deleti
The original code replies on the private channel for primary and
secondary communication. Change to use the generic multi-process
channel.
Note with this change, dpdk-pdump will be not compatible with
old version DPDK applications.
Cc: reshma.pat...@intel.com
Signed-off-by: Jianfeng Tan
---
li
As we know, we have below limitations in vdev:
- dpdk-procinfo cannot get the stats of (most) vdev in primary process;
- dpdk-pdump cannot dump the packets for (most) vdev in primary proces;
- secondary process cannot use (most) vdev in primary process.
The very first reason is that the seco
Adjust the init sequence: put mp channel init before bus scan
so that we can init the vdev bus through mp channel in the
secondary process before the bus scan.
Signed-off-by: Jianfeng Tan
---
lib/librte_eal/bsdapp/eal/eal.c | 23 +--
lib/librte_eal/linuxapp/eal/eal.c | 23 +
dpdk-procinfo, as a secondary process, cannot fetch stats for vdev.
This patch enables that by attaching the port from the shared data.
We also fill the eth dev ops, with only some ops works in secondary
process, for example, stats_get().
Note that, we still cannot Rx/Tx packets on the ports whic
To scan the vdevs in primary, we send request to primary process
to obtain the names for vdevs.
Only the name is shared from the primary. In probe(), the device
driver is supposed to locate (or request more) the detail
information from the primary.
Signed-off-by: Jianfeng Tan
---
drivers/bus/vd
We introduced private rte_eth_dev_data to allow vdev to be created
both in primary process and secondary process(es). This is not
friendly to multi-process model, for example, it leads to port id
contention issue if two processes both find the data entry is free.
And to get stats of primary vdev i
Hi Yigit,
Should I create an update one and send out?
BR.
Xiaohua Zhang
-Original Message-
From: Ferruh Yigit [mailto:ferruh.yi...@intel.com]
Sent: Friday, March 02, 2018 11:35 PM
To: Zhang, Xiaohua; dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for
Hi Luca,
In powerpc to support i40e, we wish below patch be merged:
c3def6a8724 net/i40e: implement vector PMD for altivec
I have verified br-16.11 with the above commit (in cherry-pick, I needed
to remove release
notes which was meant for 17.05 release which hope is fine here).
Could you plea
> -Original Message-
> From: Thomas Monjalon [mailto:tho...@monjalon.net]
> Sent: Thursday, March 1, 2018 10:14 PM
> To: Tan, Jianfeng
> Cc: Maxime Coquelin ; Yang, Zhiyong
> ; dev@dpdk.org; y...@fridaylinux.org; Bie, Tiwei
> ; Wang, Zhihong ; Wang,
> Dong1
> Subject: Re: [PATCH 1/4] vh
11 matches
Mail list logo