From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH] net/octeontx: fix vdev name Date: Tue, 12 Mar 2019 12:27:03 -0700 Message-ID: <20190312192703.18554-1-stephen@networkplumber.org> Cc: dev@dpdk.org, Stephen Hemminger To: jerinj@marvell.com Return-path: Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by dpdk.org (Postfix) with ESMTP id 6315D4C8E for ; Tue, 12 Mar 2019 20:27:09 +0100 (CET) Received: by mail-pf1-f193.google.com with SMTP id n22so2545743pfa.3 for ; Tue, 12 Mar 2019 12:27:09 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The octeontx driver is creating vdev with name "OCTEONTX_PMD" which is an artifact from how RTE_PMD_REGISTER_VDEV arguments work. Change to use the same convention as all the other network driverse ("net_octeontx"). Signed-off-by: Stephen Hemminger --- drivers/net/octeontx/octeontx_ethdev.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/octeontx/octeontx_ethdev.h b/drivers/net/octeontx/octeontx_ethdev.h index 920f6f89b882..f21652c9a6c8 100644 --- a/drivers/net/octeontx/octeontx_ethdev.h +++ b/drivers/net/octeontx/octeontx_ethdev.h @@ -21,6 +21,7 @@ #include "base/octeontx_pkovf.h" #include "base/octeontx_io.h" +#define OCTEONTX_PMD net_octeon #define OCTEONTX_VDEV_DEFAULT_MAX_NR_PORT 12 #define OCTEONTX_VDEV_NR_PORT_ARG ("nr_port") #define OCTEONTX_MAX_NAME_LEN 32 -- 2.17.1