Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/60102/?format=api
http://patches.dpdk.org/api/patches/60102/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1569753029-167168-2-git-send-email-simei.su@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": "<1569753029-167168-2-git-send-email-simei.su@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1569753029-167168-2-git-send-email-simei.su@intel.com", "date": "2019-09-29T10:30:28", "name": "[v5,1/2] net/ice: add RSS configuration for gtpu/pppoe", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "bca586383aa7e136f6ca8879d5a6be7a4b6856e6", "submitter": { "id": 1298, "url": "http://patches.dpdk.org/api/people/1298/?format=api", "name": "Simei Su", "email": "simei.su@intel.com" }, "delegate": { "id": 31221, "url": "http://patches.dpdk.org/api/users/31221/?format=api", "username": "yexl", "first_name": "xiaolong", "last_name": "ye", "email": "xiaolong.ye@intel.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1569753029-167168-2-git-send-email-simei.su@intel.com/mbox/", "series": [ { "id": 6605, "url": "http://patches.dpdk.org/api/series/6605/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=6605", "date": "2019-09-29T10:30:27", "name": "net/ice: enable advanced RSS", "version": 5, "mbox": "http://patches.dpdk.org/series/6605/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/60102/comments/", "check": "fail", "checks": "http://patches.dpdk.org/api/patches/60102/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EEA0C343C;\n\tSun, 29 Sep 2019 12:30:43 +0200 (CEST)", "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n\tby dpdk.org (Postfix) with ESMTP id 68BDF235\n\tfor <dev@dpdk.org>; Sun, 29 Sep 2019 12:30:36 +0200 (CEST)", "from orsmga006.jf.intel.com ([10.7.209.51])\n\tby orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t29 Sep 2019 03:30:35 -0700", "from npg-dpdk-cvl-simeisu-118d193.sh.intel.com ([10.67.110.183])\n\tby orsmga006.jf.intel.com with ESMTP; 29 Sep 2019 03:30:34 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.64,562,1559545200\"; d=\"scan'208\";a=\"195009837\"", "From": "Simei Su <simei.su@intel.com>", "To": "qi.z.zhang@intel.com, beilei.xing@intel.com, qiming.yang@intel.com,\n\txiaolong.ye@intel.com", "Cc": "dev@dpdk.org,\n\tsimei.su@intel.com", "Date": "Sun, 29 Sep 2019 18:30:28 +0800", "Message-Id": "<1569753029-167168-2-git-send-email-simei.su@intel.com>", "X-Mailer": "git-send-email 1.8.3.1", "In-Reply-To": "<1569753029-167168-1-git-send-email-simei.su@intel.com>", "References": "<1569578016-182725-1-git-send-email-simei.su@intel.com>\n\t<1569753029-167168-1-git-send-email-simei.su@intel.com>", "Subject": "[dpdk-dev] [PATCH v5 1/2] net/ice: add RSS configuration for\n\tgtpu/pppoe", "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "This patch adds rss support for gtpu with input set teid and\npppoe/pppod with input set source mac and session id.\n\nSigned-off-by: Simei Su <simei.su@intel.com>\n---\n drivers/net/ice/ice_ethdev.c | 17 +++++++++++++++++\n 1 file changed, 17 insertions(+)", "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex 3abdaff..7570197 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -2274,6 +2274,23 @@ static int ice_init_rss(struct ice_pf *pf)\n \t\tPMD_DRV_LOG(ERR, \"%s SCTP_IPV4 rss flow fail %d\",\n \t\t\t\t__func__, ret);\n \n+\t/* configure RSS for gtpu with input set TEID */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_FLOW_HASH_GTP_U_IPV4_TEID,\n+\t\t\t\tICE_FLOW_SEG_HDR_GTPU_IP, 0);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s GTPU_TEID rss flow fail %d\",\n+\t\t\t\t__func__, ret);\n+\n+\t/**\n+\t * configure RSS for pppoe/pppod with input set\n+\t * Source MAC and Session ID\n+\t */\n+\tret = ice_add_rss_cfg(hw, vsi->idx, ICE_FLOW_HASH_PPPOE_SESS_ID_ETH,\n+\t\t\t\tICE_FLOW_SEG_HDR_PPPOE, 0);\n+\tif (ret)\n+\t\tPMD_DRV_LOG(ERR, \"%s PPPoE/PPPoD_SessionID rss flow fail %d\",\n+\t\t\t\t__func__, ret);\n+\n \treturn 0;\n }\n \n", "prefixes": [ "v5", "1/2" ] }{ "id": 60102, "url": "