From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 848D9A034F; Wed, 31 Mar 2021 09:46:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 06B2C4069E; Wed, 31 Mar 2021 09:46:18 +0200 (CEST) Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-eopbgr770053.outbound.protection.outlook.com [40.107.77.53]) by mails.dpdk.org (Postfix) with ESMTP id 516DB40141 for ; Wed, 31 Mar 2021 09:46:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QHLcPw4x8mYgKiLvGpEiQBbJ6C5xDkw2QONmBClKUsOnHDFhzkBJAT/5mAUwpCTsZOPzlhEiKwwlja4xyXl1LWk/uYkUMxu4b1dNA/hvgObnHT8MdG76wKOpGItKkeJgV00NkixJ/5GNDbzinpus7iEiOq3EIH4lmD9H4LOZPR5TkrUmKfyjioH5Hadh/Q5lkcRlG+2t23M53Bf67LTqyuP6Dd1TuPjr1TgUmIv9Bw9P3TRSH3IIILZUr23YBRw5ADxolWPF2jh5v4sDYsZ+h7aIbv5Zhe07TepY332uVO5eUR37xdMh2Nl76yAK+okBT1Jwnhm4mcxdC7U4u2s+BQ== 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=B/M2R0t2qk/9wKqpZyjMiifOoIYoll47I52Yk2JZI7E=; b=JftYBekfkYt/HYV5vjyT5LxFTqwc4pS/4S7dOEiIZbXf3T8iDmTgWKP3Bk7bgtvKjAhjxE0hF5dGUVM4qF6ak05y1HKrClDIJo1OrP3/QHnHjyBcCvaBaq3ThvpgmgS3NqkIe3r8rZ7jvQW1ampFLqBzKUjuuIpWwTFZDH3QJ8/EGUsobqP2cNq3pYeVTpe3f1AT16FgDvNocWykHblCFRocYtRckqEi6oc/V6eBYBC8PBJ90lRXNM5Fl3JuO+Iq3KWXOpQbCxmLNGw4DrTC8GR6GCO1uTxuCI0GndbioPa9XaB6nUyu5DnAPfCdXn/ELqMEKayqQCRuTjRv6Xc3Hg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B/M2R0t2qk/9wKqpZyjMiifOoIYoll47I52Yk2JZI7E=; b=jzgVlontvrm51NH617+GL1zAFKBEYp4x/vmP2+oF9jBaWQi6ZvQ1OyteeSHCfptZlgyt642qsI4jE2FHkfl9m1V68679mxg1Efl3jbYq9B7rqICHZ3gArAEpCJHqvtMjbTsyMfQ+q/uhZr+C+4GckTeq6ik0JO1DyhZG8tdJ2uebSLVsrhCfKOj7WrAdTjyx/+CtNxhe7cO1cWUSRNFswAhLyGq+TFfUYL3P/Tm2CrDHOzTCjZDqxj/Pcc7Ca/V2WQvyIB4WsXxuO/HwhRMGCdwZXf+ozGJcWqKWoEbfX3Eo4rxSQCuD1TJ06xZ0Yc2XECPQNQr/7gw076tYX2IZKw== Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB4138.namprd12.prod.outlook.com (2603:10b6:5:220::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.25; Wed, 31 Mar 2021 07:46:15 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2%6]) with mapi id 15.20.3912.031; Wed, 31 Mar 2021 07:46:15 +0000 From: Raslan Darawsheh To: "Xueming(Steven) Li" , Slava Ovsiienko CC: "dev@dpdk.org" , "Xueming(Steven) Li" , Asaf Penso , Matan Azrad , Shahaf Shuler Thread-Topic: [dpdk-dev] [PATCH v5 7/9] net/mlx5: fix setting VF default MAC through representor Thread-Index: AQHXI9k7g8crZDj0xU21Gd+Sh7fdOqqdu+/A Date: Wed, 31 Mar 2021 07:46:14 +0000 Message-ID: References: <1608304614-13908-2-git-send-email-xuemingl@nvidia.com> <1616939297-15627-8-git-send-email-xuemingl@nvidia.com> In-Reply-To: <1616939297-15627-8-git-send-email-xuemingl@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [213.179.129.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cb92a4eb-6e93-4396-8b07-08d8f4190fe9 x-ms-traffictypediagnostic: DM6PR12MB4138: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Fvit1qwZtbkWEqalvamC2X4/OA9v9cB1IoemFfXLRZj+D1iajloOVpAcw4OPkzp1Wz4zWmgvJHvqbBGTHrRXQaxABIYttpG0bwp2BozJYO4huGumpihszx4HSB1RItQ/tyUpaaWC6lVnAUxDNLulq4e7ZbjpbfEokdKrVu6mTRW2+1xjhMxh5FS94DN7MhorRXXUgnnh3bgxTDX1nT2k6+iBkIdZ/JAWkMxBNu5coMlwRt2fbHtX8cr0jL+QBmZ3nRK0JeqbAygWY4mEexlvcSYcGYp+vk3tjUfL8oe6yTYaZCv0KIEGgQJwHQEz48Abau9ousnXYuxFwHhCcCdhkIJnVqnBGaiLsrX5kTDuffsNLrU+i/JtZN+dgTVHXOmJ3cXBYV101XWyAKfEWzV7RFsiUnmjsIUpHtNCRtxHwVlpGzc/lY1aI9m72jJfoQBC7PMkPGzimHcl3a3EYy4Sc9tistno3h4aS4aa30xI2ZUm0LUXIo6Xmz0tPiipzKxYaOyJgOlmOyOsHBG7S0wNzC41D30A/tVp6eI6+NpKhGim3wVeqNnR8PtUZn9xaJo+MxCY4IdnxIQG8oyWvnuezCgh5l0H9eejY8u6BpAOCw19GmgCkmicU8AORzC4x4RhRVq0PtiiNSO7cLfyl0Dv+fWKW+AdcPb0UWMHk/+sB9Q= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(376002)(366004)(346002)(39860400002)(478600001)(9686003)(6506007)(53546011)(52536014)(38100700001)(83380400001)(186003)(76116006)(86362001)(8676002)(71200400001)(55016002)(6636002)(2906002)(66476007)(64756008)(66946007)(66446008)(5660300002)(8936002)(316002)(7696005)(33656002)(4744005)(107886003)(26005)(110136005)(54906003)(66556008)(4326008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?etOYam1muTbWsplYlWjSIKQn3AN1WIi1aJKm2JL1r4wypaB5PiyOQi9CYC92?= =?us-ascii?Q?nmkPjnNWfA1jj/HJmBBZVXpIz4VUdezLWn7GM+CC9KAaKxQZDM9ZiRL+VT1H?= =?us-ascii?Q?G268ZBhN1/ZbuNODlJib+1L6vFklWpxfWqdv7kJMdb1XGkfXfobFPF+Lcl4t?= =?us-ascii?Q?Kd2p3cDhx9KzGh0gX5/JI4xlU/Q7gXWN/5fFr1o+JKUMjesGAzT7HEcUNSz8?= =?us-ascii?Q?U05zWpmGIl2qBSY7eKyXTxZrTbCml+XocO1neCHpTm69NvgaLRVuZsCHya7E?= =?us-ascii?Q?ToXGr+fmddWfAFdLG+kMYtXY/5h4JOqCLm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Q?AlGhahvI6P3ijiPk9vXRQFDcf5VqMpsz3WvjXL8H0QFx+XGH3802ToHmlRoG?= =?us-ascii?Q?vq97wFIGUUpyt6ic2NcweycgEaitvQf+GacOUkCTpMu+I4vP60qPDqxWdKhh?= =?us-ascii?Q?53xwN31byousQJTmqfnX9dVK?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: cb92a4eb-6e93-4396-8b07-08d8f4190fe9 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Mar 2021 07:46:15.0269 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KNqaaQYstWl1tUo97dZlYI6mnVfO6D/A5gsB+qJKMnLydLRDOPt0911tllgaYVoXoMswJACPpNxCpVIjZ4R6eQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4138 Subject: Re: [dpdk-dev] [PATCH v5 7/9] net/mlx5: fix setting VF default MAC through representor X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" Hi, > -----Original Message----- > From: dev On Behalf Of Xueming Li > Sent: Sunday, March 28, 2021 4:48 PM > To: Slava Ovsiienko > Cc: dev@dpdk.org; Xueming(Steven) Li ; Asaf Penso > ; Matan Azrad ; Shahaf Shuler > > Subject: [dpdk-dev] [PATCH v5 7/9] net/mlx5: fix setting VF default MAC > through representor >=20 > With kernel bonding, there was an error when setting VF MAC address > through representor. The Netlink api requires ifindex of owner PF, not > bonding device ifindex. >=20 > Uses owner PF ifindex to modify VF default MAC in case of bonding > device. >=20 > Fixes: c21e5facf7d2 ("net/mlx5: use bond index for netdev operations") Missing Cc: stable@dpdk.org Will be added during integration Kindest regards Raslan Darawsheh