From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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=a8rBAFsvyDF7uPWDkV07ljOVWNxhM+HiAOKOkicMLSI=; b=DaTed6Kdkd6prYxPv7w1XVZOZaT5C2l2AR0k4w3gD9beI/LnQ4gw8eLQqCa5tldkE4 QTxCrAiNkRFKbeKRk0jhePILUjn+XaYbJDaCNjCAA0xHd84oxoquP0sJ4qjoz3ROjGDe g9uRfsFzFE6sRK0OoYK7KW37Ag+7saZOkA2xZH3+WnDJ6C/JfSnGK5LNs2EHNgoJ01Br SgnSkhaz+pNXk01BHNZe/zlxxyKuSTSmn1XBZVoo0d+1nwOgMuy3nisELXTJgbMrfou8 bnF9QxY6EJp08izbpEo636bGCPwfu9A/vQ1RwUud9VG6AmA/4dR00Wlknnp5nRU606Of lBvw== 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=a8rBAFsvyDF7uPWDkV07ljOVWNxhM+HiAOKOkicMLSI=; b=kzgTZnqCXyZR9fuk3iI+2ijGUROiJ0/wKb8XY/xL9yostY2wPvgkBfiq4c3vwoDjW+ 1Gmo1AiptN24X8fT13cmgnQb2rjYJWzf+VtMpr7STANlvKrRE2yak1HpjeXqG7N4ApYa utaRAQq9RnhZUpkm+McMBP5nUW+tpz7L/ooyI4VgIhCjzqRVENyUPvOrIB7cO9X4M58y Ud4MCtUstxFL+wcj3iRJIgzv82fRbGTUgoJu7cCX6HR5LSZ4WgswIrDH/ss7UBtQHvjC oDOu3KJ0IxMfskUEgBTr3kQSm87K3ho65+bt5l1TcifMxQV6HQCUe9Cm4RjbG/jYPyo5 V3ZA== X-Gm-Message-State: APjAAAUbzu2w4uKaebIBBRGh16Vkf2m4Wzgvum5FZWfKnRSNylXLClfM nlVBZIs6Vem+tviTEelw1lWbTrUFHSe4Cg== X-Google-Smtp-Source: APXvYqw6KQ8jDBtq32pN0gMSKZv0tLENqb9M8RA+CpHiTpzk6dYeiTRUxjUulsG4xtWCGjBrTSkwhA== X-Received: by 2002:a62:12d9:: with SMTP id 86mr45237445pfs.214.1552514299288; Wed, 13 Mar 2019 14:58:19 -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 h75sm34019963pfd.150.2019.03.13.14.58.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Mar 2019 14:58:17 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 13 Mar 2019 14:58:15 -0700 Message-Id: <20190313215815.19629-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v2] 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: Wed, 13 Mar 2019 21:58:21 -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 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 4F8F7A0096 for ; Wed, 13 Mar 2019 22:58:23 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4D27337B0; Wed, 13 Mar 2019 22:58:22 +0100 (CET) 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) 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=a8rBAFsvyDF7uPWDkV07ljOVWNxhM+HiAOKOkicMLSI=; b=DaTed6Kdkd6prYxPv7w1XVZOZaT5C2l2AR0k4w3gD9beI/LnQ4gw8eLQqCa5tldkE4 QTxCrAiNkRFKbeKRk0jhePILUjn+XaYbJDaCNjCAA0xHd84oxoquP0sJ4qjoz3ROjGDe g9uRfsFzFE6sRK0OoYK7KW37Ag+7saZOkA2xZH3+WnDJ6C/JfSnGK5LNs2EHNgoJ01Br SgnSkhaz+pNXk01BHNZe/zlxxyKuSTSmn1XBZVoo0d+1nwOgMuy3nisELXTJgbMrfou8 bnF9QxY6EJp08izbpEo636bGCPwfu9A/vQ1RwUud9VG6AmA/4dR00Wlknnp5nRU606Of lBvw== 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=a8rBAFsvyDF7uPWDkV07ljOVWNxhM+HiAOKOkicMLSI=; b=kzgTZnqCXyZR9fuk3iI+2ijGUROiJ0/wKb8XY/xL9yostY2wPvgkBfiq4c3vwoDjW+ 1Gmo1AiptN24X8fT13cmgnQb2rjYJWzf+VtMpr7STANlvKrRE2yak1HpjeXqG7N4ApYa utaRAQq9RnhZUpkm+McMBP5nUW+tpz7L/ooyI4VgIhCjzqRVENyUPvOrIB7cO9X4M58y Ud4MCtUstxFL+wcj3iRJIgzv82fRbGTUgoJu7cCX6HR5LSZ4WgswIrDH/ss7UBtQHvjC oDOu3KJ0IxMfskUEgBTr3kQSm87K3ho65+bt5l1TcifMxQV6HQCUe9Cm4RjbG/jYPyo5 V3ZA== X-Gm-Message-State: APjAAAUbzu2w4uKaebIBBRGh16Vkf2m4Wzgvum5FZWfKnRSNylXLClfM nlVBZIs6Vem+tviTEelw1lWbTrUFHSe4Cg== X-Google-Smtp-Source: APXvYqw6KQ8jDBtq32pN0gMSKZv0tLENqb9M8RA+CpHiTpzk6dYeiTRUxjUulsG4xtWCGjBrTSkwhA== X-Received: by 2002:a62:12d9:: with SMTP id 86mr45237445pfs.214.1552514299288; Wed, 13 Mar 2019 14:58:19 -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 h75sm34019963pfd.150.2019.03.13.14.58.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Mar 2019 14:58:17 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Wed, 13 Mar 2019 14:58:15 -0700 Message-Id: <20190313215815.19629-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v2] 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190313215815.FDLAyX34eEy3-H-c7norCSe2RD0Qlz8CgBP69bptL9Y@z> 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