Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109374/?format=api
https://patches.dpdk.org/api/patches/109374/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220407105706.18889-23-kevinx.liu@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": "<20220407105706.18889-23-kevinx.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220407105706.18889-23-kevinx.liu@intel.com", "date": "2022-04-07T10:56:49", "name": "[22/39] net/ice/base: support new patterns of TCP and UDP", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "eaf8defb5745e159e7a2c1ef8024b1bcc9bd3606", "submitter": { "id": 2440, "url": "https://patches.dpdk.org/api/people/2440/?format=api", "name": "Kevin Liu", "email": "kevinx.liu@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/20220407105706.18889-23-kevinx.liu@intel.com/mbox/", "series": [ { "id": 22387, "url": "https://patches.dpdk.org/api/series/22387/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22387", "date": "2022-04-07T10:56:27", "name": "support full function of DCF", "version": 1, "mbox": "https://patches.dpdk.org/series/22387/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/109374/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/109374/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 B9947A0508;\n\tThu, 7 Apr 2022 05:00:17 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id DEB00428A2;\n\tThu, 7 Apr 2022 04:59:19 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 15787428A5\n for <dev@dpdk.org>; Thu, 7 Apr 2022 04:59:18 +0200 (CEST)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Apr 2022 19:59:18 -0700", "from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195])\n by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Apr 2022 19:59:16 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1649300359; x=1680836359;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=tAqQmeTbcGdnvbt9sinf9be0uX4+y/29qD1w3zzNFT4=;\n b=lA1Fhz8VZMAeNWdDwhTLoSodJO4cVwF6OO3QnQ0AqoEEiDxiVFVLEYK8\n N6LGbXOcDpKfnWuXjdkr1vK8okRBTdMVTyBSy0LDGblFEqTFolR2aMRM3\n 1cL5vOICBKGu8EaaKU4OP9RhFrPghNiyTldKS8k5evhOwjNDizVe+mPun\n QoMo8dz3Fdudc1EZHb5+bXHd6dVYYcesfrHPzpCEDZZAR2LgSDv03Iw4I\n oXlSMy1jy16LpWSEqhzxfcAGa32Sr+CJypjYxVh0z403hmiUfPhDRwJdn\n YkqjMxs/4+3XaEGuoOqxoYHlKszseoraHqIMCv2keGR0mmezNgnyTwyU0 Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10309\"; a=\"248738414\"", "E=Sophos;i=\"5.90,241,1643702400\"; d=\"scan'208\";a=\"248738414\"", "E=Sophos;i=\"5.90,241,1643702400\"; d=\"scan'208\";a=\"570850685\"" ], "From": "Kevin Liu <kevinx.liu@intel.com>", "To": "dev@dpdk.org", "Cc": "qiming.yang@intel.com, qi.z.zhang@intel.com, stevex.yang@intel.com,\n Alvin Zhang <alvinx.zhang@intel.com>, Junfeng Guo <junfeng.guo@intel.com>,\n Kevin Liu <kevinx.liu@intel.com>", "Subject": "[PATCH 22/39] net/ice/base: support new patterns of TCP and UDP", "Date": "Thu, 7 Apr 2022 10:56:49 +0000", "Message-Id": "<20220407105706.18889-23-kevinx.liu@intel.com>", "X-Mailer": "git-send-email 2.33.1", "In-Reply-To": "<20220407105706.18889-1-kevinx.liu@intel.com>", "References": "<20220407105706.18889-1-kevinx.liu@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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: Alvin Zhang <alvinx.zhang@intel.com>\n\nFind training packets for below TCP and UDP patterns:\nMAC/VLAN/IPv4/TCP\nMAC/VLAN/IPv4/UDP\n\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\nSigned-off-by: Alvin Zhang <alvinx.zhang@intel.com>\nSigned-off-by: Kevin Liu <kevinx.liu@intel.com>\n---\n drivers/net/ice/base/ice_switch.c | 12 ++++++++++++\n 1 file changed, 12 insertions(+)", "diff": "diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex e3658117fc..75cc861e93 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -8616,6 +8616,12 @@ ice_find_dummy_packet(struct ice_adv_lkup_elem *lkups, u16 lkups_cnt,\n \t}\n \n \tif (tun_type == ICE_SW_IPV4_TCP) {\n+\t\tif (vlan && tcp) {\n+\t\t\t*pkt = dummy_vlan_tcp_packet;\n+\t\t\t*pkt_len = sizeof(dummy_vlan_tcp_packet);\n+\t\t\t*offsets = dummy_vlan_tcp_packet_offsets;\n+\t\t\treturn;\n+\t\t}\n \t\t*pkt = dummy_tcp_packet;\n \t\t*pkt_len = sizeof(dummy_tcp_packet);\n \t\t*offsets = dummy_tcp_packet_offsets;\n@@ -8623,6 +8629,12 @@ ice_find_dummy_packet(struct ice_adv_lkup_elem *lkups, u16 lkups_cnt,\n \t}\n \n \tif (tun_type == ICE_SW_IPV4_UDP) {\n+\t\tif (vlan && udp) {\n+\t\t\t*pkt = dummy_vlan_udp_packet;\n+\t\t\t*pkt_len = sizeof(dummy_vlan_udp_packet);\n+\t\t\t*offsets = dummy_vlan_udp_packet_offsets;\n+\t\t\treturn;\n+\t\t}\n \t\t*pkt = dummy_udp_packet;\n \t\t*pkt_len = sizeof(dummy_udp_packet);\n \t\t*offsets = dummy_udp_packet_offsets;\n", "prefixes": [ "22/39" ] }{ "id": 109374, "url": "