summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJohn Daley <johndale@cisco.com>2016-07-15 12:34:53 -0700
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-15 23:37:13 +0200
commitd0c98d9e19a94a580ad51778e88875715a4460a4 (patch)
tree50505a015476fd39094f4825baeb1832b8f05366 /drivers
parentcd8ec06ac04f71077bfc89c1a7e55ba48cf4e911 (diff)
downloaddpdk-d0c98d9e19a94a580ad51778e88875715a4460a4.zip
dpdk-d0c98d9e19a94a580ad51778e88875715a4460a4.tar.gz
dpdk-d0c98d9e19a94a580ad51778e88875715a4460a4.tar.xz
net/enic: remove internal driver version
The enic PMD code has diverged from code that was once shared with the enic kernel mode driver for performance reasons. It is confusing and misleading to print the internal version number. Remove it. Fixes: fefed3d1e62c ("enic: new driver") Signed-off-by: John Daley <johndale@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/enic/enic.h1
-rw-r--r--drivers/net/enic/enic_main.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/enic/enic.h b/drivers/net/enic/enic.h
index a5e2e38..4c16ef1 100644
--- a/drivers/net/enic/enic.h
+++ b/drivers/net/enic/enic.h
@@ -51,7 +51,6 @@
#define DRV_NAME "enic_pmd"
#define DRV_DESCRIPTION "Cisco VIC Ethernet NIC Poll-mode Driver"
-#define DRV_VERSION "1.0.0.6"
#define DRV_COPYRIGHT "Copyright 2008-2015 Cisco Systems, Inc"
#define ENIC_WQ_MAX 8
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index d8669cc..89afb9f 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -1128,7 +1128,7 @@ int enic_probe(struct enic *enic)
struct rte_pci_device *pdev = enic->pdev;
int err = -1;
- dev_debug(enic, " Initializing ENIC PMD version %s\n", DRV_VERSION);
+ dev_debug(enic, " Initializing ENIC PMD\n");
enic->bar0.vaddr = (void *)pdev->mem_resource[0].addr;
enic->bar0.len = pdev->mem_resource[0].len;