From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0050.outbound.protection.outlook.com [104.47.32.50]) by dpdk.org (Postfix) with ESMTP id BC972FE5 for ; Tue, 21 Feb 2017 10:27:33 +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=0J2QziTgGrqvizWYzaEB1/VnOSNDzzTWjUi4umOhS1E=; b=jAyjiDtya0+iW5YZMT7N2zvVW/4naIyv9u5w/mKalxGyS0FO4yr5HMJNE+W9OaY5ezHVxH/+vlJ805TMef6BFoxwBlL6ueM74J0O3aR7ginyz1lYsNUW15av4HsqCyMPqZNuOt9ISJr1/Qz++Mp0QNjCCSENPkYTjzym/gNpLqI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Shijith.Thotton@cavium.com; Received: from lio357.in.caveonetworks.com (14.140.2.178) by SN1PR07MB2285.namprd07.prod.outlook.com (10.164.47.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.13; Tue, 21 Feb 2017 09:27:31 +0000 From: Shijith Thotton To: dev@dpdk.org Date: Tue, 21 Feb 2017 14:56:15 +0530 Message-Id: <1487669225-30091-1-git-send-email-shijith.thotton@caviumnetworks.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: MA1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM (10.174.56.29) To SN1PR07MB2285.namprd07.prod.outlook.com (10.164.47.155) X-MS-Office365-Filtering-Correlation-Id: 11db45d3-c048-4159-f0bd-08d45a3bdcd8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:SN1PR07MB2285; X-Microsoft-Exchange-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1HS09DyFu/120CMv2vNwwV1Eeg==; 20:H5X+Gs+FYayUpKDMYntlOpdusklDdk6eZ0G/kZLcm+lfxAJywsni5e6sxu1xzrbE2iGL+vk66F4qFhkfdzAU3ujFkrxinEfrnNmCrYuL48saHv5yy82BcebeOaIzkeFnxONUguRVe5BMlCu/MbiVho5z9wt4FVC5ARONMm9osvYRJ5/TDL6VVrt82IgP6Z6cMciuN23M6Cn8arR2zVlS0QkeJNTYFe/fNFQ0NiCpYYAG98Cs4brTqJ4mVWvSvdeZQggxmCCRfpCIycYBfNLSQOe+xsOzmb5v/ukbHUQ1K994DHzcV3pfPqlhXTgGkUbgNo9BjuY4ClAWORlr14OGD9K4YfdQvVWm0kNV81cwvXK7xyuf7ZcCyJAymtFdi/lD7G60jgSjAowcFaIbWfvCzBTGXAKEqFunMbgGzfbuyJRly2WM6U/rtZ/SU7aHCRihoET+F1OK1mTV+8sJxWrvryJCpQMV4h/tzqu9vc0PdhlmkZE1x5OgZvamSYlvB8Cnyo26eDaJqeuD1SjeZ+LVQ3CBWhCcgmOm2guC3Claw+8MYW6uXlMhxy21DAPje7obAvpszEa1T988/9Vsqxgpx1FijPTC/2Hm8WF7qpgu2ZE= 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)(3002001)(10201501046)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(20161123558025)(6072148); SRVR:SN1PR07MB2285; BCL:0; PCL:0; RULEID:; SRVR:SN1PR07MB2285; X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2285; 4:sGnqn4HqZZnhhvCVS2usssBLNOs7V6F72KI6o6YF5XiuoiQxN5yf/AekkRU+epJu7kLwEN5Qmd4SX18HJwr+HP7SqwZIUbq0I7TC24AoFUgDvIju+tL6SzrcvbUgzOZuAFFUJ+UKQMXzemsiWpipEnDuT5htWm3BURo+J8mYwcskZ52/QrnJVb/vf26OCIQwjBbpgiun5HyX2xAy2FlhwtY3AA2ZYUhueHU5esvhuYOum2ewiiFtj9dObqNZYuXBnUl1rOStnxPuOOqx7jR8P4s/ZbPBe6jnukz7dGKDXkUT75536Q60QZG9rbh8+t79zhdAmUtQ9kOtCM6+oP2ukKrgsyE9px1bFnHfXrMZlCdZruh9jUtL+xcJTX+sD0zdDqf6oItBfISbgXssKNNL11cbBKSd/UEaNZaLT2sWfqkJnowbqKk3hgykZvcedoKPN2AJ9seP5ZK7FrWdIzlfSOMZio4+47PhkdFzKO/LzPEN/M9CWw+TRNWj03I7Asjb4tsJn6xpU82bafRNLP0RNEN9mTCPJlt4kSDw27no2NVKDLQlcu1xHBJwHwIMXBSXiWY4Kfim2Gjgb2epV/FVgkv4g2sfJ/9YBwFGyx5vw+6rR/RuMrnrkGc/iG0vsvsRjPcHsf+CybjFaO1T+9KnxQ== X-Forefront-PRVS: 0225B0D5BC X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(39410400002)(39830400002)(189002)(199003)(50226002)(81166006)(42186005)(2361001)(101416001)(81156014)(305945005)(3846002)(6116002)(5009440100003)(8676002)(105586002)(7736002)(53936002)(36756003)(110136004)(106356001)(450100001)(6506006)(25786008)(38730400002)(2351001)(92566002)(48376002)(6486002)(97736004)(50466002)(5003940100001)(189998001)(68736007)(2906002)(33646002)(5660300001)(6666003)(6916009)(50986999)(6512007)(4720700003)(42882006)(66066001)(47776003)(7099028)(110426004); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR07MB2285; H:lio357.in.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR07MB2285; 23:YR4tPPclIQ6JO1xANhW4aJgZ4HC58eC8VLNA3QPdw?= =?us-ascii?Q?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OisWKDEzSKo9pkiX1KvdCS8h/R9Pmqm5X366dCdQqQckvPcUuFv33Mo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR07MB2285; 7:OMOiKqe6wJ7UH+prXYZGh/iNUa177bhirdPjHs4IyxLMP8KEDGye4uSkjbamhoT9QconN7r/RHUoWwub5JQrOrw1i1LjuT1ouDEbKIGByFhQuAgIWHZNE5gUc1koh+jkvQtqUrv9qJAP+5i+FpR4bLwurDXCZleRa/vZqpomuT+gZpg8QhcjP8UdhYcSEbC//NxXifrR+64iKRrb16QaUQ3y7xRs5Shy84DhHdC9lUT3+J8BWDwcp8SKa0gGyGnTolNDPCvIK0ZUnSEvt8CzS/QId2d/GeNyLElxApWK9j5E0lF79v7fzk8iEDkTbS7yB3e1kz92tLe43beLbv/dkA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2017 09:27:31.2732 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2285 Subject: [dpdk-dev] [PATCH 00/50] 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: Tue, 21 Feb 2017 09:27:34 -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 CN2350 210SV adapter. 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. Shijith Thotton (50): net/liquidio/base: hardware register definitions config: liquidio PMD configuration net/liquidio: added PMD version map file net/liquidio: definitions for log maintainers: claim responsibility for LiquidIO PMD net/liquidio: liquidio VF PMD Driver registration net/liquidio: added Makefile 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 VF/PF handshake net/liquidio: add API for VF FLR net/liquidio: add APIs to allocate and free IQ net/liquidio: add API to setup instruction queue net/liquidio: add API to allocate and free command pool net/liquidio: add API to allocate and free soft command net/liquidio: add APIs for response list net/liquidio: add APIs 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 API 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 APIs to flush IQ and free buffers net/liquidio: add API to release Tx queue net/liquidio: add API to start device and check link net/liquidio: add API for link update net/liquidio: add API to alloc and send 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 API to enable and disable multicast net/liquidio: add API 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 for dev stop net/liquidio: add API for dev close net/liquidio: add API to add and remove VLAN port doc: added documents MAINTAINERS | 7 + config/common_base | 11 + doc/guides/nics/features/liquidio.ini | 29 + doc/guides/nics/index.rst | 1 + doc/guides/nics/liquidio.rst | 269 ++++ 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 | 2040 ++++++++++++++++++++++++++ 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, 7598 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