Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/118642/?format=api
http://patchwork.dpdk.org/api/patches/118642/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20221019165418.1970445-4-ktejasree@marvell.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20221019165418.1970445-4-ktejasree@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20221019165418.1970445-4-ktejasree@marvell.com", "date": "2022-10-19T16:54:15", "name": "[3/6] test/security: update antireplay unit test for event mode", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b99650b9d6b239ee88e941d591a17f00a8acc6e3", "submitter": { "id": 1789, "url": "http://patchwork.dpdk.org/api/people/1789/?format=api", "name": "Tejasree Kondoj", "email": "ktejasree@marvell.com" }, "delegate": { "id": 6690, "url": "http://patchwork.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20221019165418.1970445-4-ktejasree@marvell.com/mbox/", "series": [ { "id": 25316, "url": "http://patchwork.dpdk.org/api/series/25316/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=25316", "date": "2022-10-19T16:54:12", "name": "update autotest with new algorithms", "version": 1, "mbox": "http://patchwork.dpdk.org/series/25316/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/118642/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/118642/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 BDF3BA09E7;\n\tWed, 19 Oct 2022 18:54:43 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 31A5E42C2C;\n\tWed, 19 Oct 2022 18:54:36 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 3AB6742C1B\n for <dev@dpdk.org>; Wed, 19 Oct 2022 18:54:32 +0200 (CEST)", "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 29J8AnTY010348;\n Wed, 19 Oct 2022 09:54:31 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3kadg5a7bn-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 19 Oct 2022 09:54:31 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 19 Oct 2022 09:54:29 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend\n Transport; Wed, 19 Oct 2022 09:54:29 -0700", "from hyd1554.marvell.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id ADBD13F709C;\n Wed, 19 Oct 2022 09:54:27 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=V8wLROkFNnAhi2G4dfEn2TuMwE+AFLaJ3banPCPLokc=;\n b=CZZdsyqP05bqPIm5sdidPg98IA4b/bQyTAELjZ61k6L5tKqhLAxHtx2FlzTKTkEV0NBB\n UcLomFvsoJEKXVl7K7NZH7v4bZNVtjKfHSnFEodKIPsXyfbg+zMW7KS2knOpQhD93EeT\n B/HmR4WJ2KysdEzRMCDJSLeZL2GW5ZmNBo3giFC4YvzMF5S36pHwR+SiaHj2JlsVHjtX\n LykTB1YhKfSex5Nmr8RfzyJGp6+WOWo5na4tsSkP9cb+uima4bauZfGDR6Y0OlPdQ/ky\n SHtdY7i3zrJcWjRnc/a3lVFqqrV1X+KH5CizEWkbseA2fhsEZ+tCKwXWIZDn/plMV4Wf ng==", "From": "Tejasree Kondoj <ktejasree@marvell.com>", "To": "Akhil Goyal <gakhil@marvell.com>, Fan Zhang <royzhang1980@gmail.com>,\n Ciara Power <ciara.power@intel.com>", "CC": "Vidya Sagar Velumuri <vvelumuri@marvell.com>, Anoob Joseph\n <anoobj@marvell.com>, <dev@dpdk.org>", "Subject": "[PATCH 3/6] test/security: update antireplay unit test for event mode", "Date": "Wed, 19 Oct 2022 22:24:15 +0530", "Message-ID": "<20221019165418.1970445-4-ktejasree@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20221019165418.1970445-1-ktejasree@marvell.com>", "References": "<20221019165418.1970445-1-ktejasree@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "NeBkOpTqPbL0TVGXU-Joz29DUZTR5lqE", "X-Proofpoint-ORIG-GUID": "NeBkOpTqPbL0TVGXU-Joz29DUZTR5lqE", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1\n definitions=2022-10-19_09,2022-10-19_04,2022-06-22_01", "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: Vidya Sagar Velumuri <vvelumuri@marvell.com>\n\nWith event mode is enabled, send and receive packets via event dev\n\nSigned-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>\n---\n app/test/test_security_inline_proto.c | 20 ++++++++++++++------\n 1 file changed, 14 insertions(+), 6 deletions(-)", "diff": "diff --git a/app/test/test_security_inline_proto.c b/app/test/test_security_inline_proto.c\nindex feef54f538..700ed3844b 100644\n--- a/app/test/test_security_inline_proto.c\n+++ b/app/test/test_security_inline_proto.c\n@@ -1378,8 +1378,13 @@ test_ipsec_inline_proto_process_with_esn(struct ipsec_test_data td[],\n \t\t\t\t\t\ttx_pkt, NULL);\n \t\t\ttx_pkt->ol_flags |= RTE_MBUF_F_TX_SEC_OFFLOAD;\n \t\t}\n+\n \t\t/* Send packet to ethdev for inline IPsec processing. */\n-\t\tnb_sent = rte_eth_tx_burst(port_id, 0, &tx_pkt, 1);\n+\t\tif (event_mode_enabled)\n+\t\t\tnb_sent = event_tx_burst(&tx_pkt, 1);\n+\t\telse\n+\t\t\tnb_sent = rte_eth_tx_burst(port_id, 0, &tx_pkt, 1);\n+\n \t\tif (nb_sent != 1) {\n \t\t\tprintf(\"\\nUnable to TX packets\");\n \t\t\trte_pktmbuf_free(tx_pkt);\n@@ -1390,11 +1395,14 @@ test_ipsec_inline_proto_process_with_esn(struct ipsec_test_data td[],\n \t\trte_pause();\n \n \t\t/* Receive back packet on loopback interface. */\n-\t\tdo {\n-\t\t\trte_delay_ms(1);\n-\t\t\tnb_rx = rte_eth_rx_burst(port_id, 0, &rx_pkt, 1);\n-\t\t} while (nb_rx == 0);\n-\n+\t\tif (event_mode_enabled)\n+\t\t\tnb_rx = event_rx_burst(&rx_pkt, nb_sent);\n+\t\telse {\n+\t\t\tdo {\n+\t\t\t\trte_delay_ms(1);\n+\t\t\t\tnb_rx = rte_eth_rx_burst(port_id, 0, &rx_pkt, 1);\n+\t\t\t} while (nb_rx == 0);\n+\t\t}\n \t\trte_pktmbuf_adj(rx_pkt, RTE_ETHER_HDR_LEN);\n \n \t\tif (res_d != NULL)\n", "prefixes": [ "3/6" ] }{ "id": 118642, "url": "