Cover Detail
Show a cover letter.
GET /api/covers/111142/?format=api
http://patches.dpdk.org/api/covers/111142/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/cover/20220514020049.57294-1-humin29@huawei.com/", "project": { "id": 1, "url": "http://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220514020049.57294-1-humin29@huawei.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220514020049.57294-1-humin29@huawei.com", "date": "2022-05-14T02:00:47", "name": "[V3,0/2] ethdev: fix MAC addrs list", "submitter": { "id": 1944, "url": "http://patches.dpdk.org/api/people/1944/?format=api", "name": "humin (Q)", "email": "humin29@huawei.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/cover/20220514020049.57294-1-humin29@huawei.com/mbox/", "series": [ { "id": 22933, "url": "http://patches.dpdk.org/api/series/22933/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=22933", "date": "2022-05-14T02:00:47", "name": "ethdev: fix MAC addrs list", "version": 3, "mbox": "http://patches.dpdk.org/series/22933/mbox/" } ], "comments": "http://patches.dpdk.org/api/covers/111142/comments/", "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9ABF6A00C3;\n\tSat, 14 May 2022 04:02:04 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5225542829;\n\tSat, 14 May 2022 04:01:58 +0200 (CEST)", "from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187])\n by mails.dpdk.org (Postfix) with ESMTP id 28D89410F2\n for <dev@dpdk.org>; Sat, 14 May 2022 04:01:55 +0200 (CEST)", "from kwepemi500012.china.huawei.com (unknown [172.30.72.54])\n by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4L0TJf2MbHzgYtc;\n Sat, 14 May 2022 10:01:22 +0800 (CST)", "from localhost.localdomain (10.69.192.56) by\n kwepemi500012.china.huawei.com (7.221.188.12) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id\n 15.1.2375.24; Sat, 14 May 2022 10:01:53 +0800" ], "From": "\"Min Hu (Connor)\" <humin29@huawei.com>", "To": "<dev@dpdk.org>", "CC": "<ferruh.yigit@intel.com>, <andrew.rybchenko@oktetlabs.ru>,\n <ktraynor@redhat.com>, <thomas@monjalon.net>", "Subject": "[PATCH V3 0/2] ethdev: fix MAC addrs list", "Date": "Sat, 14 May 2022 10:00:47 +0800", "Message-ID": "<20220514020049.57294-1-humin29@huawei.com>", "X-Mailer": "git-send-email 2.33.0", "In-Reply-To": "<20210922033630.41130-1-humin29@huawei.com>", "References": "<20210922033630.41130-1-humin29@huawei.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Originating-IP": "[10.69.192.56]", "X-ClientProxiedBy": "dggems706-chm.china.huawei.com (10.3.19.183) To\n kwepemi500012.china.huawei.com (7.221.188.12)", "X-CFilter-Loop": "Reflected", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "From: Huisong Li <lihuisong@huawei.com>\n\nThe index zero of rte_eth_dev_data::mac_addrs array is as the default MAC \nindex, and other indexes can't be the same as the address corresponding to\nindex 0. If we break it, may cause following problems: \n1) waste of MAC address spaces. \n2) a fake MAC address in the MAC list, isn't in hardware MAC entries. \n3) a MAC address is assigned to diffent pool.\n\nHuisong Li (2):\n ethdev: fix one address occupies two indexes in MAC addrs\n ethdev: document default and non-default MAC address\n\n--- \nv3: \n - first explicitly remove the non-default MAC, then set default one. \n - document default and non-default MAC address \n \nv2: \n - fixed commit log.\n\n lib/ethdev/ethdev_driver.h | 7 ++++++-\n lib/ethdev/rte_ethdev.c | 39 ++++++++++++++++++++++++++++++++++++--\n 2 files changed, 43 insertions(+), 3 deletions(-)" }{ "id": 111142, "url": "