From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id CFFE05688 for ; Mon, 24 Oct 2016 18:22:18 +0200 (CEST) Received: by mail-wm0-f68.google.com with SMTP id f193so10561468wmg.3 for ; Mon, 24 Oct 2016 09:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ry3B2ykcLBnF8oeO3GzOQn0CRiOB6/0oi+JydAbTmQY=; b=k5NmRv1aPhS7zsGjG8kA9IU2CMT3Tk4QEAJR9c2HWpH5c7zHMbvrzXjZzw9j1b2Nre EGXnX+yDWbY/tEyAzkbwICjMOr4XTU1yCQdPcYOjS23b7s3ESyli7D43eOAtbUfglKCY e3qfd51786VA5Kv/Nr3w39V7F/rs8gZqaEaJmqIkmnPh9pB6+zEYAyQdNJ7PfOBbCFrB LttRm0rZjPe8yKBoJtfE51gvXHR+zIx9MEgJH7MzvDr1DYV2pNGty1DBWIzx1JwlN6Po QHaWzPFhRmkXG7LFB5jyXujyLcefVWg6BtS4yDmeicw88oBeeIg136tsBsle1E9krxCD OdZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ry3B2ykcLBnF8oeO3GzOQn0CRiOB6/0oi+JydAbTmQY=; b=B9XrMYdoAMYOhl1C03u5uUf7wJEl8E4DA2EqXBiyaKLcGTtKRL3JjzDzcQ/Uf8oR9x LEY6ZD2pEqbI4ccA6YGs2PeCo1CYAM6sL+GM2eObvhxVMx7+a2K4aFWKtMqTb4Ufq18g eEc9/A2mtLRz+dg10ccb5s2sdtlqlZ/VLJN3foRJbUBiIuAt6QCpFC3W1wSu/YYLAG0Z XbqHwC8wy5GtwF21leAyqOt7YkNGMHUcnhRS1dJqcsbNFUUgaFhBElwSU/S0UVrKhkZi THZieib3HgUWX+Knp0m1VEJYPKq+nfpPr/XrmzK1e7ITq8rPa1KXGXAIapfpg8coAeIA UmkA== X-Gm-Message-State: ABUngvchmHiaiWxA/uPg0//vtr5ruV8TiuiYm8eda77EuNGaUi593/Os1vK0xsvtNLDPXA== X-Received: by 10.194.172.41 with SMTP id az9mr15608346wjc.105.1477326138566; Mon, 24 Oct 2016 09:22:18 -0700 (PDT) Received: from linux-aag4.brocade.com (p548C914E.dip0.t-ipconnect.de. [84.140.145.78]) by smtp.gmail.com with ESMTPSA id 130sm15619078wmf.0.2016.10.24.09.22.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 24 Oct 2016 09:22:17 -0700 (PDT) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: pablo.de.lara.guarch@intel.com, thomas.monjalon@6wind.com, yuanhan.liu@linux.intel.com, john.mcnamara@intel.com, maxime.coquelin@redhat.com Date: Mon, 24 Oct 2016 12:22:22 -0400 Message-Id: <1477326143-4571-2-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1477326143-4571-1-git-send-email-jblunck@infradead.org> References: <1476956223-30308-1-git-send-email-jblunck@infradead.org> <1477326143-4571-1-git-send-email-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v2 2/3] drivers: register aliases for renamed VDEV drivers 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: Mon, 24 Oct 2016 16:22:19 -0000 This registers the legacy names of the driver being renamed in commit 2f45703c17ac ("drivers: make driver names consistent"). Signed-off-by: Jan Blunck --- drivers/net/af_packet/rte_eth_af_packet.c | 1 + drivers/net/bonding/rte_eth_bond_pmd.c | 1 + drivers/net/mpipe/mpipe_tilegx.c | 2 ++ drivers/net/null/rte_eth_null.c | 1 + drivers/net/pcap/rte_eth_pcap.c | 1 + drivers/net/ring/rte_eth_ring.c | 1 + drivers/net/vhost/rte_eth_vhost.c | 1 + drivers/net/virtio/virtio_user_ethdev.c | 1 + drivers/net/xenvirt/rte_eth_xenvirt.c | 1 + 9 files changed, 10 insertions(+) diff --git a/drivers/net/af_packet/rte_eth_af_packet.c b/drivers/net/af_packet/rte_eth_af_packet.c index 201c1be..ff45068 100644 --- a/drivers/net/af_packet/rte_eth_af_packet.c +++ b/drivers/net/af_packet/rte_eth_af_packet.c @@ -895,6 +895,7 @@ static struct rte_vdev_driver pmd_af_packet_drv = { }; RTE_PMD_REGISTER_VDEV(net_af_packet, pmd_af_packet_drv); +RTE_PMD_REGISTER_ALIAS(net_af_packet, eth_af_packet); RTE_PMD_REGISTER_PARAM_STRING(net_af_packet, "iface= " "qpairs= " diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index 9e38ec9..9df245e 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -2560,6 +2560,7 @@ static struct rte_vdev_driver bond_drv = { }; RTE_PMD_REGISTER_VDEV(net_bonding, bond_drv); +RTE_PMD_REGISTER_ALIAS(net_bonding, eth_bond); RTE_PMD_REGISTER_PARAM_STRING(net_bonding, "slave= " diff --git a/drivers/net/mpipe/mpipe_tilegx.c b/drivers/net/mpipe/mpipe_tilegx.c index adf299b..fbbbb00 100644 --- a/drivers/net/mpipe/mpipe_tilegx.c +++ b/drivers/net/mpipe/mpipe_tilegx.c @@ -1632,7 +1632,9 @@ static struct rte_vdev_driver pmd_mpipe_gbe_drv = { }; RTE_PMD_REGISTER_VDEV(net_mpipe_xgbe, pmd_mpipe_xgbe_drv); +RTE_PMD_REGISTER_ALIAS(net_mpipe_xgbe, xgbe); RTE_PMD_REGISTER_VDEV(net_mpipe_gbe, pmd_mpipe_gbe_drv); +RTE_PMD_REGISTER_ALIAS(net_mpipe_gbe, gbe); static void __attribute__((constructor, used)) mpipe_init_contexts(void) diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_null.c index 0b7cc37..836d982 100644 --- a/drivers/net/null/rte_eth_null.c +++ b/drivers/net/null/rte_eth_null.c @@ -692,6 +692,7 @@ static struct rte_vdev_driver pmd_null_drv = { }; RTE_PMD_REGISTER_VDEV(net_null, pmd_null_drv); +RTE_PMD_REGISTER_ALIAS(net_null, eth_null); RTE_PMD_REGISTER_PARAM_STRING(net_null, "size= " "copy="); diff --git a/drivers/net/pcap/rte_eth_pcap.c b/drivers/net/pcap/rte_eth_pcap.c index 0c4711d..0162f44 100644 --- a/drivers/net/pcap/rte_eth_pcap.c +++ b/drivers/net/pcap/rte_eth_pcap.c @@ -1065,6 +1065,7 @@ static struct rte_vdev_driver pmd_pcap_drv = { }; RTE_PMD_REGISTER_VDEV(net_pcap, pmd_pcap_drv); +RTE_PMD_REGISTER_ALIAS(net_pcap, eth_pcap); RTE_PMD_REGISTER_PARAM_STRING(net_pcap, ETH_PCAP_RX_PCAP_ARG "= " ETH_PCAP_TX_PCAP_ARG "= " diff --git a/drivers/net/ring/rte_eth_ring.c b/drivers/net/ring/rte_eth_ring.c index ee1fb76..6d2a8c1 100644 --- a/drivers/net/ring/rte_eth_ring.c +++ b/drivers/net/ring/rte_eth_ring.c @@ -629,5 +629,6 @@ static struct rte_vdev_driver pmd_ring_drv = { }; RTE_PMD_REGISTER_VDEV(net_ring, pmd_ring_drv); +RTE_PMD_REGISTER_ALIAS(net_ring, eth_ring); RTE_PMD_REGISTER_PARAM_STRING(net_ring, ETH_RING_NUMA_NODE_ACTION_ARG "=name:node:action(ATTACH|CREATE)"); diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c index 6f58476..766d4ef 100644 --- a/drivers/net/vhost/rte_eth_vhost.c +++ b/drivers/net/vhost/rte_eth_vhost.c @@ -1244,6 +1244,7 @@ static struct rte_vdev_driver pmd_vhost_drv = { }; RTE_PMD_REGISTER_VDEV(net_vhost, pmd_vhost_drv); +RTE_PMD_REGISTER_ALIAS(net_vhost, eth_vhost); RTE_PMD_REGISTER_PARAM_STRING(net_vhost, "iface= " "queues="); diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c index bfdc3d0..406beea 100644 --- a/drivers/net/virtio/virtio_user_ethdev.c +++ b/drivers/net/virtio/virtio_user_ethdev.c @@ -479,6 +479,7 @@ static struct rte_vdev_driver virtio_user_driver = { }; RTE_PMD_REGISTER_VDEV(net_virtio_user, virtio_user_driver); +RTE_PMD_REGISTER_ALIAS(net_virtio_user, virtio_user); RTE_PMD_REGISTER_PARAM_STRING(net_virtio_user, "path= " "mac= " diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c index 5a897b9..c08a056 100644 --- a/drivers/net/xenvirt/rte_eth_xenvirt.c +++ b/drivers/net/xenvirt/rte_eth_xenvirt.c @@ -765,5 +765,6 @@ static struct rte_vdev_driver pmd_xenvirt_drv = { }; RTE_PMD_REGISTER_VDEV(net_xenvirt, pmd_xenvirt_drv); +RTE_PMD_REGISTER_ALIAS(net_xenvirt, eth_xenvirt); RTE_PMD_REGISTER_PARAM_STRING(net_xenvirt, "mac="); -- 2.6.6