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 8F8E0A046B for ; Tue, 23 Jul 2019 03:31:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 67BC71BEBE; Tue, 23 Jul 2019 03:31:23 +0200 (CEST) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00056.outbound.protection.outlook.com [40.107.0.56]) by dpdk.org (Postfix) with ESMTP id 3433B1BEBE for ; Tue, 23 Jul 2019 03:31:22 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k5ZRqm+UzcZIGODd2HoFPJnrpI7qnjFPb04V+bYf4Ym8PJ5XaxSwB0IqMuE8e1Yer/9r0d1ngU/l/RdFdOFwSXxC8BdwChwaiWDaDdSheVQkgMIWlPZJGGzgM+7I/RqWT4iJOxrsQM5XH+ckndS5oLPJSpAs22uoAG556/herg9H2VT3Q+ZyQH9YSHQ4ybZLpfuLoV0+ehBz8HhvE/YAIcr+oljJf9W/SpqEyxTbG/LAsIQ257MytGG7ZSTtJ4ZgolXzLRbmbed/G8yNuxb7wCOAmro3zmqrGHs/w+WTmRGfbOdqnHYaUMK5W/y9fYbPUOLivWqj59XQ09U8XYvUiA== 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=vx5mpPZXv8KxNxJ5AWce/dHBkmc2QBb+YUtBL9xhRlI=; b=BaYGyOlTbi8zk5BIhOQcSTvyE+wuQiS5ab0mWylJe2qlXJorK1aP0RA9Q+Adl7sD8DUANkpW1S9ICs29BSvdd1demYvhYDc2Wf8tNRcjCn6eG1mip+hrSNLud3i3AzqnuFaeIiWuXBbslilLFurFOxvPUcOaP6SgbYJ8E/49kVeBkPMLsDu7U2ufoqH07oi5IQJTrfFeBL/L9XfH8Fsd5GStIcLpHJGIUZcAL0RRRlSGEBZlo2dJcKHVGOOS038sThhArYxyZ+hJcQIrpzeKNJmdXbNvri6/iwF3QjzLIqmFnLOjHTZ3gfepAUF/KOND6PbzgvRwXD/jbtd0cr93hw== 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=vx5mpPZXv8KxNxJ5AWce/dHBkmc2QBb+YUtBL9xhRlI=; b=DKybg4RrI2KhpeweT/iuQoGfp5kjrPBTL4C6Beghh7AbOSGd+fulc33zsDeGn9/PrFdzIlEqRPvMQwA7GF2YrnNU++AwhFeEJsmZRKD0ldIQn3bC+PFIRa4RtTWZXdBMGeJlPLKRN+D2l5fgQXSCNV05HEaYJymGjQzgY4P3Ezw= 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:15 +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:15 +0000 From: Yongseok Koh To: "Rybalchenko, Kirill" CC: "stable@dpdk.org" Thread-Topic: [dpdk-stable][PATCH 17.11] net/null: add set MAC address dev op Thread-Index: AdU+PnVOI31e4IevSFOx5GpoSkynqgCt9uMA Date: Tue, 23 Jul 2019 01:31:14 +0000 Message-ID: References: <696B43C21188DF4F9C9091AAE4789B8260FFEE20@IRSMSX108.ger.corp.intel.com> In-Reply-To: <696B43C21188DF4F9C9091AAE4789B8260FFEE20@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: 3f637641-f817-4fc4-da66-08d70f0d73f5 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:93; 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: qzL8Td45mKN/sSfcwaOlx+z5kGjnNK37LpaZ3XYVdLx7B8qlZPCF81Ro5w4L2mHSmdehJm+Il2AQP7gAgYmGgTEtUutWriB5MA4LbpPSbMybr1ELs9e4F/LNpNGA0ntbrSBlF7XWWOuVTgLtUB3KnnybSfBdZadk3Km2rcCK2l399fXYU8o0xuIm7lqOhe8HlZprUqD8+7XsuPXFU4CDsDhXRkyi2e/RB1eEPfP30gTDlensWdOUGC+g+vK595/OGoa6gHp0NGcloiF48JRErzxVhgWL4E0QLKYSSwORI8kH0smz/US4U2QYqqww/QloDzi7VjDbcNETpbF7SVe4MYgLzT+oVL/VmzyoVBTsfu4laX8iYhFOPcxDjllgAEEGzZP6N69/rk8Oa52UnBrwtq2wW1ZzSPKus2hzxEqnrjs= Content-Type: text/plain; charset="us-ascii" Content-ID: <167EF6B082662143A4C9AEC0F26E0B35@eurprd05.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3f637641-f817-4fc4-da66-08d70f0d73f5 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2019 01:31:15.0028 (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] net/null: add set MAC address dev 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 7:36 AM, Rybalchenko, Kirill wrote: >=20 > From: Radu Nicolau >=20 > [ backported from upstream commit c5ac7748fd6bfd86b6fb4432b6792733cf32c94= c] > Author: Radu Nicolau > Date: Thu Feb 1 10:47:07 2018 +0000 >=20 > net/null: add MAC address setting fake operation >=20 > Needed if used with net/bonding >=20 > Signed-off-by: Radu Nicolau > Reviewed-by: Ferruh Yigit >=20 > --- This has been cherry-picked from the upstream commit. Thanks, Yongseok > drivers/net/null/rte_eth_null.c | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > diff --git a/drivers/net/null/rte_eth_null.c b/drivers/net/null/rte_eth_n= ull.c > index 7a5f125..bdf16f3 100644 > --- a/drivers/net/null/rte_eth_null.c > +++ b/drivers/net/null/rte_eth_null.c > @@ -456,6 +456,12 @@ eth_rss_hash_conf_get(struct rte_eth_dev *dev, > return 0; > } >=20 > +static void > +eth_mac_address_set(__rte_unused struct rte_eth_dev *dev, > + __rte_unused struct ether_addr *addr) > +{ > +} > + > static const struct eth_dev_ops ops =3D { > .dev_start =3D eth_dev_start, > .dev_stop =3D eth_dev_stop, > @@ -466,6 +472,7 @@ static const struct eth_dev_ops ops =3D { > .rx_queue_release =3D eth_queue_release, > .tx_queue_release =3D eth_queue_release, > .link_update =3D eth_link_update, > + .mac_addr_set =3D eth_mac_address_set, > .stats_get =3D eth_stats_get, > .stats_reset =3D eth_stats_reset, > .reta_update =3D eth_rss_reta_update, > --=20 > 2.7.4 > <0001-net-null-add-set-MAC-address-dev-op.patch>