From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by dpdk.org (Postfix) with ESMTP id 613C07F3C for ; Thu, 20 Oct 2016 11:37:15 +0200 (CEST) Received: by mail-pf0-f194.google.com with SMTP id i85so5085028pfa.0 for ; Thu, 20 Oct 2016 02:37:15 -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=U68oXB6WQ8ccnhMXgKafaLHGcsOjY8Zx+KR/LLt1aTA=; b=i/QXpAHlsfwEnDQMddMiB4lvXrN9jWcpn94/mLqj3K4YCBXiW2aaVQkDNzsyP3JBJg lUpRM2VLz3FD7833yF0RVnpvN7X6OOoUWZiG7TJhrYvu1C+FtHB2zPUXzlZZCE5J6jxt Z007H4RNYjXpg6IGqUYKLUPMNXeP7QUYpCh4fU6slTpDegSYzco64fQT3OIEGhJ3Gep1 /Q7B2X10Ji5XLJ6OgWzELc56mDNfL9/3Vc6D/4PUJ9Hm+0T4fSk99HUFyv0qadz8zUkD gd4EC5eqd6aEIfF1E5ZYRjFtvF9MFf+B9AEpxl2kGyS3J1YFllKv7YTUuQMiA7GIlSfm g0+Q== 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=U68oXB6WQ8ccnhMXgKafaLHGcsOjY8Zx+KR/LLt1aTA=; b=aXY8jHETmjYtZnDQg7vTkY85JdsbpIXOKo0msLE5S31lvWVzgIeNfm+rY4Pl7Pz1/m arppd7YpnGqLgqv8oy/mO1fyzqACiMjxM+6DLbVZjQpCYHOpRdDG10fUey/yu6eESuqb IxNVvwzeuMbRhSR0oTag5Xd9HQ0k193XFPYWXtLxDipPZYf370JpOjil0QiAxb12WDUU Hl/3xG5XRTwPdiJGz9rFRvC11R+e1qvt3IS0HkfeXrQqkEXpI1xQY1PlyUze2+ujEQW8 sHJpK5FAAn/P6eb/32C6G0fPUrgfuW45lJ0NxJH1qJrlIdwi4TJ6UpC75CybTqlMUkcA n+5g== X-Gm-Message-State: AA6/9Rk4lljM4QW0m6lrOeTOLjSTVZUSPQS9cnpi/1X9LCzqiD9uWq+0zwIWR/BIt/mnjA== X-Received: by 10.99.153.17 with SMTP id d17mr16491417pge.122.1476956234084; Thu, 20 Oct 2016 02:37:14 -0700 (PDT) Received: from linux-aag4.brocade.com ([144.49.132.22]) by smtp.gmail.com with ESMTPSA id q7sm69973040pfq.80.2016.10.20.02.37.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 20 Oct 2016 02:37:13 -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 Date: Thu, 20 Oct 2016 05:37:03 -0400 Message-Id: <1476956223-30308-2-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1476956223-30308-1-git-send-email-jblunck@infradead.org> References: <1476956223-30308-1-git-send-email-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH 2/2] 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: Thu, 20 Oct 2016 09:37:15 -0000 This registers the legacy names of the driver being renamed in commit 2f45703c17acb943aaded9f79676fd56a72542b2. 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