From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0062.outbound.protection.outlook.com [104.47.42.62]) by dpdk.org (Postfix) with ESMTP id 20C172B93 for ; Thu, 2 Mar 2017 12:35:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=dcH1yc81J9f2lLF5krOzmqgHclBm1OYlXYOooC938ZQ=; b=ZR2EP0e8Yi3tY90GqM0pqURT85+idULSkZB/p6h/vroEBYCiHxSFQySxlw5qBTyiwv+qSjSKXnh5teBEAYuwiO5WsD0TCzSTG7ZbhafAYH0jLNYsq8BHg8CHuf9uKDne6vYB4k4b8yDPU3bw7GNAXKxDHuuCyAgqfjpWDIGXVdw= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from lio357.in.caveonetworks.com (14.140.2.178) by CY1PR07MB2277.namprd07.prod.outlook.com (10.164.112.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.12; Thu, 2 Mar 2017 11:35:35 +0000 From: Shijith Thotton To: ferruh.yigit@intel.com Cc: dev@dpdk.org, stephen@networkplumber.org Date: Thu, 2 Mar 2017 17:02:05 +0530 Message-Id: <1488454371-3342-1-git-send-email-shijith.thotton@caviumnetworks.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1487669225-30091-1-git-send-email-shijith.thotton@caviumnetworks.com> References: <1487669225-30091-1-git-send-email-shijith.thotton@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: BM1PR01CA0021.INDPRD01.PROD.OUTLOOK.COM (10.163.198.156) To CY1PR07MB2277.namprd07.prod.outlook.com (10.164.112.155) X-MS-Office365-Filtering-Correlation-Id: 62527fec-78e9-4765-43f9-08d461603fc0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CY1PR07MB2277; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2277; 3:LzUGLxQOWs6ulYNxjR7kqyrdAxKRopsQzMN8XqrBrSAswymOF7OkfqoWu8a25Sm8MwDQfCImEgzk2N0HjnqitAozN1OoO9av1pWpbWEkICM5Rszf3Z2ZGdmbzgavguD6vTcWslYLrCg0HAjZYi7rJe5a9eChaq3cqFEadgIuGO7zLeuH8MI7celeGEZBepqdfJGgfo5pUdO3ZjgPCaS/4TGvtI/nLf0Z1IhmyyG/i6wl4DiZnkPfUjORGr07OPicUGYfqzEQuVfgLjcu2x2fqw==; 25:DgwrN15M4ufVF0KuehCPzMWPVha5Dub6I1RWPWDz8U/C+g9Bei5TCLM5jzqNyULxtjDAb6xX2m23ZaJ72q7WQIcoTXcpcyycbl6DVimTse3bhoMjuzMx+Gq8Qxu/38STE6+/IIwDg+F6KUU9OqwxRh9QWnVH2KFnrWmnuFyyTMxTTsu7gGh2aY3QppV3LbljfK8MGlsyCfD4WhatyPS/8H/fBKCQhGrTM3WcL570oIBVq8wTfPox4rYgsTB8FLPpA+aJiq72PWTqx094HxJOX+sq9H2lB2pTaNKPoTALCOuJZM7Sn7RCm8hpLy16u6NUqj3cvG2RGRr/lOuqZZFL+8ksNWcXFuM/1xdivhoIMOoLsF6Y8B/WY+/N+PfI35jzDy86zOwi34ALf6kzp5y4ZJZE3lRqFvCi7z0ZhUZbIiO6K+4XAJhdSAUKR8/vmNhjsEIgsJfn2Vce61xq3WcuTw== X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2277; 31:FEGgUt0OZN4wfR51oYHJlNfH22l12aMOHo95ktA3GbwMj5+sZVx9Xk/6St/sb/o42roI8AJoWDt/siw5P8OHd/ZhDTR9pBlbsiBXIkjmGFSF1lsqKJN27E54g/AzpZC8KanRWGidDhcthGC0jMT9spZYQuV19ZOw1nRtPbR+LW9HTNatg2Iso1ixzCWk5zuH+acCmo5nbGCuetDLDyVgvdcxIjTNA1YUzr+KqswAUfDRbGxUyNoKKhGhwC8LmR79; 20:ysM2JSU6OTuwTjwIlYCOdMDf95P1nXVvg7Hf0ELnH8Ml77NTEwQBrEX5FiunyJOPyhhlO6uAKc/UkG58AWqtCv/DG2E4dzBGeEAD30zzklq7eEoDaaYkV4brS9GcqZYFHRVi26bh+PXQO2TIp5jiUORtBP7ZJYz77zxS958+hk7sccOO40ifmGGgIsC10IzDKB57uPBUfnx88Z174jfCpYYWu/BMvHO183ovMxv1bsr4taGdYf39o/Q5TsKhs6LkTzFRLiSm2WLzHKWIpsVmUczatcsvg5bAIxMFi5D0K5VUWxf9QudKmdqlqJBOFg2+7cmIYWspRSMBhHQXPzoa7ImfihmNcx0btCccXXAZpM/46FUTcstgL8PKqwT+XjehfXCBa0h8KfhqpqBCHxRTY6rr54/e7en6fwqx9sI7uZjN4v/JhnZKh9VAEMI1ATT6n5sygMfSb08Rhugv47lWDQCT/12Gex6SI30TnAIg+htxwsjVUTA7FVTnBA26oG49V9TpBi/juFfydQKWaVfILfvf2xCTEcnHo1tA1QLnd0mNm73GHhiC/QR5eCBmxTO+J398cx57fUMaJ1tQQ8GwQgb59HIMcuCl5oNtvdBdIkE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6041248)(20161123558025)(20161123555025)(20161123560025)(20161123564025)(20161123562025)(6072148); SRVR:CY1PR07MB2277; BCL:0; PCL:0; RULEID:; SRVR:CY1PR07MB2277; X-Microsoft-Exchange-Diagnostics: 1; CY1PR07MB2277; 4:wOw7CX1C+fXFRjFJigxJxLf93t98YOmKWGzSJ7MxYNT14A60/onPdAosxayipef+SCzAJn4MwbFhZLcwuBpj1macqbyznFhgs8Na6MRkNP7Pj9XcwjIbfeEIaX4k8foj/TUdPHonyse75j3aGsY3mHSok18B8RxSIO/B246FqT8AYV31OjD3MxdNBShOk8vnhOZQqe+L4eHLD6TuvKyyrN+zaNFPQWZL2QsyiTazSUfcUeqaIZ0Kk12ggy5oko3sUgc1TqZcl7B+I0CtwSnRav2dHbmsh+4dN5F4tiobQfIM6b1BoxJqoH2AAdzZyDLDyT5crFl+Li0HOU/NuI+cnJQzoQupCX0L+mBBmoqrRUi5hWNXQnSce42lK0IPvOBAHkYx+nx0DcrgKRyOSbcxZBZOziejJuDB/0sKVRAop5XllzGi0xCrr9JXdcvAp82HzwhczErOQo7XldJqVZCrUKe9cjsJJ8FBq7mje9fFZrdOqJopSfMA32doD3qKZ5pGJDX7MsGri3cOMIW66hyyyDZD6jkvwmBg3Aul+mu8u8GKbtde4s+zmuf1QuYolZnwXtdmS1QNdFQVE9lhmNc79rMJ4fG+0/026tDxIfvwPZAuYig8HSBIvIOrDuD8nmGJR99KJRm3WYcj1PAzYySsdw== X-Forefront-PRVS: 023495660C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(2950100002)(6916009)(42882006)(5660300001)(92566002)(4720700003)(33646002)(48376002)(50226002)(6666003)(2906002)(5003940100001)(36756003)(8676002)(50466002)(81166006)(53376002)(110136004)(38730400002)(4326008)(305945005)(2361001)(966004)(53936002)(2351001)(6306002)(25786008)(6512007)(189998001)(47776003)(6506006)(6486002)(66066001)(6116002)(3846002)(50986999)(76176999)(5009440100003)(42186005)(7736002)(7099028)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR07MB2277; H:lio357.in.caveonetworks.com; FPR:; SPF:None; MLV:nov; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR07MB2277; 23:nEOS7ZSplJQSZIal1+LokkeejV9s96vbmPRwRWnry?= =?us-ascii?Q?JsW2ZY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2277; 7:iefSpTYVqRHWfHGqoD8nTbrbZEvJAw30Ur9s9d2p1d4u4qqAoptNLMyrSfZnZQe1NeV6+4YxQhmYF96ivHzPxA7QOHWGXR4i71IA9pBsC44IxtBss9MVH9vJ+v0XfKVu4yjxx/di1aybf5zwFxJAdqeL7u2ExWumlc6hsKXYnwalJw7lW4JHynOUUFuLkYJ5CqViKDD8/gZ47DdCNs73/Jqu8wiD+BHXRnFobmL4KpL96n0bpeo0QPpnAr+0BaVexRIx7gj47kvr30QzyuOiiQJ9qK4D5i+VFeYMYtyp5jo7crXaeXwIjZ66JWMAkAfhoMq0c0YrUOyMk+DlJftviQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Mar 2017 11:35:35.8370 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2277 Subject: [dpdk-dev] [PATCH v2 00/46] LiquidIO PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 11:35:40 -0000 The patch series provides initial version of virtual function poll mode driver for Cavium LiquidIO II server adapters. This version adds support for LiquidIO II CN23XX 210SV adapters. Patch series includes driver documentation doc/guides/nics/liquidio.rst and list of supported features doc/guides/nics/features/liquidio.ini. Updated release notes to notify the addition of new PMD. v2 changes: * Restructured patches as suggested by Ferruh. - http://dpdk.org/ml/archives/dev/2017-February/058186.html * Addressed review comments on driver from Ferruh. - http://dpdk.org/ml/archives/dev/2017-February/058188.html - http://dpdk.org/ml/archives/dev/2017-February/058194.html * Modified commit logs as suggested by Ferruh. - http://dpdk.org/ml/archives/dev/2017-February/058189.html - http://dpdk.org/ml/archives/dev/2017-February/058190.html - http://dpdk.org/ml/archives/dev/2017-February/058193.html * Made changes to documentation as per review comments from John. - http://dpdk.org/ml/archives/dev/2017-February/058206.html * Fixed FreeBSD build failure. - http://dpdk.org/ml/archives/test-report/2017-February/011272.html * Updated driver documentation: - Added CN2360 under supported LiquidIO adapters. - Added CRC strip under limitations. Shijith Thotton (46): config: add liquidio PMD skeleton net/liquidio/base: hardware register definitions net/liquidio: definitions for log net/liquidio: liquidio VF PMD driver registration net/liquidio/base: macros to read and write register net/liquidio: liquidio device init net/liquidio: add API to disable IO queues net/liquidio: add API to setup IO queue registers net/liquidio: add mbox APIs for PF VF communication net/liquidio: add API to setup mbox registers net/liquidio: add API for PF VF handshake net/liquidio: add API for VF FLR net/liquidio: add APIs to allocate and free IQ net/liquidio: add API to setup IQ net/liquidio: add APIs to allocate and free SC buffer pool net/liquidio: add APIs to allocate and free soft command net/liquidio: add APIs for response list net/liquidio: add API to send packet to device net/liquidio: add API to configure device net/liquidio: add API to setup Rx queue net/liquidio: initialize Rx queue net/liquidio: add Rx data path net/liquidio: add API to release Rx queue net/liquidio: add API to setup Tx queue net/liquidio: add APIs for SG list net/liquidio: add APIs to enable and disable IO queues net/liquidio: add Tx data path for single segment net/liquidio: add Tx data path for multiple segments net/liquidio: add API to flush IQ net/liquidio: add API to release Tx queue net/liquidio: add APIs to start device and update link net/liquidio: add APIs to alloc and send control command net/liquidio: add API to control Rx net/liquidio: add RSS support net/liquidio: add API to get device info net/liquidio: add API to set MTU net/liquidio: add APIs to enable and disable multicast net/liquidio: add APIs to set link up and down net/liquidio: add API to configure UDP tunnel port net/liquidio: add support for Rx stats net/liquidio: add support for Tx stats net/liquidio: add APIs for hardware stats net/liquidio: add API to stop device net/liquidio: add API to close device net/liquidio: add API to add and remove VLAN port doc: add doc for liquidio MAINTAINERS | 7 + config/common_base | 11 + doc/guides/nics/features/liquidio.ini | 29 + doc/guides/nics/index.rst | 1 + doc/guides/nics/liquidio.rst | 280 ++++ doc/guides/rel_notes/release_17_05.rst | 3 + drivers/net/Makefile | 1 + drivers/net/liquidio/Makefile | 62 + drivers/net/liquidio/base/lio_23xx_reg.h | 194 +++ drivers/net/liquidio/base/lio_23xx_vf.c | 586 ++++++++ drivers/net/liquidio/base/lio_23xx_vf.h | 97 ++ drivers/net/liquidio/base/lio_hw_defs.h | 249 ++++ drivers/net/liquidio/base/lio_mbox.c | 275 ++++ drivers/net/liquidio/base/lio_mbox.h | 131 ++ drivers/net/liquidio/lio_ethdev.c | 2035 ++++++++++++++++++++++++++ drivers/net/liquidio/lio_ethdev.h | 204 +++ drivers/net/liquidio/lio_logs.h | 91 ++ drivers/net/liquidio/lio_rxtx.c | 1885 ++++++++++++++++++++++++ drivers/net/liquidio/lio_rxtx.h | 769 ++++++++++ drivers/net/liquidio/lio_struct.h | 689 +++++++++ drivers/net/liquidio/rte_pmd_lio_version.map | 4 + mk/rte.app.mk | 1 + 22 files changed, 7604 insertions(+) create mode 100644 doc/guides/nics/features/liquidio.ini create mode 100644 doc/guides/nics/liquidio.rst create mode 100644 drivers/net/liquidio/Makefile create mode 100644 drivers/net/liquidio/base/lio_23xx_reg.h create mode 100644 drivers/net/liquidio/base/lio_23xx_vf.c create mode 100644 drivers/net/liquidio/base/lio_23xx_vf.h create mode 100644 drivers/net/liquidio/base/lio_hw_defs.h create mode 100644 drivers/net/liquidio/base/lio_mbox.c create mode 100644 drivers/net/liquidio/base/lio_mbox.h create mode 100644 drivers/net/liquidio/lio_ethdev.c create mode 100644 drivers/net/liquidio/lio_ethdev.h create mode 100644 drivers/net/liquidio/lio_logs.h create mode 100644 drivers/net/liquidio/lio_rxtx.c create mode 100644 drivers/net/liquidio/lio_rxtx.h create mode 100644 drivers/net/liquidio/lio_struct.h create mode 100644 drivers/net/liquidio/rte_pmd_lio_version.map -- 1.8.3.1