From: Itsuro Oda
remove an unused member from pmd_internal.
---
drivers/net/vhost/rte_eth_vhost.c | 9 +
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index 46f01a7f4..d4e3485ce 100644
--- a/drivers
From: Itsuro Oda
allocate iface_name of pmd_internal from heap in order to
be able to refer from secondary processes.
---
drivers/net/vhost/rte_eth_vhost.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost
From: Itsuro Oda
vhost PMD has not been available for secondary processes since
DPDK v18.11. (https://bugs.dpdk.org/show_bug.cgi?id=194)
(for a long term !)
This series of patches intend to make vhost PMD available for
secondary processes.
Because now setting vhost driver to communicate with a
From: Itsuro Oda
setting vhost driver is delayed at eth_dev configuration
in order to be able to set it from a secondary process.
---
drivers/net/vhost/rte_eth_vhost.c | 130 ++
1 file changed, 78 insertions(+), 52 deletions(-)
diff --git a/drivers/net/vhost
From: Itsuro Oda
add lacking member setting and make secondary probe complete.
---
drivers/net/vhost/rte_eth_vhost.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index 0b8b5a4ca..7a501cf91 100644
Hi,
I will fix to add signed-off-by and correct spelling error
according to test-report@dpdk.
Please check the content until then.
Thanks.
On Wed, 8 Jan 2020 15:25:06 +0900
o...@valinux.co.jp wrote:
> From: Itsuro Oda
>
> vhost PMD has not been available for secondary processes sin
add lacking member setting and make secondary probe complete.
Signed-off-by: Itsuro Oda
---
drivers/net/vhost/rte_eth_vhost.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index 44f44cea3..485a88794
remove an unused member from pmd_internal.
Signed-off-by: Itsuro Oda
---
drivers/net/vhost/rte_eth_vhost.c | 9 +
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
index 46f01a7f4..d4e3485ce 100644
--- a
leaves it to user's responsibility.)
This precondition will not be a problem in most use cases
(including SPP).
v2:
- add signed-off-by
- fix spelling error
Itsuro Oda (4):
net/vhost: remove an unused member
net/vhost: allocate iface_name from heap
net/vhost: delay vhost driver setup
allocate iface_name of pmd_internal from heap in order to
be able to refer from secondary processes.
Signed-off-by: Itsuro Oda
---
drivers/net/vhost/rte_eth_vhost.c | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost
setting vhost driver is delayed at eth_dev configuration
in order to be able to set it from a secondary process.
Signed-off-by: Itsuro Oda
---
drivers/net/vhost/rte_eth_vhost.c | 130 ++
1 file changed, 78 insertions(+), 52 deletions(-)
diff --git a/drivers/net
Hi vhost PMD maitainers,
I have not got any feedback yet.
Since this is the first time I submit a patch, something
may be wrong, would you tell me what should I do ?
Thanks.
On Thu, 9 Jan 2020 08:22:05 +0900
Itsuro Oda wrote:
> vhost PMD has not been available for secondary processes si
Hi Maxime,
Thank you for your reply and review.
I will make fixes of the patches according to your
indication and post them.
Thanks.
Itsuro Oda
On Tue, 4 Feb 2020 18:54:23 +0100
Maxime Coquelin wrote:
> Hi Itsuro,
>
> On 1/20/20 3:17 AM, Itsuro ODA wrote:
> > Hi vhost
leaves it to user's responsibility.)
This precondition will not be a problem in most use cases
(including SPP).
v2:
- add signed-off-by
- fix spelling error
v3:
- rebase on dpdk-next-virtio master
- change patch order
- fix subject and commit message
Itsuro Oda (4):
net/vhost: allocate inte
This patch adds lacking member setting and makes secondary
probe complete.
Fixes: 4852aa8f6e21 (drivers/net: enable hotplug on secondary process)
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
Reviewed-by: Maxime Coquelin
---
drivers/net/vhost/rte_eth_vhost.c | 5 -
1 file changed, 4
Vhost driver setup is delayed at eth_dev configuration
in order to be able to set it from a secondary process.
Fixes: 4852aa8f6e21 (drivers/net: enable hotplug on secondary process)
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
Reviewed-by: Maxime Coquelin
---
drivers/net/vhost
This patch removes an unused member from pmd_internal.
Signed-off-by: Itsuro Oda
Reviewed-by: Maxime Coquelin
---
drivers/net/vhost/rte_eth_vhost.c | 9 +
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/drivers/net/vhost/rte_eth_vhost.c
b/drivers/net/vhost/rte_eth_vhost.c
This patch allocates iface_name of pmd_internal from heap
in order to be able to refer from secondary processes.
Fixes: 4852aa8f6e21 (drivers/net: enable hotplug on secondary process)
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
Reviewed-by: Maxime Coquelin
---
drivers/net/vhost
Hi Yinan, Maxime, David,
Thank you for quick test, fix and review.
It looks good to me.
The original fix has been queued to stable 19.11.1.
It should be rejected or applied this fix too.
Thanks.
Itsuto Oda
On Tue, 18 Feb 2020 18:22:38 +0100
Maxime Coquelin wrote:
> This series fi
> >
> > https://github.com/DPDK/dpdk/blob/e6c78e736d77/drivers/net/vhost/rte_eth_vhost.c#L1058
> > https://github.com/DPDK/dpdk/blob/e6c78e736d77/drivers/net/vhost/rte_eth_vhost.c#L1075
> >
> > It's not a common case and it's quite late in this release,
> > probably it's fine to fix it later.
>
> That's a valid point, and I also agree there is no urgency for v20.02.
> Itsuro, would you take care of fixing it for v20.05?
Sure, I will do it.
Thanks.
Itsuro Oda
> Thanks,
> Maxime
> > Thanks,
> > Tiwei
> >
--
Itsuro ODA
If a vhost device is closed before eth_dev_configure is done
to the device, internal resources allocated to the device
does not freed. This patch fixes it.
Fixes: 3d01b759d267 ("net/vhost: delay driver setup")
Signed-off-by: Itsuro Oda
---
drivers/net/vhost/rte_eth_vh
If a vhost device is closed before eth_dev_configure is done
to the device, internal resources allocated to the device
would not be freed. This patch fixes it.
Fixes: 3d01b759d267 ("net/vhost: delay driver setup")
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
Reviewd-by: Xiaolong
If a vhost device is closed before eth_dev_configure is done
to the device, internal resources allocated to the device
would not be freed. This patch fixes it.
Fixes: 3d01b759d267 ("net/vhost: delay driver setup")
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
Reviewed-by: Xiaolong
Since the length of interface name is variable, this patch uses
hash value calculated by the interface name.
Fixes: d012d1f293f4 (vhost: add IOTLB helper functions)
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
---
lib/librte_vhost/iotlb.c | 8 ++--
1 file changed, 6 insertions(+), 2 deleti
293f4 (vhost: add IOTLB helper functions)
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
---
v2:
* use the process id to make the iotlb cache name unique.
lib/librte_vhost/iotlb.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/librte_vhost/iotlb.c b/lib/librte_vhost/iotl
MAX_VRING(256): max 3 digits.
Fixes: d012d1f293f4 (vhost: add IOTLB helper functions)
Cc: sta...@dpdk.org
Signed-off-by: Itsuro Oda
---
v3:
* change format.
* fix commit message.
v2:
* use the process id to make the iotlb cache name unique.
lib/librte_vhost/iotlb.c | 5 +++--
1 file changed, 3 insertions(
26 matches
Mail list logo