From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=BaBpMxSsnP8++eLe7ita8SmCeovhAHQ3H1m0Tq0pijI=; b=vS9SGO1bYLRjB8yAWd8rsCOqL8cINJP3mNpcdEnq0Lg0tKbFpju4SpG++oxaZoJ0NX OAsSQHyazRJ7QnGJ2KfdTaBU5LYQKtTXscDseJRWQ3yhEhQjGVqeglZreO+wwR/+qIbk kY/p4MI4rwUoyBW6ScEw7J3SoDTzty4BBrSR71emZlQVwJF56tm6ATWtpByfmRNEywhg elM5T/HZz1idHdp6PVwEE8xpoGD0hiQa79BwkHt5B18Yl8rYp1plhato14ampTcQCKtB 7a0bSMTiU6LCLhfsaIe2ItgEm2i1BlMyesVY3IBVRtukpR/eG425nZa60fwmMe2DcdHD NZEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=BaBpMxSsnP8++eLe7ita8SmCeovhAHQ3H1m0Tq0pijI=; b=QPO104vFwv2Nc8M54s+ALS9LA5YoU80thzlM8vntk+VUq/1FFZIjCvzJZhzFXvgkEq 9opmVv9j9w3RegV+sM4sT8nyS0v9N6IwmCa4rkErQxxm2evjbzFHZ2WCmZZKTxCLxJO7 q4u9fQEfVCajmprXyOZMsMdi8AlL2fbXLVXJrmKgyVbGkFtVnx+6DRn9fdcV7Xd9L+2L LmlLWbZDljJiDLw4O81/baNFai1t+9KzSMrVd1959NWp1YrlzoWCTeD2zkdTefAiVGn1 ULDcYI5MsoP4StXSWST/R0If+MAEX0ng0FBM3aYN/KVSzydQVkgTlYlBSiv+9myjx8bE onTQ== X-Gm-Message-State: APjAAAVTEenIKYDVndHsqdOvEyl2PsB/8Uao2/pbKFho/1LgyqpIw731 /0vu/1Qnsh25hIyFHuF665u+cw== X-Google-Smtp-Source: APXvYqwEhNDCRVtE8qr7CuMXKTEPwWknH/ToqgYxZUGooBRIbga+ik/ZgTC/rnXO4NSwD23tqOpo4A== X-Received: by 2002:a65:6112:: with SMTP id z18mr27407893pgu.272.1552418828477; Tue, 12 Mar 2019 12:27:08 -0700 (PDT) Received: from shemminger-XPS-13-9360.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id m9sm14145297pfi.31.2019.03.12.12.27.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Mar 2019 12:27:07 -0700 (PDT) From: Stephen Hemminger To: jerinj@marvell.com Cc: dev@dpdk.org, Stephen Hemminger Date: Tue, 12 Mar 2019 12:27:03 -0700 Message-Id: <20190312192703.18554-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH] net/octeontx: fix vdev name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Mar 2019 19:27:09 -0000 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