summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRasesh Mody <rasesh.mody@qlogic.com>2016-07-20 12:09:34 -0700
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-22 00:36:18 +0200
commit3337c30c4e69767dac61c94ece273361d2f23cc8 (patch)
tree25b772db78ca3e7ad2c8edd0737a393d9208c44a /drivers
parent91b7e432bcef97e67147aa94aa5b9555b1beb16e (diff)
downloaddpdk-3337c30c4e69767dac61c94ece273361d2f23cc8.zip
dpdk-3337c30c4e69767dac61c94ece273361d2f23cc8.tar.gz
dpdk-3337c30c4e69767dac61c94ece273361d2f23cc8.tar.xz
net/bnx2x: fix mempool name length
This patch fixes following error: EAL: Detected 36 lcore(s) EAL: Probing VFIO support... PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:08:00.0 on NUMA socket 0 EAL: probe driver: 14e4:16a1 rte_bnx2x_pmd EAL: PCI device 0000:08:00.1 on NUMA socket 0 EAL: probe driver: 14e4:16a1 rte_bnx2x_pmd Lcore 0: RX port 0 Lcore 1: RX port 1 Initializing port 0... EAL: Error - exiting with code: 1 Cause: Cannot configure device: err=-6, port=0 Fixes: 540a2110 ("bnx2x: driver core") Fixes: 85cf0079 ("mem: avoid memzone/mempool/ring name truncation") Signed-off-by: Rasesh Mody <rasesh.mody@qlogic.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2x/bnx2x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x/bnx2x.c b/drivers/net/bnx2x/bnx2x.c
index a059858..a49a07f 100644
--- a/drivers/net/bnx2x/bnx2x.c
+++ b/drivers/net/bnx2x/bnx2x.c
@@ -8886,7 +8886,7 @@ int bnx2x_alloc_hsi_mem(struct bnx2x_softc *sc)
/***************************/
if (bnx2x_dma_alloc(sc, FW_BUF_SIZE, &sc->gz_buf_dma,
- "fw_dec_buf", RTE_CACHE_LINE_SIZE) != 0) {
+ "fw_buf", RTE_CACHE_LINE_SIZE) != 0) {
sc->spq = NULL;
sc->sp = NULL;
sc->eq = NULL;