git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
365f618
)
i40e: fix condition to get VMDQ infos
author
Jijiang Liu
<jijiang.liu@intel.com>
Tue, 19 May 2015 05:55:39 +0000
(13:55 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Fri, 29 May 2015 18:27:23 +0000
(20:27 +0200)
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>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/i40e/i40e_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/i40e/i40e_ethdev.c
b/drivers/net/i40e/i40e_ethdev.c
index
fb64027
..
da6c0b5
100644
(file)
--- a/
drivers/net/i40e/i40e_ethdev.c
+++ b/
drivers/net/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 *