Code Review
/
deb_dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Imported Upstream version 16.07.2
[deb_dpdk.git]
/
drivers
/
net
/
bnxt
/
bnxt_vnic.c
diff --git
a/drivers/net/bnxt/bnxt_vnic.c
b/drivers/net/bnxt/bnxt_vnic.c
index
c04c4c7
..
1b5f54c
100644
(file)
--- a/
drivers/net/bnxt/bnxt_vnic.c
+++ b/
drivers/net/bnxt/bnxt_vnic.c
@@
-175,7
+175,7
@@
int bnxt_alloc_vnic_attributes(struct bnxt *bp)
struct rte_pci_device *pdev = bp->pdev;
const struct rte_memzone *mz;
char mz_name[RTE_MEMZONE_NAMESIZE];
struct rte_pci_device *pdev = bp->pdev;
const struct rte_memzone *mz;
char mz_name[RTE_MEMZONE_NAMESIZE];
-
in
t entry_length = RTE_CACHE_LINE_ROUNDUP(
+
uint16_
t entry_length = RTE_CACHE_LINE_ROUNDUP(
HW_HASH_INDEX_SIZE * sizeof(*vnic->rss_table) +
HW_HASH_KEY_SIZE);
uint16_t max_vnics;
HW_HASH_INDEX_SIZE * sizeof(*vnic->rss_table) +
HW_HASH_KEY_SIZE);
uint16_t max_vnics;