Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/92313/?format=api
https://patches.dpdk.org/api/patches/92313/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20210428080452.542274-1-robinx.zhang@intel.com/", "project": { "id": 1, "url": "https://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": "<20210428080452.542274-1-robinx.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210428080452.542274-1-robinx.zhang@intel.com", "date": "2021-04-28T08:04:51", "name": "[v2,1/2] net/iavf: fix missing set primary MAC type when start port", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "a2a5bd7fb321e6de35e2f9f25657f94421da27f2", "submitter": { "id": 2004, "url": "https://patches.dpdk.org/api/people/2004/?format=api", "name": "Robin Zhang", "email": "robinx.zhang@intel.com" }, "delegate": { "id": 1540, "url": "https://patches.dpdk.org/api/users/1540/?format=api", "username": "qzhan15", "first_name": "Qi", "last_name": "Zhang", "email": "qi.z.zhang@intel.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20210428080452.542274-1-robinx.zhang@intel.com/mbox/", "series": [ { "id": 16712, "url": "https://patches.dpdk.org/api/series/16712/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=16712", "date": "2021-04-28T08:04:51", "name": "[v2,1/2] net/iavf: fix missing set primary MAC type when start port", "version": 2, "mbox": "https://patches.dpdk.org/series/16712/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/92313/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/92313/checks/", "tags": {}, "related": [], "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 362A6A0A0E;\n\tWed, 28 Apr 2021 10:13:35 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 1F90A4014E;\n\tWed, 28 Apr 2021 10:13:35 +0200 (CEST)", "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by mails.dpdk.org (Postfix) with ESMTP id 063D140147\n for <dev@dpdk.org>; Wed, 28 Apr 2021 10:13:33 +0200 (CEST)", "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Apr 2021 01:13:32 -0700", "from unknown (HELO intel-npg-odc-srv03.cd.intel.com)\n ([10.240.178.145])\n by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Apr 2021 01:13:30 -0700" ], "IronPort-SDR": [ "\n U4Xt9JGQlrCjLKggb+nD7W+sVsKGm9ccP1p7hlpfkhihDFVbfDRdGY7/HoEH60PX26gWuwZhLD\n tQ6qg4u785/Q==", "\n cIRLA5FxziueeL1sBqlD4P3pvIXXl5O4QliDa0zmYnOgmHEo6whBu/u6XHSzkCLBg2f7N2fzBf\n tor/beWYu4Ww==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,9967\"; a=\"184170012\"", "E=Sophos;i=\"5.82,257,1613462400\"; d=\"scan'208\";a=\"184170012\"", "E=Sophos;i=\"5.82,257,1613462400\"; d=\"scan'208\";a=\"465815790\"" ], "From": "Robin Zhang <robinx.zhang@intel.com>", "To": "dev@dpdk.org", "Cc": "beilei.xing@intel.com, jia.guo@intel.com, qiming.yang@intel.com,\n stevex.yang@intel.com, Robin Zhang <robinx.zhang@intel.com>", "Date": "Wed, 28 Apr 2021 08:04:51 +0000", "Message-Id": "<20210428080452.542274-1-robinx.zhang@intel.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210427092243.391908-1-robinx.zhang@intel.com>", "References": "<20210427092243.391908-1-robinx.zhang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v2 1/2] net/iavf: fix missing set primary MAC\n type when start port", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "When start port, all MAC addresses will be set. We should set the MAC\ntype of default MAC address as VIRTCHNL_ETHER_ADDR_PRIMARY.\n\nFixes: b335e7203475 (\"net/iavf: fix lack of MAC type when set MAC address\")\n\nSigned-off-by: Robin Zhang <robinx.zhang@intel.com>\n---\nv2:\n-fix commit message typo\n---\n drivers/net/iavf/iavf_vchnl.c | 4 +++-\n 1 file changed, 3 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c\nindex 0026120cf4..5d57e8b541 100644\n--- a/drivers/net/iavf/iavf_vchnl.c\n+++ b/drivers/net/iavf/iavf_vchnl.c\n@@ -1172,7 +1172,9 @@ iavf_add_del_all_mac_addr(struct iavf_adapter *adapter, bool add)\n \t\t\t\tcontinue;\n \t\t\trte_memcpy(list->list[j].addr, addr->addr_bytes,\n \t\t\t\t sizeof(addr->addr_bytes));\n-\t\t\tlist->list[j].type = VIRTCHNL_ETHER_ADDR_EXTRA;\n+\t\t\tlist->list[j].type = (j == 0 ?\n+\t\t\t\t\t VIRTCHNL_ETHER_ADDR_PRIMARY :\n+\t\t\t\t\t VIRTCHNL_ETHER_ADDR_EXTRA);\n \t\t\tPMD_DRV_LOG(DEBUG, \"add/rm mac:%x:%x:%x:%x:%x:%x\",\n \t\t\t\t addr->addr_bytes[0], addr->addr_bytes[1],\n \t\t\t\t addr->addr_bytes[2], addr->addr_bytes[3],\n", "prefixes": [ "v2", "1/2" ] }{ "id": 92313, "url": "