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 7775FA04FA; Wed, 3 Jun 2020 09:05:12 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 84A6E1C1C6; Wed, 3 Jun 2020 09:05:11 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60069.outbound.protection.outlook.com [40.107.6.69]) by dpdk.org (Postfix) with ESMTP id EC79B1C1B7 for ; Wed, 3 Jun 2020 09:05:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WX74a31CvlJpqd7LafntpJwf+XPAiBGuosPD9wvxgW7FjYCrf7GH4Nk7iPY+zYOPrRQ51qOCNtQbCggkUC5Sdi/BgJN5gWCTaAbDlnaSJUHH7wcCkKS65csub0VrIR9WREJ2PKQtVwMY3E++LPi6bQetmVW+2EaQERcffh3xP7URDeY931p306L0zSWynladVjrQTTL5mADVr5/qX3ssSp86MjlOPk2RSLJ76ZLEuQLimOAjPDmIBNAyx89DvuvE+PV83/LxeBTen9tdTbSpMXCqXiIsM3rZChsMQ9y77DIGpD0jmejT+orM1Q/RzSrUSTSEoSp7xapwfQUUAe0hPA== 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=4tV8kuKVO2O0vCVluloJvp6jpbawG8V5g7rycCKg3n0=; b=MLrB86xn+bjUkPfeHDYUzOd7s+GUEdkCL8S4886nNU1quDFDR4W7XI2rRDKY48YBfR9ZXqXC3GoCK/XEWW5VvCfcWTCt7RiqYGs8cWP2hI+IdujLxXU1PA/mXtzvCzzGgciFQvjayj+XeTUO78k2xd8rql7ohPgnWmyc27KFR0idBMMul0OHCScAK77BI3JxA+Zch1GUi2dfyfgblkenDugFHtxyeNB6+zko1/0niXXgJfF+DR6GvVj8EyAFNvYgTD+AaSR7gMoep/dXZWYCIRq45ufT8yQDHp6EHVK5Z4WzA/eARZ+myih1suDWM9FXc+/i6HeENI0Gzbb/WzB2Zw== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4tV8kuKVO2O0vCVluloJvp6jpbawG8V5g7rycCKg3n0=; b=UWmafQofYHa1t6GuWfhSxOLXuH/KLucYxkJvj8ACGaDLQPk4I2jbBZLnZA9r3G+6FDs3/2ktW4kyhVGlWXJUeGxQjiVMSsg1z9vInZ6E5WQhTSJnPDyWJz1w5nned2PMCdBX07lDZY7x18Ze6un8CNpiRplTXFNPtMeEE4cjLTc= Received: from AM0PR05MB4209.eurprd05.prod.outlook.com (2603:10a6:208:61::22) by AM0PR05MB5716.eurprd05.prod.outlook.com (2603:10a6:208:115::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19; Wed, 3 Jun 2020 07:05:07 +0000 Received: from AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::1068:89a9:41d3:b14a]) by AM0PR05MB4209.eurprd05.prod.outlook.com ([fe80::1068:89a9:41d3:b14a%3]) with mapi id 15.20.3066.018; Wed, 3 Jun 2020 07:05:07 +0000 From: Ophir Munk To: Stephen Hemminger CC: "dev@dpdk.org" , Matan Azrad Thread-Topic: [dpdk-dev] [PATCH v1 2/3] common/mlx5: move netlink files under Linux directory Thread-Index: AQHWNEHtDoBVlVhK+Ue9TaN3ypJ7xKi8IqiAgApfKtA= Date: Wed, 3 Jun 2020 07:05:07 +0000 Message-ID: References: <20200527161425.22944-1-ophirmu@mellanox.com> <20200527161425.22944-2-ophirmu@mellanox.com> <20200527094053.31ed998a@hermes.lan> In-Reply-To: <20200527094053.31ed998a@hermes.lan> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [84.229.96.229] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 11f08597-47e4-4488-3a9a-08d8078c72f3 x-ms-traffictypediagnostic: AM0PR05MB5716: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:108; x-forefront-prvs: 04238CD941 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wHfIFAudGpEG3mhjOj3KidJPr/TTg+3OUz/sIj8FF0IXDQ0/zFtHRi5JdwTrI0aaCInB7HRuiko25NaTrZKgauMo2qcbnanwAJ59GWrXYJ9I0+prsUCxocmkv9NJoIGv2/Td1IpPQsi8t4jpchrR62RvUX999S5X/wKnpBCNy0CrFK8qyyZ3Zmmu8Oq2d0L93GKcjSRS1Mhkvxy1JbVJyGlZayJZSahev9zW8x62iJTDWL+B/ClBboZDC8BnuSOJ6mOP59eu6VsFpRJ2cuGYRSMTqaM9s5bOUMAmVS0TCKYUYkIHmATDrBnR0Zj43YHr x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB4209.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(346002)(366004)(376002)(39860400002)(136003)(396003)(54906003)(71200400001)(26005)(6506007)(186003)(316002)(2906002)(33656002)(7696005)(8936002)(55016002)(53546011)(6916009)(83380400001)(86362001)(5660300002)(52536014)(76116006)(107886003)(478600001)(4326008)(8676002)(4744005)(66946007)(66556008)(64756008)(66476007)(66446008)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: wKmT3Soc4GrZtrkK4l38uhXN4g6P6/3Rmg7hQNAc6F3Fon4EvjOnm/UolZKRIo+MMgAXI1LaCHYe7pEvF20OdkN5laBcjGEO+7hEbb82w5WweUZ7orKLmr8A2roRcejv8j4cbAZaDmCEVgn1VpDKUzkbTdf+qpSP3x/cKNXLYedl+Cglsmt+MieZmh58sbLR1U+5m0bybjBA8p1sFv3X2MDyfDOo3btlMNGFPbLVPysbMgvjKW0FtxuLTeZRvrElu9CLg0GnGjjO3GJjqetnpNt4oEVGQ1koY8OrHitZN4sv7NxbrTPIMjOIwSVC5vjkeJJSh0jS956V5iBvHlbAMJtQsK+sIuE63WL5I5apgPQYD890HnW+eUtGVoV+YFAfPQQqhmxZfxFzUv8lvwgD5kf9XemCoWWqkRgpeXg6cbeQd9yugtct2O8x/JHwnHvPqffSaKfd3yt/DpIu1wPCnmB7yZJNxVQiYUckMBseSJ0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11f08597-47e4-4488-3a9a-08d8078c72f3 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2020 07:05:07.6984 (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: SyfOGrY9l83zkdTTBdxibS3mVyZOIxSG+NqMj/QnJO2QSeML1fhLq10G6q0u2N31s6i6if5ysrIxnRAJ1ZUnkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5716 Subject: Re: [dpdk-dev] [PATCH v1 2/3] common/mlx5: move netlink files under Linux directory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The suggested API rte_ether_format_addr() was added to v2 > -----Original Message----- > From: Stephen Hemminger > Sent: Wednesday, May 27, 2020 7:41 PM > To: Ophir Munk > Cc: dev@dpdk.org; Matan Azrad > Subject: Re: [dpdk-dev] [PATCH v1 2/3] common/mlx5: move netlink files > under Linux directory >=20 > On Wed, 27 May 2020 16:14:24 +0000 > Ophir Munk wrote: >=20 > > + DRV_LOG(DEBUG, > > + "Interface %u cannot %s MAC address" > > + " %02X:%02X:%02X:%02X:%02X:%02X %s", > > + iface_idx, > > + add ? "add" : "remove", > > + mac->addr_bytes[0], mac->addr_bytes[1], > > + mac->addr_bytes[2], mac->addr_bytes[3], > > + mac->addr_bytes[4], mac->addr_bytes[5], >=20 > There is a rte_ether_format_addr() for this.