Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/4579/?format=api
https://patches.dpdk.org/api/patches/4579/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1430406219-23901-29-git-send-email-helin.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": "<1430406219-23901-29-git-send-email-helin.zhang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1430406219-23901-29-git-send-email-helin.zhang@intel.com", "date": "2015-04-30T15:03:34", "name": "[dpdk-dev,v2,28/33] i40e/base: support for iSCSI capability", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "02358f488df5052af26c6b4fffeb92076b3dd099", "submitter": { "id": 14, "url": "https://patches.dpdk.org/api/people/14/?format=api", "name": "Zhang, Helin", "email": "helin.zhang@intel.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1430406219-23901-29-git-send-email-helin.zhang@intel.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/4579/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/4579/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 AF0F9CCCA;\n\tThu, 30 Apr 2015 17:05:31 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id B0E2CCC96\n\tfor <dev@dpdk.org>; Thu, 30 Apr 2015 17:05:26 +0200 (CEST)", "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga102.jf.intel.com with ESMTP; 30 Apr 2015 08:04:51 -0700", "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga002.jf.intel.com with ESMTP; 30 Apr 2015 08:04:51 -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 t3UF4kOq030059;\n\tThu, 30 Apr 2015 23:04:46 +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 t3UF4hMB024133; Thu, 30 Apr 2015 23:04:45 +0800", "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t3UF4gT3024129; \n\tThu, 30 Apr 2015 23:04:42 +0800" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.11,677,1422950400\"; d=\"scan'208\";a=\"721666283\"", "From": "Helin Zhang <helin.zhang@intel.com>", "To": "dev@dpdk.org", "Date": "Thu, 30 Apr 2015 23:03:34 +0800", "Message-Id": "<1430406219-23901-29-git-send-email-helin.zhang@intel.com>", "X-Mailer": "git-send-email 1.7.4.1", "In-Reply-To": "<1430406219-23901-1-git-send-email-helin.zhang@intel.com>", "References": "<1429518150-28098-1-git-send-email-helin.zhang@intel.com>\n\t<1430406219-23901-1-git-send-email-helin.zhang@intel.com>", "Cc": "monica.kenguva@intel.com, steven.j.murray@intel.com,\n\tshannon.nelson@intel.com", "Subject": "[dpdk-dev] [PATCH v2 28/33] i40e/base: support for iSCSI capability", "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": "Add parsing and reporting of iSCSI capability for a given device\nor function.\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\n---\n lib/librte_pmd_i40e/i40e/i40e_common.c | 5 +++++\n lib/librte_pmd_i40e/i40e/i40e_type.h | 1 +\n 2 files changed, 6 insertions(+)", "diff": "diff --git a/lib/librte_pmd_i40e/i40e/i40e_common.c b/lib/librte_pmd_i40e/i40e/i40e_common.c\nindex e8dce8a..4881403 100644\n--- a/lib/librte_pmd_i40e/i40e/i40e_common.c\n+++ b/lib/librte_pmd_i40e/i40e/i40e_common.c\n@@ -2805,6 +2805,7 @@ i40e_aq_erase_nvm_exit:\n #define I40E_DEV_FUNC_CAP_VSI\t\t0x17\n #define I40E_DEV_FUNC_CAP_DCB\t\t0x18\n #define I40E_DEV_FUNC_CAP_FCOE\t\t0x21\n+#define I40E_DEV_FUNC_CAP_ISCSI\t\t0x22\n #define I40E_DEV_FUNC_CAP_RSS\t\t0x40\n #define I40E_DEV_FUNC_CAP_RX_QUEUES\t0x41\n #define I40E_DEV_FUNC_CAP_TX_QUEUES\t0x42\n@@ -2904,6 +2905,10 @@ STATIC void i40e_parse_discover_capabilities(struct i40e_hw *hw, void *buff,\n \t\t\tif (number == 1)\n \t\t\t\tp->fcoe = true;\n \t\t\tbreak;\n+\t\tcase I40E_DEV_FUNC_CAP_ISCSI:\n+\t\t\tif (number == 1)\n+\t\t\t\tp->iscsi = true;\n+\t\t\tbreak;\n \t\tcase I40E_DEV_FUNC_CAP_RSS:\n \t\t\tp->rss = true;\n \t\t\tp->rss_table_size = number;\ndiff --git a/lib/librte_pmd_i40e/i40e/i40e_type.h b/lib/librte_pmd_i40e/i40e/i40e_type.h\nindex 5cca7f8..5e65e19 100644\n--- a/lib/librte_pmd_i40e/i40e/i40e_type.h\n+++ b/lib/librte_pmd_i40e/i40e/i40e_type.h\n@@ -289,6 +289,7 @@ struct i40e_hw_capabilities {\n \tbool evb_802_1_qbh; /* Bridge Port Extension */\n \tbool dcb;\n \tbool fcoe;\n+\tbool iscsi; /* Indicates iSCSI enabled */\n \tbool mfp_mode_1;\n \tbool mgmt_cem;\n \tbool ieee_1588;\n", "prefixes": [ "dpdk-dev", "v2", "28/33" ] }{ "id": 4579, "url": "