Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/109651/?format=api
https://patches.dpdk.org/api/patches/109651/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220413160932.2074781-20-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": "<20220413160932.2074781-20-kevinx.liu@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220413160932.2074781-20-kevinx.liu@intel.com", "date": "2022-04-13T16:09:18", "name": "[v2,19/33] net/ice: support new patterns of TCP and UDP", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "858a915e72e22e676809855ca3aa7715e8830f21", "submitter": { "id": 2440, "url": "https://patches.dpdk.org/api/people/2440/?format=api", "name": "Kevin Liu", "email": "kevinx.liu@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220413160932.2074781-20-kevinx.liu@intel.com/mbox/", "series": [ { "id": 22497, "url": "https://patches.dpdk.org/api/series/22497/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22497", "date": "2022-04-13T16:08:59", "name": "support full function of DCF", "version": 2, "mbox": "https://patches.dpdk.org/series/22497/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/109651/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/109651/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 13801A0508;\n\tWed, 13 Apr 2022 10:12:47 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 27BAA42838;\n\tWed, 13 Apr 2022 10:11:35 +0200 (CEST)", "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n by mails.dpdk.org (Postfix) with ESMTP id 5164542811\n for <dev@dpdk.org>; Wed, 13 Apr 2022 10:11:33 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2022 01:11:32 -0700", "from intel-cd-odc-kevin.cd.intel.com ([10.240.178.195])\n by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 13 Apr 2022 01:11:30 -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=1649837493; x=1681373493;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=rPki7LM4lZ8ZSBqMaBam3rsY2yYXGCMWtpr8cL4jZuU=;\n b=ICPs4WnomQnZMFxO6zpmAHgIhLGcdZ/gvlWlVI7CN8T14mLgniDBXdu1\n Q5RywOiYgftxNQmohGVE9dJUFqKp6xz+GqIlvFmuhEQo5WPAsFaGVXXV4\n Q5aq5RPQNfM4YVYLg2ELZTjYwpf9O4GxTK6ZOkVqqfXAT+vv0hJbzmN1M\n 0jwrYlmWlM6nURGTc/8qIImfrfE5n4GwbXDBKt848s2eeetIY3xyOp3bu\n 2UMXLU2gzpCW2FCNn8M3sZoBW63B/8fFsYLPRz31VukszVJ4I65wapyq/\n H1SH8p8LLK1UNPKJw8Ehxhl9YkcjApW2PQFaHkApYhQAv9uqAtYpeDK7v Q==;", "X-IronPort-AV": [ "E=McAfee;i=\"6400,9594,10315\"; a=\"287630056\"", "E=Sophos;i=\"5.90,256,1643702400\"; d=\"scan'208\";a=\"287630056\"", "E=Sophos;i=\"5.90,256,1643702400\"; d=\"scan'208\";a=\"526847734\"" ], "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 v2 19/33] net/ice: support new patterns of TCP and UDP", "Date": "Wed, 13 Apr 2022 16:09:18 +0000", "Message-Id": "<20220413160932.2074781-20-kevinx.liu@intel.com>", "X-Mailer": "git-send-email 2.33.1", "In-Reply-To": "<20220413160932.2074781-1-kevinx.liu@intel.com>", "References": "<20220407105706.18889-1-kevinx.liu@intel.com>\n <20220413160932.2074781-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\nAdd definitions and pattern entries 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/ice_switch_filter.c | 6 ++++++\n 1 file changed, 6 insertions(+)", "diff": "diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c\nindex a8cb70ee0c..44046f803c 100644\n--- a/drivers/net/ice/ice_switch_filter.c\n+++ b/drivers/net/ice/ice_switch_filter.c\n@@ -62,6 +62,10 @@\n \tICE_INSET_DMAC | ICE_INSET_IPV4_DST | ICE_INSET_IPV4_SRC | \\\n \tICE_INSET_IPV4_TTL | ICE_INSET_IPV4_TOS | \\\n \tICE_INSET_UDP_DST_PORT | ICE_INSET_UDP_SRC_PORT)\n+#define ICE_SW_INSET_MAC_VLAN_IPV4_TCP ( \\\n+\tICE_SW_INSET_MAC_VLAN | ICE_SW_INSET_MAC_IPV4_TCP)\n+#define ICE_SW_INSET_MAC_VLAN_IPV4_UDP ( \\\n+\tICE_SW_INSET_MAC_VLAN | ICE_SW_INSET_MAC_IPV4_UDP)\n #define ICE_SW_INSET_MAC_IPV6 ( \\\n \tICE_INSET_DMAC | ICE_INSET_IPV6_DST | ICE_INSET_IPV6_SRC | \\\n \tICE_INSET_IPV6_TC | ICE_INSET_IPV6_HOP_LIMIT | \\\n@@ -234,6 +238,8 @@ ice_pattern_match_item ice_switch_pattern_dist_list[] = {\n \t{pattern_eth_ipv4_udp,\t\t\t\tICE_SW_INSET_MAC_IPV4_UDP,\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n \t{pattern_eth_ipv4_tcp,\t\t\t\tICE_SW_INSET_MAC_IPV4_TCP,\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n \t{pattern_eth_vlan_ipv4,\tICE_SW_INSET_MAC_VLAN_IPV4,\tICE_INSET_NONE,\tICE_INSET_NONE},\n+\t{pattern_eth_vlan_ipv4_tcp,\tICE_SW_INSET_MAC_VLAN_IPV4_TCP,\tICE_INSET_NONE,\tICE_INSET_NONE},\n+\t{pattern_eth_vlan_ipv4_udp,\tICE_SW_INSET_MAC_VLAN_IPV4_UDP,\tICE_INSET_NONE,\tICE_INSET_NONE},\n \t{pattern_eth_ipv6,\t\t\t\tICE_SW_INSET_MAC_IPV6,\t\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n \t{pattern_eth_ipv6_udp,\t\t\t\tICE_SW_INSET_MAC_IPV6_UDP,\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n \t{pattern_eth_ipv6_tcp,\t\t\t\tICE_SW_INSET_MAC_IPV6_TCP,\t\tICE_INSET_NONE,\t\t\t\tICE_INSET_NONE},\n", "prefixes": [ "v2", "19/33" ] }{ "id": 109651, "url": "