Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/12972/?format=api
http://patches.dpdk.org/api/patches/12972/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1464070989-32726-14-git-send-email-helin.zhang@intel.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": "<1464070989-32726-14-git-send-email-helin.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1464070989-32726-14-git-send-email-helin.zhang@intel.com", "date": "2016-05-24T06:23:07", "name": "[dpdk-dev,v2,13/15] i40e/base: add input set mask definitions", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "be37527cc46db6e6de197b2d37b11ec108b5d7f0", "submitter": { "id": 14, "url": "http://patches.dpdk.org/api/people/14/?format=api", "name": "Zhang, Helin", "email": "helin.zhang@intel.com" }, "delegate": { "id": 10, "url": "http://patches.dpdk.org/api/users/10/?format=api", "username": "bruce", "first_name": "Bruce", "last_name": "Richardson", "email": "bruce.richardson@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1464070989-32726-14-git-send-email-helin.zhang@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/12972/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/12972/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@dpdk.org", "Delivered-To": "patchwork@dpdk.org", "Received": [ "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id BD47B68CF;\n\tTue, 24 May 2016 08:23:52 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 002373230\n\tfor <dev@dpdk.org>; Tue, 24 May 2016 08:23:44 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga104.fm.intel.com with ESMTP; 23 May 2016 23:23:45 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby fmsmga002.fm.intel.com with ESMTP; 23 May 2016 23:23:44 -0700", "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id u4O6NgX6000531;\n\tTue, 24 May 2016 14:23:42 +0800", "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid u4O6NdRX000510; Tue, 24 May 2016 14:23:41 +0800", "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u4O6NdUq000506; \n\tTue, 24 May 2016 14:23:39 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.26,359,1459839600\"; d=\"scan'208\";a=\"987406929\"", "From": "Helin Zhang <helin.zhang@intel.com>", "To": "dev@dpdk.org", "Cc": "Helin Zhang <helin.zhang@intel.com>", "Date": "Tue, 24 May 2016 14:23:07 +0800", "Message-Id": "<1464070989-32726-14-git-send-email-helin.zhang@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1464070989-32726-1-git-send-email-helin.zhang@intel.com>", "References": "<1462438424-22574-1-git-send-email-helin.zhang@intel.com>\n\t<1464070989-32726-1-git-send-email-helin.zhang@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 13/15] i40e/base: add input set mask\n\tdefinitions", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <dev.dpdk.org>", "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://dpdk.org/ml/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "It adds input set mask definitions for RSS, flow director\nand flex bytes.\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\n---\n drivers/net/i40e/base/i40e_type.h | 33 +++++++++++++++++++++++++++++++++\n 1 file changed, 33 insertions(+)", "diff": "diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e_type.h\nindex bc68b47..5349419 100644\n--- a/drivers/net/i40e/base/i40e_type.h\n+++ b/drivers/net/i40e/base/i40e_type.h\n@@ -1638,4 +1638,37 @@ struct i40e_lldp_variables {\n \n /* RSS Hash Table Size */\n #define I40E_PFQF_CTL_0_HASHLUTSIZE_512\t0x00010000\n+\n+/* INPUT SET MASK for RSS, flow director, and flexible payload */\n+#define I40E_L3_SRC_SHIFT\t\t47\n+#define I40E_L3_SRC_MASK\t\t(0x3ULL << I40E_L3_SRC_SHIFT)\n+#define I40E_L3_V6_SRC_SHIFT\t\t43\n+#define I40E_L3_V6_SRC_MASK\t\t(0xFFULL << I40E_L3_V6_SRC_SHIFT)\n+#define I40E_L3_DST_SHIFT\t\t35\n+#define I40E_L3_DST_MASK\t\t(0x3ULL << I40E_L3_DST_SHIFT)\n+#define I40E_L3_V6_DST_SHIFT\t\t35\n+#define I40E_L3_V6_DST_MASK\t\t(0xFFULL << I40E_L3_V6_DST_SHIFT)\n+#define I40E_L4_SRC_SHIFT\t\t34\n+#define I40E_L4_SRC_MASK\t\t(0x1ULL << I40E_L4_SRC_SHIFT)\n+#define I40E_L4_DST_SHIFT\t\t33\n+#define I40E_L4_DST_MASK\t\t(0x1ULL << I40E_L4_DST_SHIFT)\n+#define I40E_VERIFY_TAG_SHIFT\t\t31\n+#define I40E_VERIFY_TAG_MASK\t\t(0x3ULL << I40E_VERIFY_TAG_SHIFT)\n+\n+#define I40E_FLEX_50_SHIFT\t\t13\n+#define I40E_FLEX_50_MASK\t\t(0x1ULL << I40E_FLEX_50_SHIFT)\n+#define I40E_FLEX_51_SHIFT\t\t12\n+#define I40E_FLEX_51_MASK\t\t(0x1ULL << I40E_FLEX_51_SHIFT)\n+#define I40E_FLEX_52_SHIFT\t\t11\n+#define I40E_FLEX_52_MASK\t\t(0x1ULL << I40E_FLEX_52_SHIFT)\n+#define I40E_FLEX_53_SHIFT\t\t10\n+#define I40E_FLEX_53_MASK\t\t(0x1ULL << I40E_FLEX_53_SHIFT)\n+#define I40E_FLEX_54_SHIFT\t\t9\n+#define I40E_FLEX_54_MASK\t\t(0x1ULL << I40E_FLEX_54_SHIFT)\n+#define I40E_FLEX_55_SHIFT\t\t8\n+#define I40E_FLEX_55_MASK\t\t(0x1ULL << I40E_FLEX_55_SHIFT)\n+#define I40E_FLEX_56_SHIFT\t\t7\n+#define I40E_FLEX_56_MASK\t\t(0x1ULL << I40E_FLEX_56_SHIFT)\n+#define I40E_FLEX_57_SHIFT\t\t6\n+#define I40E_FLEX_57_MASK\t\t(0x1ULL << I40E_FLEX_57_SHIFT)\n #endif /* _I40E_TYPE_H_ */\n", "prefixes": [ "dpdk-dev", "v2", "13/15" ] }{ "id": 12972, "url": "