From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) by dpdk.org (Postfix) with ESMTP id DC96747D0 for ; Fri, 15 Jul 2016 21:34:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1373; q=dns/txt; s=iport; t=1468611297; x=1469820897; h=from:to:cc:subject:date:message-id; bh=3h9Uu5rAZNun3bmy2rdkMCHB6SEudA4lT6A2zgHn/dY=; b=fyydi1Wcn8B9B8Fc4jBS/iIFWXq7iJ31VioRjk6LwtIiFMd1O5OAuGjt rAuFcpdj4t5a8cygq9ge57Ix/NxWXU/FlfvXZ/lauKU7zWGqLM8NnGzIk a7t1Pbbic0ys7JSmXxlPKA60co/waSI6DNP2Ibdb6lDeAnAKoilLux2hJ s=; X-IronPort-AV: E=Sophos;i="5.28,369,1464652800"; d="scan'208";a="126401418" Received: from alln-core-4.cisco.com ([173.36.13.137]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Jul 2016 19:34:56 +0000 Received: from cisco.com (savbu-usnic-a.cisco.com [10.193.184.48]) by alln-core-4.cisco.com (8.14.5/8.14.5) with ESMTP id u6FJYuZQ017254; Fri, 15 Jul 2016 19:34:56 GMT Received: by cisco.com (Postfix, from userid 392789) id E7D523FAAE0E; Fri, 15 Jul 2016 12:34:55 -0700 (PDT) From: John Daley To: dev@dpdk.org Cc: bruce.richardson@intel.com, John Daley Date: Fri, 15 Jul 2016 12:34:53 -0700 Message-Id: <1468611293-6438-1-git-send-email-johndale@cisco.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] net/enic: remove print of internal driver version X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2016 19:34:57 -0000 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 --- drivers/net/enic/enic.h | 1 - drivers/net/enic/enic_main.c | 2 +- 2 files changed, 1 insertion(+), 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; -- 2.7.0