From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8AF01A0471 for ; Fri, 19 Jul 2019 11:01:43 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 77BF84D27; Fri, 19 Jul 2019 11:01:43 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 9635F4D27 for ; Fri, 19 Jul 2019 11:01:42 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jul 2019 02:01:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,281,1559545200"; d="scan'208,223";a="191871991" Received: from irsmsx109.ger.corp.intel.com ([163.33.3.23]) by fmsmga004.fm.intel.com with ESMTP; 19 Jul 2019 02:01:40 -0700 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.229]) by IRSMSX109.ger.corp.intel.com ([169.254.13.29]) with mapi id 14.03.0439.000; Fri, 19 Jul 2019 10:01:39 +0100 From: "Rybalchenko, Kirill" To: Yongseok Koh CC: "stable@dpdk.org" Thread-Topic: [dpdk-stable][PATCH 17.11] test/virtual_pmd: add MAC address setting fake op Thread-Index: AdU+EHMkUlLaAYhWTwCvKFWvE5WVRA== Date: Fri, 19 Jul 2019 09:01:39 +0000 Message-ID: <696B43C21188DF4F9C9091AAE4789B8260FFEB48@IRSMSX108.ger.corp.intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNGNkYjMwMTQtMDlmZS00YTQ5LWIyZmMtZGE0NWQ3NDQ2YzE0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiekFUcHNlT295djh4ZWpcL0lKYTZodythTENyb2RWWlpxZVFWZkl3cmJqNTRTYjJlUnNxdEd0YlVJZVZ1SEZ1WHcifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.600.7 dlp-reaction: no-action x-originating-ip: [163.33.239.182] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-stable] [PATCH 17.11] test/virtual_pmd: add MAC address setting fake op X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: Radu Nicolau [ backported from upstream commit c23fc36284e26fca9b52641118ad76a4da99d7af] Needed if used with net/bonding Signed-off-by: Radu Nicolau Reviewed-by: Ferruh Yigit --- test/test/virtual_pmd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/test/virtual_pmd.c b/test/test/virtual_pmd.c index b57a949..b600b43 100644 --- a/test/test/virtual_pmd.c +++ b/test/test/virtual_pmd.c @@ -244,6 +244,11 @@ static void virtual_ethdev_promiscuous_mode_disable(struct rte_eth_dev *dev __rte_unus= ed) {} =20 +static void +virtual_ethdev_mac_address_set(__rte_unused struct rte_eth_dev *dev, + __rte_unused struct ether_addr *addr) +{ +} =20 static const struct eth_dev_ops virtual_ethdev_default_dev_ops =3D { .dev_configure =3D virtual_ethdev_configure_success, @@ -256,13 +261,13 @@ static const struct eth_dev_ops virtual_ethdev_defaul= t_dev_ops =3D { .rx_queue_release =3D virtual_ethdev_rx_queue_release, .tx_queue_release =3D virtual_ethdev_tx_queue_release, .link_update =3D virtual_ethdev_link_update_success, + .mac_addr_set =3D virtual_ethdev_mac_address_set, .stats_get =3D virtual_ethdev_stats_get, .stats_reset =3D virtual_ethdev_stats_reset, .promiscuous_enable =3D virtual_ethdev_promiscuous_mode_enable, .promiscuous_disable =3D virtual_ethdev_promiscuous_mode_disable }; =20 - void virtual_ethdev_start_fn_set_success(uint16_t port_id, uint8_t success) { --=20 2.7.4