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 9899AA046B for ; Tue, 23 Jul 2019 03:31:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8DA551BED6; Tue, 23 Jul 2019 03:31:38 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00089.outbound.protection.outlook.com [40.107.0.89]) by dpdk.org (Postfix) with ESMTP id 32F811BED6 for ; Tue, 23 Jul 2019 03:31:37 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E/8rtJq5FF+r7EKbfquBC1apbWe5CE+coigB6UUPo6QVtTmEmZc6vDyb8YEGBscdvJtfFSUqzNxvGox+++wwYrfSewWV/NB3b8GwyfzKAHGvyELEfK7EMv4Af4pYoLwS9h0VGJxHtNhgGDXUw/b/IAJi+fpoS/YJSvQsNu9DW5Cex56ocWd+E4RPmKO7cvm1SSHq5ZLzCrKr4yq5DETVXRWI+i8q+DnlSgvkBihA4qYkOU1JVcvV+QxSO+7KFRT5jBngs4UUFOexPB9YYmUse0F1YwhzDx4xZlQBB6jeT3u1gvg/7EqZYNPLiv8O5jmr6b8RarFzNFhYqV+6++71jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cxi7lqBvlFRIsuXFaI7KVMHY+NwMAHSzzDEi7eK/qO4=; b=ZSdlYznCBR1lkmQOGvF4DdBrZG5RFjv4MtYBJGSe+ZZ7PQh/KcujAc4N1M/Aq9axuxKjCKU5oPyUG33SvZyu2oRj5qZ5MEAnfab8N6QcNBR2Gq4pp/vPc5/dlKxy4XGGkLGMGvBeNkdyO6q1IK6czKSENsB5r4N2/I7xl1zux0XEY87q9vToRk0nzKhDrCxK7gVDAGiOnvv/wBonTqcvZ4OxKJLtRf9edt9VGoBuFZ2LoM7oBFM3UE+ZHYwU0ou6mdhrZp4fkLRlc7DZZP+3z2/SPFETDWCJ9mf7moQR9G/o8CSV9Ul505Nynod4XC/oNt5+ngVFCV/qYv6Hq+KDZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=mellanox.com;dmarc=pass action=none header.from=mellanox.com;dkim=pass header.d=mellanox.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cxi7lqBvlFRIsuXFaI7KVMHY+NwMAHSzzDEi7eK/qO4=; b=VPVgVGX25Zn2YEaswt+lsFdRK6lPPzIAd5jo+h4ZzEqxezqLov/mewtIb5NaO+yQYvPOcTOrqFiZdTQj/92e9RYGCA5glsV5TA/AItUGdV6jXKGvs1RHRvLJOCQB/svsK5Mw37ikFTurZW9khTfDZFppxu4akuUWko0icnBGalI= Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com (52.134.72.27) by DB3PR0502MB4025.eurprd05.prod.outlook.com (52.134.68.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.15; Tue, 23 Jul 2019 01:31:36 +0000 Received: from DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::69c1:c0d7:1fa1:f89f]) by DB3PR0502MB3980.eurprd05.prod.outlook.com ([fe80::69c1:c0d7:1fa1:f89f%6]) with mapi id 15.20.2094.013; Tue, 23 Jul 2019 01:31:36 +0000 From: Yongseok Koh To: "Rybalchenko, Kirill" CC: "stable@dpdk.org" Thread-Topic: [dpdk-stable][PATCH 17.11] test/virtual_pmd: add MAC address setting fake op Thread-Index: AdU+EHMkUlLaAYhWTwCvKFWvE5WVRAC5eo6A Date: Tue, 23 Jul 2019 01:31:36 +0000 Message-ID: References: <696B43C21188DF4F9C9091AAE4789B8260FFEB48@IRSMSX108.ger.corp.intel.com> In-Reply-To: <696B43C21188DF4F9C9091AAE4789B8260FFEB48@IRSMSX108.ger.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; x-originating-ip: [209.116.155.178] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4b6da2ee-4260-4d65-2e78-08d70f0d809c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:DB3PR0502MB4025; x-ms-traffictypediagnostic: DB3PR0502MB4025: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:115; x-forefront-prvs: 0107098B6C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(136003)(366004)(346002)(396003)(376002)(199004)(189003)(66946007)(66446008)(76116006)(86362001)(64756008)(53936002)(5660300002)(66556008)(91956017)(6246003)(81166006)(36756003)(4326008)(8936002)(81156014)(66476007)(68736007)(14444005)(66066001)(6436002)(71200400001)(71190400001)(6512007)(33656002)(478600001)(486006)(25786009)(6916009)(229853002)(99286004)(256004)(8676002)(316002)(14454004)(6486002)(6116002)(76176011)(3846002)(2906002)(53546011)(6506007)(7736002)(26005)(305945005)(186003)(102836004)(446003)(476003)(11346002)(2616005); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0502MB4025; H:DB3PR0502MB3980.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: YyCrBEH8yE5itGdMAg1QkBbSyG7rMwusxaVGlqUqRPZcvfEJYurMA7my3T5nJSqVLQTm7Jg1aNhrOZAal2FWX+wwMrw9Aj99ubvKz4V2+8HBKSX4g/wj8dib1njXP0SyQglobZaVA0l8XgVlWCwm9rU0hAr9tRr0TQwTsXTbM2NBpfywhUuP7y9GWcmmUcJrPRZtxnMyRlcTLjE6VpMFiU9CCOjNz7fxafZ7UuHwEuraW4IDzuHtYOGSe8kcRTLTpDmx16a3t8nSzSToWFYtAHEPt4r/+ZDtVX6VY58JbdFDW2vtA7i0DypeDKFpxPCfULx03D7vYPCcxxxOKHNPo1KtmjIIhGj1RK+o3+o5YxlJeJw2EFN41aDYYqli8gEo4SkMnhYkr1kowol8d63H/GxwEbh+mBqKWDEWhYQpg1U= Content-Type: text/plain; charset="us-ascii" Content-ID: <6CD88C19DD1FC842B5FB19F44EC0559D@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4b6da2ee-4260-4d65-2e78-08d70f0d809c X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2019 01:31:36.1376 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: yskoh@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0502MB4025 Subject: Re: [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" > On Jul 19, 2019, at 2:01 AM, Rybalchenko, Kirill wrote: >=20 > From: Radu Nicolau >=20 > [ backported from upstream commit c23fc36284e26fca9b52641118ad76a4da99d7a= f] >=20 > Needed if used with net/bonding >=20 > Signed-off-by: Radu Nicolau > Reviewed-by: Ferruh Yigit > --- This has been cherry-picked from the upstream commit. Thanks, Yongseok > test/test/virtual_pmd.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) >=20 > 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_unu= sed) > {} >=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_defa= ult_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 >=20 > <0001-test-virtual_pmd-add-set-MAC-address-dev-op.patch>