Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/45279/?format=api
https://patches.dpdk.org/api/patches/45279/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180925023442.134705-20-qi.z.zhang@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": "<20180925023442.134705-20-qi.z.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20180925023442.134705-20-qi.z.zhang@intel.com", "date": "2018-09-25T02:34:41", "name": "[19/20] net/i40e/base: add new TR bits used for cloud filters", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "8cab5a46d346f5bf290596141edfa7421f06899a", "submitter": { "id": 504, "url": "https://patches.dpdk.org/api/people/504/?format=api", "name": "Qi Zhang", "email": "qi.z.zhang@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/20180925023442.134705-20-qi.z.zhang@intel.com/mbox/", "series": [ { "id": 1477, "url": "https://patches.dpdk.org/api/series/1477/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1477", "date": "2018-09-25T02:34:22", "name": "base code update", "version": 1, "mbox": "https://patches.dpdk.org/series/1477/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/45279/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/45279/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 B165E1B3B0;\n\tTue, 25 Sep 2018 04:34:51 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n\tby dpdk.org (Postfix) with ESMTP id 4BA581B185\n\tfor <dev@dpdk.org>; Tue, 25 Sep 2018 04:34:28 +0200 (CEST)", "from orsmga005.jf.intel.com ([10.7.209.41])\n\tby fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t24 Sep 2018 19:34:26 -0700", "from dpdk51.sh.intel.com ([10.67.110.190])\n\tby orsmga005.jf.intel.com with ESMTP; 24 Sep 2018 19:34:09 -0700" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.54,300,1534834800\"; d=\"scan'208\";a=\"259958558\"", "From": "Qi Zhang <qi.z.zhang@intel.com>", "To": "beilei.xing@intel.com", "Cc": "dev@dpdk.org, ferruh.yigit@intel.com, helin.zhang@intel.com,\n\tQi Zhang <qi.z.zhang@intel.com>,\n\tPaul M Stillwell Jr <paul.m.stillwell.jr@intel.com>,\n\tAndrey Chilikin <andrey.chilikin@intel.com>,\n\tKirill Rybalchenko <kirill.rybalchenko@intel.com>", "Date": "Tue, 25 Sep 2018 10:34:41 +0800", "Message-Id": "<20180925023442.134705-20-qi.z.zhang@intel.com>", "X-Mailer": "git-send-email 2.13.6", "In-Reply-To": "<20180925023442.134705-1-qi.z.zhang@intel.com>", "References": "<20180925023442.134705-1-qi.z.zhang@intel.com>", "Subject": "[dpdk-dev] [PATCH 19/20] net/i40e/base: add new TR bits used for\n\tcloud filters", "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": "There is a new set of TR bits that can be used when replacing\nthe cloud filters so add them in. Also added a check to make\nsure that the replace cloud filters AQ command doesn't get\nexecuted on an X722 since it is not supported there.\n\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Andrey Chilikin <andrey.chilikin@intel.com>\nSigned-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>\n---\n drivers/net/i40e/base/i40e_adminq_cmd.h | 3 ++-\n drivers/net/i40e/base/i40e_common.c | 9 +++++++++\n 2 files changed, 11 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/i40e/base/i40e_adminq_cmd.h b/drivers/net/i40e/base/i40e_adminq_cmd.h\nindex 6ff46e3b0..83062602f 100644\n--- a/drivers/net/i40e/base/i40e_adminq_cmd.h\n+++ b/drivers/net/i40e/base/i40e_adminq_cmd.h\n@@ -1554,7 +1554,8 @@ struct i40e_aqc_replace_cloud_filters_cmd {\n \tu8\told_filter_type;\n \tu8\tnew_filter_type;\n \tu8\ttr_bit;\n-\tu8\treserved[4];\n+\tu8\ttr_bit2;\n+\tu8\treserved[3];\n \t__le32 addr_high;\n \t__le32 addr_low;\n };\ndiff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c\nindex 351608453..8a98afff1 100644\n--- a/drivers/net/i40e/base/i40e_common.c\n+++ b/drivers/net/i40e/base/i40e_common.c\n@@ -5990,6 +5990,14 @@ i40e_status_code i40e_aq_replace_cloud_filters(struct i40e_hw *hw,\n \tenum i40e_status_code status = I40E_SUCCESS;\n \tint i = 0;\n \n+\t/* X722 doesn't support this command */\n+\tif (hw->mac.type == I40E_MAC_X722)\n+\t\treturn I40E_ERR_DEVICE_NOT_SUPPORTED;\n+\n+\t/* need FW version greater than 6.00 */\n+\tif (hw->aq.fw_maj_ver < 6)\n+\t\treturn I40E_NOT_SUPPORTED;\n+\n \ti40e_fill_default_direct_cmd_desc(&desc,\n \t\t\t\t\t i40e_aqc_opc_replace_cloud_filters);\n \n@@ -5999,6 +6007,7 @@ i40e_status_code i40e_aq_replace_cloud_filters(struct i40e_hw *hw,\n \tcmd->new_filter_type = filters->new_filter_type;\n \tcmd->valid_flags = filters->valid_flags;\n \tcmd->tr_bit = filters->tr_bit;\n+\tcmd->tr_bit2 = filters->tr_bit2;\n \n \tstatus = i40e_asq_send_command(hw, &desc, cmd_buf,\n \t\tsizeof(struct i40e_aqc_replace_cloud_filters_cmd_buf), NULL);\n", "prefixes": [ "19/20" ] }{ "id": 45279, "url": "