Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/481463/?format=api
{ "id": 481463, "url": "http://patchwork.ozlabs.org/api/patches/481463/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1433521234-33355-3-git-send-email-catherine.sullivan@intel.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1433521234-33355-3-git-send-email-catherine.sullivan@intel.com>", "list_archive_url": null, "date": "2015-06-05T16:20:26", "name": "[net-next,S07,02/10] i40e/i40evf: Add flags for X722 capabilities", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "27aff0f29ee211e3ddf3d7f73b9792db64c92e04", "submitter": { "id": 13931, "url": "http://patchwork.ozlabs.org/api/people/13931/?format=api", "name": "Catherine Sullivan", "email": "catherine.sullivan@intel.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/1433521234-33355-3-git-send-email-catherine.sullivan@intel.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/481463/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/481463/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Received": [ "from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137])\n\tby ozlabs.org (Postfix) with ESMTP id 8E61A1402A9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 6 Jun 2015 02:18:58 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id C0117A38CD;\n\tFri, 5 Jun 2015 16:18:57 +0000 (UTC)", "from fraxinus.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id pQqKo5apqEeq; Fri, 5 Jun 2015 16:18:57 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby fraxinus.osuosl.org (Postfix) with ESMTP id 536BCA38C9;\n\tFri, 5 Jun 2015 16:18:57 +0000 (UTC)", "from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])\n\tby ash.osuosl.org (Postfix) with ESMTP id B6CBD1C1FC8\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 5 Jun 2015 16:18:55 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id B283296561\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 5 Jun 2015 16:18:55 +0000 (UTC)", "from hemlock.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id tQPRkYDapg3i for <intel-wired-lan@lists.osuosl.org>;\n\tFri, 5 Jun 2015 16:18:55 +0000 (UTC)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby hemlock.osuosl.org (Postfix) with ESMTP id 45DAC96556\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tFri, 5 Jun 2015 16:18:55 +0000 (UTC)", "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 05 Jun 2015 09:18:55 -0700", "from catheri1-tigger.jf.intel.com ([134.134.176.92])\n\tby orsmga001.jf.intel.com with ESMTP; 05 Jun 2015 09:18:56 -0700" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.13,559,1427785200\"; d=\"scan'208\";a=\"705993631\"", "From": "Catherine Sullivan <catherine.sullivan@intel.com>", "To": "intel-wired-lan@lists.osuosl.org", "Date": "Fri, 5 Jun 2015 12:20:26 -0400", "Message-Id": "<1433521234-33355-3-git-send-email-catherine.sullivan@intel.com>", "X-Mailer": "git-send-email 1.9.3", "In-Reply-To": "<1433521234-33355-1-git-send-email-catherine.sullivan@intel.com>", "References": "<1433521234-33355-1-git-send-email-catherine.sullivan@intel.com>", "Cc": "Anjali Singhai Jain <anjali.singhai@intel.com>", "Subject": "[Intel-wired-lan] [intel-wired-lan][net-next PATCH S07 02/10]\n\ti40e/i40evf: Add flags for X722 capabilities", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "From: Anjali Singhai Jain <anjali.singhai@intel.com>\n\nAdd capapbilities flags specific to X722.\n\nSigned-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>\nSigned-off-by: Catherine Sullivan <catherine.sullivan@intel.com>\n---\n drivers/net/ethernet/intel/i40e/i40e.h | 7 +++++++\n drivers/net/ethernet/intel/i40e/i40e_main.c | 8 ++++++++\n drivers/net/ethernet/intel/i40evf/i40evf.h | 5 +++++\n 3 files changed, 20 insertions(+)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h\nindex 8b4dec9..7bfb471 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e.h\n@@ -298,6 +298,7 @@ struct i40e_pf {\n #define I40E_FLAG_VMDQ_ENABLED BIT_ULL(7)\n #define I40E_FLAG_FDIR_REQUIRES_REINIT BIT_ULL(8)\n #define I40E_FLAG_NEED_LINK_UPDATE BIT_ULL(9)\n+#define I40E_FLAG_IWARP_ENABLED BIT_ULL(10)\n #ifdef I40E_FCOE\n #define I40E_FLAG_FCOE_ENABLED BIT_ULL(11)\n #endif /* I40E_FCOE */\n@@ -318,6 +319,12 @@ struct i40e_pf {\n #endif\n #define I40E_FLAG_PORT_ID_VALID BIT_ULL(28)\n #define I40E_FLAG_DCB_CAPABLE BIT_ULL(29)\n+#define I40E_FLAG_RSS_AQ_CAPABLE BIT_ULL(31)\n+#define I40E_FLAG_HW_ATR_EVICT_CAPABLE BIT_ULL(32)\n+#define I40E_FLAG_OUTER_UDP_CSUM_CAPABLE BIT_ULL(33)\n+#define I40E_FLAG_128_QP_RSS_CAPABLE BIT_ULL(34)\n+#define I40E_FLAG_WB_ON_ITR_CAPABLE BIT_ULL(35)\n+#define I40E_FLAG_MULTIPLE_TCP_UDP_RSS_PCTYPE BIT_ULL(38)\n \n \t/* tracks features that get auto disabled by errors */\n \tu64 auto_disable_flags;\ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c\nindex fdf4bd5..bb454cc 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_main.c\n+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c\n@@ -7781,6 +7781,14 @@ static int i40e_sw_init(struct i40e_pf *pf)\n \t\t\t\t\tI40E_MAX_VF_COUNT);\n \t}\n #endif /* CONFIG_PCI_IOV */\n+\tif (pf->hw.mac.type == I40E_MAC_X722) {\n+\t\tpf->flags |= I40E_FLAG_RSS_AQ_CAPABLE |\n+\t\t\t I40E_FLAG_128_QP_RSS_CAPABLE |\n+\t\t\t I40E_FLAG_HW_ATR_EVICT_CAPABLE |\n+\t\t\t I40E_FLAG_OUTER_UDP_CSUM_CAPABLE |\n+\t\t\t I40E_FLAG_WB_ON_ITR_CAPABLE |\n+\t\t\t I40E_FLAG_MULTIPLE_TCP_UDP_RSS_PCTYPE;\n+\t}\n \tpf->eeprom_version = 0xDEAD;\n \tpf->lan_veb = I40E_NO_VEB;\n \tpf->lan_vsi = I40E_NO_VSI;\ndiff --git a/drivers/net/ethernet/intel/i40evf/i40evf.h b/drivers/net/ethernet/intel/i40evf/i40evf.h\nindex b2f899c..a12f80e2 100644\n--- a/drivers/net/ethernet/intel/i40evf/i40evf.h\n+++ b/drivers/net/ethernet/intel/i40evf/i40evf.h\n@@ -218,11 +218,15 @@ struct i40evf_adapter {\n #define I40EVF_FLAG_PF_COMMS_FAILED BIT(8)\n #define I40EVF_FLAG_RESET_PENDING BIT(9)\n #define I40EVF_FLAG_RESET_NEEDED BIT(10)\n+#define I40EVF_FLAG_WB_ON_ITR_CAPABLE BIT(11)\n+#define I40EVF_FLAG_OUTER_UDP_CSUM_CAPABLE BIT(12)\n /* duplcates for common code */\n #define I40E_FLAG_FDIR_ATR_ENABLED\t\t 0\n #define I40E_FLAG_DCB_ENABLED\t\t\t 0\n #define I40E_FLAG_IN_NETPOLL\t\t\t I40EVF_FLAG_IN_NETPOLL\n #define I40E_FLAG_RX_CSUM_ENABLED I40EVF_FLAG_RX_CSUM_ENABLED\n+#define I40E_FLAG_WB_ON_ITR_CAPABLE I40EVF_FLAG_WB_ON_ITR_CAPABLE\n+#define I40E_FLAG_OUTER_UDP_CSUM_CAPABLE I40EVF_FLAG_OUTER_UDP_CSUM_CAPABLE\n \t/* flags for admin queue service task */\n \tu32 aq_required;\n #define I40EVF_FLAG_AQ_ENABLE_QUEUES\t\tBIT(0)\n@@ -234,6 +238,7 @@ struct i40evf_adapter {\n #define I40EVF_FLAG_AQ_CONFIGURE_QUEUES\t\tBIT(6)\n #define I40EVF_FLAG_AQ_MAP_VECTORS\t\tBIT(7)\n #define I40EVF_FLAG_AQ_HANDLE_RESET\t\tBIT(8)\n+#define I40EVF_FLAG_AQ_CONFIGURE_RSS\t\tBIT(9)\n #define I40EVF_FLAG_AQ_GET_CONFIG\t\tBIT(10)\n \n \t/* OS defined structs */\n", "prefixes": [ "net-next", "S07", "02/10" ] }