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 13A0142AF7; Wed, 17 May 2023 15:43:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E13AD40EE1; Wed, 17 May 2023 15:43:33 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2060.outbound.protection.outlook.com [40.107.244.60]) by mails.dpdk.org (Postfix) with ESMTP id 93CFE406B7; Wed, 17 May 2023 15:43:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ktrhjg7X6E4v3pZY0VDJIEcols97v3KlqYRZPhuPwzhrUzkhNUPRb29b6cN/w8e8of81RKNK0BwzdKXtkdeO6b47oXAqfqkOyRrKvGKA1DTyi0N7lrBeIS9pMIl1TCMDypeQUzrziPYEVmzx2qx0lfvhq1cHyU0KFYKhack37cIrp6HEDxLwKc7HVVZiaeSFREj+twenYKr2z48bvZr5vV3SoNj2GkeR8elQn7Rh+//vktAfl2MKleFmL0CyuqrsnBtZna209TT0yi63gd99qxLWxTEGKfjrnvsPJmTTgqyNuf5ghgtrvFxZEC9yG0U67moaGJW5VNBf0+CvF+BIFA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/HTMmERTuYdNMOU0e0Ezz56x7yWqb2sDnXIQsFAw0wA=; b=ai5ID4tAQRXDlTZPZBnALuMb6MNsjgzQfW4YrW7FDQP+SR/3l78erSbE9jgW8QaWKTehl2Gtc0ZVOZs2Ym80irOKCrjR8j+3/k+Ura0cFcPJXq0gzVxuDpa6dejqS3HFg+mQMY/y4UkGPqLRVnBxwNDjxNd9ADXE46r7MHqHCg367RctkM0EnfscfrKjyk5IYgzAXDfAF+1oglvvBlIjABoRJ7g1R8qtwqon/X/XTkiv/1j8qTGQ3v2fY0Ww44qgtPnSSSLzrGOZS8uYiV6YJANCMgpMskRi+zTnJrs3ZxoqyW3qba/0LNGmJKwcb+VRIHN1T38hDmueXD4UME6gfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/HTMmERTuYdNMOU0e0Ezz56x7yWqb2sDnXIQsFAw0wA=; b=0CZE1ysoqscybMKOfFQ6NOCUFLPtnFYjfhAW5an37/W4PQ2RRdKuM9BUsurQmDTWT+5WMSsGNHRIsRsk1C7cISgKwqGk/o9EcTJYxNU/qs2zoMjj5ljhjIbnAzqGXUXVD7sP5No72lUpIToJ8riRWBJlNdpZv9FTOCzBpOeNqO0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by DM4PR12MB6038.namprd12.prod.outlook.com (2603:10b6:8:ab::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.33; Wed, 17 May 2023 13:43:28 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::7957:641d:6aba:3f9a%4]) with mapi id 15.20.6387.033; Wed, 17 May 2023 13:43:28 +0000 Message-ID: <23314d12-7cec-2c0d-458b-be29fc67cd52@amd.com> Date: Wed, 17 May 2023 14:43:23 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH V8] ethdev: fix one address occupies two entries in MAC addrs Content-Language: en-US To: "lihuisong (C)" Cc: thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, liudongdong3@huawei.com, huangdaode@huawei.com, fengchengwen@huawei.com, dev@dpdk.org, "techboard@dpdk.org" References: <20221020093102.20679-1-lihuisong@huawei.com> <20230202123625.14975-1-lihuisong@huawei.com> <9fe8b055-2530-0cc3-c5fd-6672b2f569c0@huawei.com> <6d809c54-ce59-2564-3cfb-7ffe681c8a7f@huawei.com> <8bdbde41-18d0-0b01-e706-d13eed98425f@amd.com> <8a170690-7371-7a8f-c0cb-53ec9918254f@huawei.com> From: Ferruh Yigit In-Reply-To: <8a170690-7371-7a8f-c0cb-53ec9918254f@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0676.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:351::14) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DM4PR12MB6038:EE_ X-MS-Office365-Filtering-Correlation-Id: 89d0a7d9-7ef3-4750-d88d-08db56dcb206 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ha0RQMeop6p9i3XyqToQBJ++JnNcE3pYupnDo8K4Kmpoz8VQhngJ4x2GUoDs+YhEV4MNdWAO5zGzUxK/w1EKKfwnCqhbiamnTGsZZ9kRFS+UEqQd5pkrjhUa58N2K/msJFDA+1OVCSbEhoqBcEFB0QHD6SmKWYhiNxIAN3vxTRKTJKMRfBNzmDNRYtas535PYwslnpSr1S9PX3jc/fXYC16IWk9svnbPF+Brg2Et+qfyz34QQ+uINEyUj7EAcUlpnaOYMFIm098C34KXWKyDDwkaNPWItCoJhL9PJ0I7711v4HDwOBFrc5FwGPLN9rhzmQZ2h1hX00yN25hGAmS4U2d3W8G+WHRv8GK72b5+ANGdhlELO5lKXy/NgYn6HtClUu8jF0WWIfsR60faEMdsQjxwQ2J3+WMhLPgpLLiMyFb+utbrI6ddgOxczKUUZRCf6XJE0A/dFdfEC/GCKMmZgfixsRgHQkf0A9vigyNxI5ZDncfPZ3bKFqlXUXW+r2NQqv9+yuHd9wFZxnNO4hBHllcZl1IGU3IBwRXId1Oweuqc2EBGgjDg+Nh/RTc5NryB2jWuzNStMqqRbha7DbocC8jSveEaLzQereEd7wbA1vw8LYbB0QQfjbHDUQq3MwYPaeTtrNf3O9Mer8YyZ1/tOQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(136003)(366004)(346002)(376002)(39860400002)(396003)(451199021)(44832011)(5660300002)(8936002)(36756003)(83380400001)(2906002)(38100700002)(2616005)(4744005)(186003)(86362001)(31696002)(8676002)(53546011)(26005)(6506007)(6512007)(316002)(6666004)(478600001)(31686004)(66556008)(66476007)(66946007)(4326008)(6916009)(6486002)(66899021)(41300700001)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MTRpSTFFOTk1bEpsU0hlUExhM2prZXlVanNLaFFVVnM4ckFyWTFPVXhWU1pk?= =?utf-8?B?NE5ZRmw5R0RLYy95VXBJdTl3bXJhWFVVcEQ5K3pkS2lubW9lL2M1Z0FOckhW?= =?utf-8?B?ajRRdGw3MFJPN2pmVlp0WnJROENOcnVoaXJmcUEzeS80Q1ZkWDR5TndFNEtF?= =?utf-8?B?YWRCUHRmN3JUbi8z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c3dWVBSTV3aWRNMUo3NmhYQWw2RG9O?= =?utf-8?B?NThxS0wwRFgrL3hTcnp4cjRrV0lKS3RoeGd6NTdPRjdxYUk5WHh6Wm5zVld5?= =?utf-8?B?blR0eU1wemFDM29TeEhZemYwNUR0WVI0STlqMGIyVk9Scjc2TDd2VmdoNHRD?= =?utf-8?Q?gmhOfLaltnTooqSFKJu5A/NAx?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89d0a7d9-7ef3-4750-d88d-08db56dcb206 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 May 2023 13:43:28.5518 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: w/T8FnDcd2lW/Y6byP3c0py0lE9A7Z8lDB9k0O/4nGDU5ATN6hBWs0uO4Sm6IB1N X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6038 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 On 5/17/2023 12:46 PM, lihuisong (C) wrote: > > 在 2023/5/17 16:53, Ferruh Yigit 写道: >> On 5/17/2023 8:45 AM, lihuisong (C) wrote: >>> 在 2023/5/16 22:13, Ferruh Yigit 写道: >>>> On 5/16/2023 12:47 PM, lihuisong (C) wrote: >>>>> Hi Ferruh, >>>>> >>>>> There is no result on techboard. >>>>> How to deal with this problem next? >>>> +techboard for comment. >>>> >>>> >>>> Btw, what was your positioning to Bruce's suggestion, >>>> when a MAC address is in the list, fail to set it as default and >>>> enforce >>>> user do the corrective action (delete MAC explicitly etc...). >>> If a MAC address is in the list, rte_eth_dev_default_mac_addr_set >>> returns failure? >> Yes. >> In that case API can return EEXIST or similar. In this case user need to >> call 'rte_eth_dev_mac_addr_remove()' first and call >> 'rte_eth_dev_default_mac_addr_set()' again, if this is the intention. > > lgtm. > send V9 to do this? > I am happy to proceed with a v9 unless there is no objection from techboard.