Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/71434/?format=api
http://patches.dpdk.org/api/patches/71434/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200612132934.16488-43-somnath.kotur@broadcom.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": "<20200612132934.16488-43-somnath.kotur@broadcom.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200612132934.16488-43-somnath.kotur@broadcom.com", "date": "2020-06-12T13:29:26", "name": "[42/50] net/bnxt: fix for VF to VFR conduit", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "5f86d63c59bb791d4c8aafcb1bb69c48a314956e", "submitter": { "id": 908, "url": "http://patches.dpdk.org/api/people/908/?format=api", "name": "Somnath Kotur", "email": "somnath.kotur@broadcom.com" }, "delegate": { "id": 1766, "url": "http://patches.dpdk.org/api/users/1766/?format=api", "username": "ajitkhaparde", "first_name": "Ajit", "last_name": "Khaparde", "email": "ajit.khaparde@broadcom.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200612132934.16488-43-somnath.kotur@broadcom.com/mbox/", "series": [ { "id": 10436, "url": "http://patches.dpdk.org/api/series/10436/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10436", "date": "2020-06-12T13:28:44", "name": "add features for host-based flow management", "version": 1, "mbox": "http://patches.dpdk.org/series/10436/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/71434/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/71434/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 95221A00BE;\n\tFri, 12 Jun 2020 15:50:25 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EA8681D162;\n\tFri, 12 Jun 2020 15:35:04 +0200 (CEST)", "from relay.smtp.broadcom.com (relay.smtp.broadcom.com\n [192.19.232.149]) by dpdk.org (Postfix) with ESMTP id 0D1711D14A\n for <dev@dpdk.org>; Fri, 12 Jun 2020 15:35:01 +0200 (CEST)", "from dhcp-10-123-153-55.dhcp.broadcom.net\n (dhcp-10-123-153-55.dhcp.broadcom.net [10.123.153.55])\n by relay.smtp.broadcom.com (Postfix) with ESMTP id DB2801BD7A4;\n Fri, 12 Jun 2020 06:34:59 -0700 (PDT)" ], "DKIM-Filter": "OpenDKIM Filter v2.10.3 relay.smtp.broadcom.com DB2801BD7A4", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com;\n s=dkimrelay; t=1591968900;\n bh=iS1bBHeHjcOxo+TvdUJRZYOgRqyzQiF4jJBKqDNVAU8=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=LwkEMeFzsN4FO65+QuFMgrRly6X512eG/9TArtMGbz/bUAuHUDRxlUMXMCJ+/B26e\n SOALQbTBri5FNoHw6htyrF3hjtInobPaBuzHBnwQRRbwtDpcjMH8P/BNT8IKJaMH7C\n guLhkMan5SU3hWnbp4Vrr5Z1wQahXe/dhPI87MS8=", "From": "Somnath Kotur <somnath.kotur@broadcom.com>", "To": "dev@dpdk.org", "Cc": "ferruh.yigit@intel.com", "Date": "Fri, 12 Jun 2020 18:59:26 +0530", "Message-Id": "<20200612132934.16488-43-somnath.kotur@broadcom.com>", "X-Mailer": "git-send-email 2.10.1.613.g2cc2e70", "In-Reply-To": "<20200612132934.16488-1-somnath.kotur@broadcom.com>", "References": "<20200612132934.16488-1-somnath.kotur@broadcom.com>", "Subject": "[dpdk-dev] [PATCH 42/50] net/bnxt: fix for VF to VFR conduit", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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": "From: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>\n\nWhen VF-VFR conduits are created, a mark is added to the mark database.\nmark_flag indicates whether the mark is valid and has VFR information\n(VFR_ID bit in mark_flag). Rx path was checking for this VFR_ID bit.\nHowever, while adding the mark to the mark database, VFR_ID bit is not\nset in mark_flag.\n\nSigned-off-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>\nReviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>\nSigned-off-by: Somnath Kotur <somnath.kotur@broadcom.com>\n---\n drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c b/drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c\nindex b3527ec..b2c8c34 100644\n--- a/drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c\n+++ b/drivers/net/bnxt/tf_ulp/ulp_mark_mgr.c\n@@ -18,6 +18,8 @@\n \t\t\t\t\t\tBNXT_ULP_MARK_VALID)\n #define ULP_MARK_DB_ENTRY_IS_INVALID(mark_info) (!((mark_info)->flags &\\\n \t\t\t\t\t\t BNXT_ULP_MARK_VALID))\n+#define ULP_MARK_DB_ENTRY_SET_VFR_ID(mark_info) ((mark_info)->flags |=\\\n+\t\t\t\t\t\t BNXT_ULP_MARK_VFR_ID)\n #define ULP_MARK_DB_ENTRY_IS_VFR_ID(mark_info) ((mark_info)->flags &\\\n \t\t\t\t\t\tBNXT_ULP_MARK_VFR_ID)\n #define ULP_MARK_DB_ENTRY_IS_GLOBAL_HW_FID(mark_info) ((mark_info)->flags &\\\n@@ -263,6 +265,9 @@ ulp_mark_db_mark_add(struct bnxt_ulp_context *ctxt,\n \t\tBNXT_TF_DBG(DEBUG, \"Set LFID[0x%0x] = 0x%0x\\n\", fid, mark);\n \t\tmtbl->lfid_tbl[fid].mark_id = mark;\n \t\tULP_MARK_DB_ENTRY_SET_VALID(&mtbl->lfid_tbl[fid]);\n+\n+\t\tif (mark_flag & BNXT_ULP_MARK_VFR_ID)\n+\t\t\tULP_MARK_DB_ENTRY_SET_VFR_ID(&mtbl->lfid_tbl[fid]);\n \t}\n \n \treturn 0;\n", "prefixes": [ "42/50" ] }{ "id": 71434, "url": "