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:
7c4c66b
)
fm10k: fix maximum VF number
author
Michael Qiu
<michael.qiu@intel.com>
Tue, 2 Jun 2015 02:28:48 +0000
(10:28 +0800)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Tue, 2 Jun 2015 15:48:52 +0000
(17:48 +0200)
In DPDK, max_vfs means vf numbers created, not the max number vfs
the device supported.
Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Jing Chen <jing.d.chen@intel.com>
drivers/net/fm10k/fm10k_ethdev.c
patch
|
blob
|
history
diff --git
a/drivers/net/fm10k/fm10k_ethdev.c
b/drivers/net/fm10k/fm10k_ethdev.c
index
275c19c
..
87852ed
100644
(file)
--- a/
drivers/net/fm10k/fm10k_ethdev.c
+++ b/
drivers/net/fm10k/fm10k_ethdev.c
@@
-760,7
+760,7
@@
fm10k_dev_infos_get(struct rte_eth_dev *dev,
dev_info->max_tx_queues = hw->mac.max_queues;
dev_info->max_mac_addrs = 1;
dev_info->max_hash_mac_addrs = 0;
- dev_info->max_vfs =
FM10K_MAX_VF_NUM
;
+ dev_info->max_vfs =
dev->pci_dev->max_vfs
;
dev_info->max_vmdq_pools = ETH_64_POOLS;
dev_info->rx_offload_capa =
DEV_RX_OFFLOAD_IPV4_CKSUM |