DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get
@ 2015-05-19  5:55 Jijiang Liu
  2015-05-21  1:15 ` Zhang, Helin
  2015-05-21  1:50 ` Chen, Jing D
  0 siblings, 2 replies; 4+ messages in thread
From: Jijiang Liu @ 2015-05-19  5:55 UTC (permalink / raw)
  To: dev

To get device VMDQ info when only i40e VMDQ feature is enabled.

Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>

---
 lib/librte_pmd_i40e/i40e_ethdev.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c
index 96700e4..1faae83 100644
--- a/lib/librte_pmd_i40e/i40e_ethdev.c
+++ b/lib/librte_pmd_i40e/i40e_ethdev.c
@@ -1565,7 +1565,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info)
 				ETH_TXQ_FLAGS_NOOFFLOADS,
 	};
 
-	if (pf->flags | I40E_FLAG_VMDQ) {
+	if (pf->flags & I40E_FLAG_VMDQ) {
 		dev_info->max_vmdq_pools = pf->max_nb_vmdq_vsi;
 		dev_info->vmdq_queue_base = dev_info->max_rx_queues;
 		dev_info->vmdq_queue_num = pf->vmdq_nb_qps *
-- 
1.7.7.6

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

* Re: [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get
  2015-05-19  5:55 [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get Jijiang Liu
@ 2015-05-21  1:15 ` Zhang, Helin
  2015-05-29 18:10   ` Thomas Monjalon
  2015-05-21  1:50 ` Chen, Jing D
  1 sibling, 1 reply; 4+ messages in thread
From: Zhang, Helin @ 2015-05-21  1:15 UTC (permalink / raw)
  To: Liu, Jijiang, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu
> Sent: Tuesday, May 19, 2015 1:56 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get
> 
> To get device VMDQ info when only i40e VMDQ feature is enabled.
> 
> Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>

> 
> ---
>  lib/librte_pmd_i40e/i40e_ethdev.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
> b/lib/librte_pmd_i40e/i40e_ethdev.c
> index 96700e4..1faae83 100644
> --- a/lib/librte_pmd_i40e/i40e_ethdev.c
> +++ b/lib/librte_pmd_i40e/i40e_ethdev.c
> @@ -1565,7 +1565,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev,
> struct rte_eth_dev_info *dev_info)
>  				ETH_TXQ_FLAGS_NOOFFLOADS,
>  	};
> 
> -	if (pf->flags | I40E_FLAG_VMDQ) {
> +	if (pf->flags & I40E_FLAG_VMDQ) {
>  		dev_info->max_vmdq_pools = pf->max_nb_vmdq_vsi;
>  		dev_info->vmdq_queue_base = dev_info->max_rx_queues;
>  		dev_info->vmdq_queue_num = pf->vmdq_nb_qps *
> --
> 1.7.7.6

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

* Re: [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get
  2015-05-19  5:55 [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get Jijiang Liu
  2015-05-21  1:15 ` Zhang, Helin
@ 2015-05-21  1:50 ` Chen, Jing D
  1 sibling, 0 replies; 4+ messages in thread
From: Chen, Jing D @ 2015-05-21  1:50 UTC (permalink / raw)
  To: Liu, Jijiang, dev



> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu
> Sent: Tuesday, May 19, 2015 1:56 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get
> 
> To get device VMDQ info when only i40e VMDQ feature is enabled.
> 
> Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
> 
> ---
>  lib/librte_pmd_i40e/i40e_ethdev.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c
> b/lib/librte_pmd_i40e/i40e_ethdev.c
> index 96700e4..1faae83 100644
> --- a/lib/librte_pmd_i40e/i40e_ethdev.c
> +++ b/lib/librte_pmd_i40e/i40e_ethdev.c
> @@ -1565,7 +1565,7 @@ i40e_dev_info_get(struct rte_eth_dev *dev, struct
> rte_eth_dev_info *dev_info)
>  				ETH_TXQ_FLAGS_NOOFFLOADS,
>  	};
> 
> -	if (pf->flags | I40E_FLAG_VMDQ) {
> +	if (pf->flags & I40E_FLAG_VMDQ) {
>  		dev_info->max_vmdq_pools = pf->max_nb_vmdq_vsi;
>  		dev_info->vmdq_queue_base = dev_info->max_rx_queues;
>  		dev_info->vmdq_queue_num = pf->vmdq_nb_qps *
> --
> 1.7.7.6

Acked-by: Jing Chen <jing.d.chen@intel.com>

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

* Re: [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get
  2015-05-21  1:15 ` Zhang, Helin
@ 2015-05-29 18:10   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2015-05-29 18:10 UTC (permalink / raw)
  To: Liu, Jijiang; +Cc: dev

> > To get device VMDQ info when only i40e VMDQ feature is enabled.
> > 
> > Signed-off-by: Jijiang Liu <jijiang.liu@intel.com>
> Acked-by: Helin Zhang <helin.zhang@intel.com>

Applied, thanks

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

end of thread, other threads:[~2015-05-29 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19  5:55 [dpdk-dev] [PATCH] i40e:fix an issue in i40e_dev_info_get Jijiang Liu
2015-05-21  1:15 ` Zhang, Helin
2015-05-29 18:10   ` Thomas Monjalon
2015-05-21  1:50 ` Chen, Jing D

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).