From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH v2] net/octeontx: fix vdev name Date: Wed, 13 Mar 2019 14:58:15 -0700 Message-ID: <20190313215815.19629-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org Return-path: Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id B982A2BF5 for ; Wed, 13 Mar 2019 22:58:20 +0100 (CET) Received: by mail-pg1-f195.google.com with SMTP id a22so2445892pgg.13 for ; Wed, 13 Mar 2019 14:58:20 -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 drivers ie "net_octeontx"). Signed-off-by: Stephen Hemminger Reviewed-by: Ramil Rosen --- v2 - fix typo in commit message and name should be net_octeontx not net_octeon 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..2a4a08afcc7f 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_octeontx #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