patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH 17.11] net/vhost: fix parameters string
@ 2018-12-10  5:15 Yahui Cao
  2018-12-11 18:58 ` Yongseok Koh
  0 siblings, 1 reply; 2+ messages in thread
From: Yahui Cao @ 2018-12-10  5:15 UTC (permalink / raw)
  To: tiwei.bie, Tetsuya Mukawa, Yuanhan Liu, Maxime Coquelin
  Cc: stable, zhihong.wang

[ backported from upstream commit 1a7a39eb3d380b6f49ad9d1e29a01bcfb306cba4 ]

Add the missing params to the param string.

Fixes: 39cac2adcad0 ("net/vhost: add client option")
Fixes: 4ce97c6f6b4f ("net/vhost: add an option to enable dequeue zero copy")
Fixes: 447e0d379756 ("net/vhost: add parameter to enable IOMMU feature")
Fixes: 6d6e95cec455 ("net/vhost: add parameter to enable postcopy")

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>

Signed-off-by: Yahui Cao <yahui.cao@intel.com>
---
 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 6091b3224..0ba25b531 100644
--- a/drivers/net/vhost/rte_eth_vhost.c
+++ b/drivers/net/vhost/rte_eth_vhost.c
@@ -1293,4 +1293,7 @@ RTE_PMD_REGISTER_VDEV(net_vhost, pmd_vhost_drv);
 RTE_PMD_REGISTER_ALIAS(net_vhost, eth_vhost);
 RTE_PMD_REGISTER_PARAM_STRING(net_vhost,
 	"iface=<ifc> "
-	"queues=<int>");
+	"queues=<int> "
+	"client=<0|1> "
+	"dequeue-zero-copy=<0|1> "
+	"iommu-support=<0|1>");
-- 
2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-stable] [PATCH 17.11] net/vhost: fix parameters string
  2018-12-10  5:15 [dpdk-stable] [PATCH 17.11] net/vhost: fix parameters string Yahui Cao
@ 2018-12-11 18:58 ` Yongseok Koh
  0 siblings, 0 replies; 2+ messages in thread
From: Yongseok Koh @ 2018-12-11 18:58 UTC (permalink / raw)
  To: Yahui Cao
  Cc: Tiwei Bie, Tetsuya Mukawa, Yuanhan Liu, Maxime Coquelin, stable,
	zhihong.wang


> On Dec 9, 2018, at 9:15 PM, Yahui Cao <yahui.cao@intel.com> wrote:
> 
> [ backported from upstream commit 1a7a39eb3d380b6f49ad9d1e29a01bcfb306cba4 ]
> 
> Add the missing params to the param string.
> 
> Fixes: 39cac2adcad0 ("net/vhost: add client option")
> Fixes: 4ce97c6f6b4f ("net/vhost: add an option to enable dequeue zero copy")
> Fixes: 447e0d379756 ("net/vhost: add parameter to enable IOMMU feature")
> Fixes: 6d6e95cec455 ("net/vhost: add parameter to enable postcopy")
> 
> Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
> 
> Signed-off-by: Yahui Cao <yahui.cao@intel.com>
> ---

Applied to stable/17.11

Thanks,
Yongseok

> 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 6091b3224..0ba25b531 100644
> --- a/drivers/net/vhost/rte_eth_vhost.c
> +++ b/drivers/net/vhost/rte_eth_vhost.c
> @@ -1293,4 +1293,7 @@ RTE_PMD_REGISTER_VDEV(net_vhost, pmd_vhost_drv);
> RTE_PMD_REGISTER_ALIAS(net_vhost, eth_vhost);
> RTE_PMD_REGISTER_PARAM_STRING(net_vhost,
> 	"iface=<ifc> "
> -	"queues=<int>");
> +	"queues=<int> "
> +	"client=<0|1> "
> +	"dequeue-zero-copy=<0|1> "
> +	"iommu-support=<0|1>");
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-11 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-10  5:15 [dpdk-stable] [PATCH 17.11] net/vhost: fix parameters string Yahui Cao
2018-12-11 18:58 ` Yongseok Koh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).