Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752892AbcLFJfM (ORCPT ); Tue, 6 Dec 2016 04:35:12 -0500 Received: from mail-by2nam01on0046.outbound.protection.outlook.com ([104.47.34.46]:51712 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751888AbcLFJfF (ORCPT ); Tue, 6 Dec 2016 04:35:05 -0500 X-Greylist: delayed 58432 seconds by postgrey-1.27 at vger.kernel.org; Tue, 06 Dec 2016 04:35:05 EST Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=fail action=none header.from=nxp.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:861;Count:10 From: Ioana Radulescu To: CC: , , , , , , , , Subject: [PATCH 1/8] staging: fsl-dpaa2/eth: Add Ethernet driver overview document Date: Tue, 6 Dec 2016 03:34:35 -0600 Message-ID: <20161206093442.11362-2-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20161206093442.11362-1-ruxandra.radulescu@nxp.com> References: <20161206093442.11362-1-ruxandra.radulescu@nxp.com> X-IncomingHeaderCount: 10 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131254904841389850;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(336004)(339900001)(199003)(189002)(2906002)(86362001)(68736007)(33646002)(2351001)(50986999)(92566002)(47776003)(8676002)(8936002)(81156014)(31430400001)(76176999)(36756003)(105606002)(106466001)(50226002)(97736004)(4326007)(104016004)(81166006)(50466002)(48376002)(39060400001)(39410400001)(38730400001)(39380400001)(39400400001)(5660300001)(77096006)(626004)(39450400002)(7416002)(39840400001)(7846002)(305945005)(39860400001)(356003)(2950100002)(1076002)(110136003)(6666003)(6916009)(189998001)(39850400001)(8666005)(85426001)(5003940100001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR0301MB0744;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11OLC005;1:CWy9o9SFokZDZaGbvBfj85EoctcuztlgWMfu+igAzNE66/J3AmBD2YwA61R4J61VQKSEdBEYbcSQprJ0wKAfvk8w1YXqwDbrzOXK8JwN9X8S1+C/rD6E66ZK4XQhc4Sz6fHQjIsx7kKeM/Qgiz/+gxkdK5UvCT/D5Vp+Gm7NPTw1QYshxFrM4SG6QXOJzwqhHGWFfVNRF5St/Tlkwo3ub0mBUlrEn8Qu/4uIYJeA9aj1eFWu/2/JQ8Q8H1UmcH8dw2sIcosdhwOvWEnXiCloNWTI5gT2a43iO+6OGPkpRITrJfJZkZ9ccKL4Hvaawc5W/qGxLpfGUgUCQV54OKWBZ2n7o7PcfI5i0YK2K66g7CocDO8DETxs0Dh/JhFqJn4CD4mwo26R9xgyJ6G47E/52u9I+JW+dpMrW9/+98Icv0C2OBHEE/TgHb9CNFIe4rueB2xA4FYcwf4OFNLLtAB8HnAz+z2HH3ayLTnlS1FP7g/VkPkJ/zcu63CUx2XJ38SW6tfAInhfsAqQNDgLozlx0pbEZBqAct6Ts69SmUmmd0s7QoT9kVF6LSN3Y3JZhcv045UPXejERHfB3HoDb4e+d9ep5kPN4sUybWxUm95dhE3tutnb/kw2OBoQyr01+zFR MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: 0eae03cd-ac61-4d89-dac3-08d41dbb1c7a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BY2PR0301MB0744; X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB0744;3:Y24Rj50a5tI554rnx6Qdtq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mPdgc/j1NZyngp1f2iEjv6Pu3VGNUy4f59HCfLwL3cQwJ/76GrJgHOvDMT5DOj9v+GnZipt4GxnBz/3fEDpEwwgd3kHtoPBspxcDrRNaDWWKKsJiz2jM9Getl14sKfguO1w61R1IWdiC70mFBWR08NRTkT0a4fueNEzhOxrQ6cpVjPz3 X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB0744;31:ZKC4uzY2zrFGyGeiM582JHvXMOy7YfAkFPl+sXs6Ak3hnjSyH0oqBJqskEVjtZZk0wzYfHTpkPZbdico4CjYAoO6uiXSb8A9GnVeCQV7X3YZvdmWSOxAhb4yVUF+CWmgq2F9sfYM5W5bBwicX3dHPbpIePjc296U1fS9d1ccDrfVxSHVqwBj43SPw99lY/YYCYW7ahvF/VuqxajwrHSKyMPoiheF8DzJ+NC6rRUOQFWCFMU/qbFr+rUu+U0PVOIpvFKmYkkiWiXyDqTQ8WDVNCZUpef9g47qlGfA4MmmVi8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(227817650892897); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095060)(601004)(2401047)(8121501046)(5005006)(13017025)(13015025)(13023025)(13024025)(13018025)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123565025)(20161123561025)(20161123559025);SRVR:BY2PR0301MB0744;BCL:0;PCL:0;RULEID:(400006);SRVR:BY2PR0301MB0744; X-Microsoft-Exchange-Diagnostics: 1;BY2PR0301MB0744;4:QdG9SSKJ69FSkIvA+zL3ozny/pv2IXuUbnsnlu08Sa8s0obMj8R21OpkLGjhlsekP1HesJpuSCE5rVNcOAoKiJNhT/wykCxcvZMdsw93Eka6YSZMS8yFGBB+4UKnKcYad3JAPl2P/S1Mg5Jjl/3GHeQ5K6PVAwDdJAFiavmICnMNDxPtgas372euRnttasuMIoRS6eQLSiOvJjTGNulg83Rqb3mHaWueZOSiXT6xRdACsnB3i/aTKCd1IvGbWz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I+pTAxQjCmfPWxF2EYhqKtkxVI0KOgC+/SbGD8zha4D/f27YUS2roLs4NY/yU2NMEmZsnCBXAkep9n36kQyQ1A9RMHCQpkf0/NT5VrjdGmFijQNhpS4RzOjks968QIQ10fZjiuJEGG2A5MYjnqmi6LP3RLmhCRD4uUJNBMlmXRj8OF+hqiGsyU40h+S0QQFAh+z2O7oPfkyBrBUo5weUUFXzzwEOSNcYhvY3qTEeYI2I8pQySo8B6CJuqHraLOCu4dayXY0GkviPjrLLyUKv6zV92SCxnmp93HIhNGP2Qab7GEsSkDzxaDirT4knUMxzGxRJWyBRDstOTMgBJu2SuEc65haOF2FoCKX4f87G9oJoR5MJKydpiGJGBywSGW9GgQoWQ/4qJ/5p0vJXTXwbw3v4Pw9eMZmlAswCsJFzwBLnJRwytisam8BaUQ6YEbvwLTl9TLvF/BGw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2016 09:34:43.7957 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0744 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9071 Lines: 203 Add a README file describing the driver architecture, components and I/O interface. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/README | 186 +++++++++++++++++++++++++++++ 1 files changed, 186 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/fsl-dpaa2/ethernet/README diff --git a/drivers/staging/fsl-dpaa2/ethernet/README b/drivers/staging/fsl-dpaa2/ethernet/README new file mode 100644 index 0000000..0c5aa68 --- /dev/null +++ b/drivers/staging/fsl-dpaa2/ethernet/README @@ -0,0 +1,186 @@ +Freescale DPAA2 Ethernet driver +=============================== + +This file provides documentation for the Freescale DPAA2 Ethernet driver. + + +Contents +======== + Supported Platforms + Architecture Overview + Creating a Network Interface + Features & Offloads + + +Supported Platforms +=================== +This driver provides networking support for Freescale DPAA2 SoCs, e.g. +LS2080A, LS2088A, LS1088A. + + +Architecture Overview +===================== +Unlike regular NICs, in the DPAA2 architecture there is no single hardware block +representing network interfaces; instead, several separate hardware resources +concur to provide the networking functionality: + - network interfaces + - queues, channels + - buffer pools + - MAC/PHY + +All hardware resources are allocated and configured through the Management +Complex (MC) portals. MC abstracts most of these resources as DPAA2 objects +and exposes ABIs through which they can be configured and controlled. A few +hardware resources, like queues, do not have a corresponding MC object and +are treated as internal resources of other objects. + +For a more detailed description of the DPAA2 architecture and its object +abstractions see: + drivers/staging/fsl-mc/README.txt + +Each Linux net device is built on top of a Datapath Network Interface (DPNI) +object and uses Buffer Pools (DPBPs), I/O Portals (DPIOs) and Concentrators +(DPCONs). + +Configuration interface: + + ----------------------- + | DPAA2 Ethernet Driver | + ----------------------- + . . . + . . . + . . . . . . . . . . . . + . . . + . . . + ---------- ---------- ----------- + | DPBP API | | DPNI API | | DPCON API | + ---------- ---------- ----------- + . . . software +=========== . ========== . ============ . =================== + . . . hardware + ------------------------------------------ + | MC hardware portals | + ------------------------------------------ + . . . + . . . + ------ ------ ------- + | DPBP | | DPNI | | DPCON | + ------ ------ ------- + +The DPNIs are network interfaces without a direct one-on-one mapping to PHYs. +DPBPs represent hardware buffer pools. Packet I/O is performed in the context +of DPCON objects, using DPIO portals for managing and communicating with the +hardware resources. + +Datapath (I/O) interface: + + ----------------------------------------------- + | DPAA2 Ethernet Driver | + ----------------------------------------------- + | ^ ^ | | + | | | | | + enqueue| dequeue| data | dequeue| seed | + (Tx) | (Rx, TxC)| avail.| request| buffers| + | | notify| | | + | | | | | + V | | V V + ----------------------------------------------- + | DPIO Driver | + ----------------------------------------------- + | | | | | software + | | | | | ================ + | | | | | hardware + ----------------------------------------------- + | I/O hardware portals | + ----------------------------------------------- + | ^ ^ | | + | | | | | + | | | V | + V | ================ V + ---------------------- | ------------- + queues ---------------------- | | Buffer pool | + ---------------------- | ------------- + ======================= + Channel + +Datapath I/O (DPIO) portals provide enqueue and dequeue services, data +availability notifications and buffer pool management. DPIOs are shared between +all DPAA2 objects (and implicitly all DPAA2 kernel drivers) that work with data +frames, but must be affine to the CPUs for the purpose of traffic distribution. + +Frames are transmitted and received through hardware frame queues, which can be +grouped in channels for the purpose of hardware scheduling. The Ethernet driver +enqueues TX frames on egress queues and after transmission is complete a TX +confirmation frame is sent back to the CPU. + +When frames are available on ingress queues, a data availability notification +is sent to the CPU; notifications are raised per channel, so even if multiple +queues in the same channel have available frames, only one notification is sent. +After a channel fires a notification, is must be explicitly rearmed. + +Each network interface can have multiple Rx, Tx and confirmation queues affined +to CPUs, and one channel (DPCON) for each CPU that services at least one queue. +DPCONs are used to distribute ingress traffic to different CPUs via the cores' +affine DPIOs. + +The role of hardware buffer pools is storage of ingress frame data. Each network +interface has a privately owned buffer pool which it seeds with kernel allocated +buffers. + + +DPNIs are decoupled from PHYs; a DPNI can be connected to a PHY through a DPMAC +object or to another DPNI through an internal link, but the connection is +managed by MC and completely transparent to the Ethernet driver. + + --------- --------- --------- + | eth if1 | | eth if2 | | eth ifn | + --------- --------- --------- + . . . + . . . + . . . + --------------------------- ------------------ + | DPAA2 Ethernet Driver | | DPAA2 MAC Driver | + --------------------------- ------------------ + . . . . + . . . . + . . . . + ------ ------ ------ ------- + | DPNI | | DPNI | | DPNI | | DPMAC | + ------ ------ ------ ------- + | | | | + | | | | + =========== ================== + + +Creating a Network Interface +============================ +A net device is created for each DPNI object probed on the MC bus. Each DPNI has +a number of properties which determine the network interface configuration +options and associated hardware resources. + +DPNI objects (and the other DPAA2 objects needed for a network interface) can be +added to a container on the MC bus in one of two ways: statically, through a +Datapath Layout Binary file (DPL) that is parsed by MC at boot time; or created +dynamically at runtime, via the DPAA2 objects APIs. + + +Features & Offloads +=================== +Hardware checksum offloading is supported for TCP and UDP over IPv4/6 frames. +The checksum offloads can be independently configured on RX and TX through +ethtool. + +Hardware offload of unicast and multicast MAC filtering is supported on the +ingress path and permanently enabled. + +Scatter-gather frames are supported on both RX and TX paths. On TX, SG support +is configurable via ethtool; on RX it is always enabled. + +The DPAA2 hardware can process jumbo Ethernet frames of up to 10K bytes. + +The Ethernet driver defines a static flow hashing scheme that distributes +traffic based on a 5-tuple key: src IP, dst IP, IP proto, L4 src port, +L4 dst port. No user configuration is supported for now. + +Hardware specific statistics for the network interface as well as some +non-standard driver stats can be consulted through ethtool -S option. -- 1.7.3.4