From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0084.outbound.protection.outlook.com [104.47.38.84]) by dpdk.org (Postfix) with ESMTP id 6E0AF5598 for ; Tue, 4 Jul 2017 16:36:50 +0200 (CEST) Received: from MWHPR03CA0038.namprd03.prod.outlook.com (10.174.173.155) by BY2PR0301MB0599.namprd03.prod.outlook.com (10.160.125.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Tue, 4 Jul 2017 14:36:48 +0000 Received: from BN1BFFO11FD024.protection.gbl (2a01:111:f400:7c10::1:116) by MWHPR03CA0038.outlook.office365.com (2603:10b6:301:3b::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15 via Frontend Transport; Tue, 4 Jul 2017 14:36:47 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD024.mail.protection.outlook.com (10.58.144.87) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Tue, 4 Jul 2017 14:36:47 +0000 Received: from Tophie.ap.freescale.net ([10.232.14.39]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id v64EZM7M016426; Tue, 4 Jul 2017 07:36:44 -0700 From: Shreyansh Jain To: CC: , Date: Tue, 4 Jul 2017 20:14:29 +0530 Message-ID: <1499179471-19145-39-git-send-email-shreyansh.jain@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> References: <1497591668-3320-1-git-send-email-shreyansh.jain@nxp.com> <1499179471-19145-1-git-send-email-shreyansh.jain@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131436526076901302; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39410400002)(39850400002)(39400400002)(39840400002)(39860400002)(39380400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(85426001)(110136004)(2950100002)(6666003)(498600001)(6916009)(53936002)(8676002)(69596002)(5003940100001)(305945005)(189998001)(4326008)(68736007)(626005)(38730400002)(48376002)(5660300001)(86362001)(47776003)(8936002)(2906002)(81166006)(50986999)(76176999)(77096006)(50226002)(356003)(2351001)(104016004)(36756003)(8656002)(33646002)(50466002)(54906002)(106466001)(105606002)(83323001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0599; H:az84smr01.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1BFFO11FD024; 1:1Aduh+LZwke+Gmzk/7+pCZPda+J8C4sAjL2x1+Q2A?= =?us-ascii?Q?jg4evui9rWUMRl0/H8VGZ8L3BIOTlEmhNjtwMr3hdF4eG5d3Oqo2GzdpVPoV?= =?us-ascii?Q?RqIIdP5/9/9U/G4edJDgEjsLuhlbewRiijIoPoIL4UMAa7//M0KAZy6MIgah?= =?us-ascii?Q?qiUPWKe0YuN7ek/5mHXOj+k7NXjScAuCuv/x4iJLO1Vb8G/6acAhpIsOOlap?= =?us-ascii?Q?8jx78ANsdLTzazEQGhgcGsNidyVAkDPzprlhg9sjLcGwPJcZUDM1skNHeIjw?= =?us-ascii?Q?bh4XAbHwkp+ToYdxBRtOtLdkwQdgSd5RPkwIm9sAH+mLcChEzMTKnAV4sbk9?= =?us-ascii?Q?kaxVwMSF0htbtUYznOGC3i/hido8CSoPUUEmwLbWdRBfJt2M+JT46wSUlIFa?= =?us-ascii?Q?jhqRwoQk7UhOe4FyfLHvksErBEIY1yUEssnNLAtzdRe4IStZKRXBYnKiJpzf?= =?us-ascii?Q?HbQlvsWJm7yH4HijaF6GAL4N9Pse7HtmR6Ic1ZGSGOWY3vDgZl1++gpi/jRp?= =?us-ascii?Q?Udqv622bOe4XacSUF/PakMavaPUF0O4bUZ9Ty51xq8ERqLPgdRfwjziqVp/D?= =?us-ascii?Q?5+FKXFGcKDwH2BrRkdix2dAYgrWvVMPgu05/oerqBSXJd9gCZmU6nWMNHgAn?= =?us-ascii?Q?OKP4oV9WcfxazU2co3MC+YpnXXYj4tjk18mc7ZEI8Tyaa/LPsZnll/QGdcTT?= =?us-ascii?Q?6EUCOfZG//CCYJiH+r8iAsaUu5J2PRHFWsIP0sMghV+r55xumNLUTSRnLnRA?= =?us-ascii?Q?rOsPGZJQFijvQekBkXBEPsSfCgXQIQQV33gK1WZiV5lmxDt0i07IqUluS7Mk?= =?us-ascii?Q?bLUTO62PDMz27UP4NT4jErHm4qNwe2PhtvKJwa7xGuuGy2u56n6SWct4MQUY?= =?us-ascii?Q?1ZidogN9bZm0rTKvuF9jv9DOZe4Q40TJEVXYKUg2N5GceeRVYMg0QvamXer/?= =?us-ascii?Q?31cv+9K9up5neHh7RPhCDvcIt2KXlUvA4xPRwUv5GHoMHNgG1mQEMSbjVloA?= =?us-ascii?Q?15+XBSz6yw06xzrjsiNhKYvvxNhtrSUuZXVlSJQTUt+qZODykOfcLLDFsMBF?= =?us-ascii?Q?GtsZgkDGn1xQclkjdw4WVwaScR/PrRazLezyNToHN7DrCjtqg=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 06663566-4316-4263-37b6-08d4c2ea19ca X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR0301MB0599; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0599; 3:4NJ2v7UTT3K6J44iBZdDoV/5GW6IohrPtduAggG9GhXuF3uOY11HRhB073AZi4ndUfZDJMJKUrzSelE7bofieeVorRG12rIx18tEu0rs486uDALE9SJuffBqWx9ORYlEM+N+XjeE3v6WGhqOir7oUmFRmQi+Hla10tLfvz/y1Y8AyuQ5MvbzlMUysvw6xeqVJPpfDwaS2+CNIL9czBF1vbcnvNeWGVF4jz1oPbbnFHZYEuyNrQQ4CpSa7qH8Erw/9+9wGtozN7hy4yj0me3nZCU/pkbh7HkoHMurvKvowrLpr2eK/cKWCX91VmDHbsFCeuC1s0atM+LrJNVtRuQL/7KWCPYLlVScDwLukc5LoReuSQ3Zt0Q5Fl411XxtSXpT4BRu7NMI5z+GSkFt7XX2/3PPD8BPx07neFcNVa4H3UtnnivLbdAeKZokRnvlMTvmgh9Po9YK+HPXnj0z/lNAdkrw/FSUKlVfShH/V/zAyVArPri0wGaiMSuVojhp5O30U1eX6Ih56PBzF8g8tAP2NzlJNp0XKpkuUewwsMqBAaczJw4O3U9MjUWA92G77SCe4m2YeHRnIJffnIUkC2wIA6erTXTuY5JKOPJv+woGU5eg6CsyGP7p2zOjNoSxopZN7qI12xPpn8V+EX7FlQGb5LHlYXB4JRWSOEcgbyULLQaIZUbT565BVd046fxPGpnrPX4k4bSexyOz3x/gC8JMecWtxWXsCfb9ZLm1Pah/IVFhNpkbJf4IEXrvP5E9pqVbGiGdsk32fYyQe39akJxDWJ1IZvzlHMAD5+1e+Lh7QBnLusEAu7OuJw2tqUaOYIf+GlvzGoUHO7mJjcMd7mspn5f4zU/uroofH9X5p1kBbG05xT7K1kgKxjecizElpHx6 X-MS-TrafficTypeDiagnostic: BY2PR0301MB0599: X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0599; 25:RfENPKfCpTIQJQPsiBepw5N3GCmtyTJxUm5WgHAWvBT80pruol79PvN0aQp8E6YJ3XfH/rjWnNzYGXsx1H9mkXvg9QPw0jI8QP/UVBUhccTy1iHulrMkfvvZFoihIRP71BUm3eKwXTiuvreJG/YeS76ADmH+V1pn4ITqbq/3+JBJD9PyKQlCX0fgd6gKvbKIcISWsdzhUgu/xQroO9Hrw76KCbb7ZRFE+eZo6tkcXAT6yGnlaQ5vOtC3maIGsK2x6AbqRnOtQLn4ovOFKEA5L/eP7uy/dJJri7gpgKXn/dvsoWnhay0d+UQbmRvlyKsAp3v78oLR7DLr29GuiafWYpPzPjC+Uw1KF5iuelsH+EYkPWBPahkybj3l7CQgrxe8Qg2Zj3sxEjxGHUOR2BlhvuPbiAUhW3Tqpnc74YQT8xlaa14kOfRGejql6KHvQV3pU4lsOBYO5DQdG9V0jgsIH7b1LbiwP9yBuU50bfnlmkUj7bWF2UAklYOYHqUD6Rk2bnpLJ8P2474MnPQi0iYZCQjcVNQKNvC5Co2a1m4L462yTfqQjCf65UouA3/uKhUvI1ohnixWrjoB4og3PJ0Z547IY48PEAczf0V5gDJcrxG+3/pdAYkGkwLh3ckF/wj7e1B9eHmWHlnCUtyZ92wgSE2V1Cayng5csJIndPcXF/9m/uliYW4GrLYA5NHLnm8a4h5ypMaSBjPL8267StsikxEWrQLzXOkVgtU7w7hr7M94W1o5MS4gji02HhD/Yf47ufn7bUt9j4sgmRxSeNadUvzgmWzZVrOdVDM6oUebA/z/pfK2wgSeEJixkqp3nKRvvEivob1Fz4+rZPezjlJWhuXi0u0TL5y+UiBmOMijLaqTDScbLNVlJeCalP75P7mvTpRECPfo8Z7f9g/lxBSTKRfbyOd8V5IZakNwjH68cTo= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0599; 31:FfUaVrU+AGgKoyWXQh1XESzWSLv2z+wTtqzsMf9XsQLhhl0OAi+7lHqD535p359yCAmwh5PESdhMacfKlVEh3dvbKRLOi+ep433qJukjOEedzkQFqjeCGktutlOwCIsIJrAnhAjISg0QavJJVVdsQ5mN8Jra+TH9QxSawkNfzl3yw65Yn0CiXsDfqgQ0DysNdukxNUfkJEOuwpvydjwVrP9yVrHwShV9n+1U/wi1U5tk1vWAnS3VKgAuaMkBOqnKtLkSKjbY6I+7eeGFO/x30EZCnVIDYvN8PhDfVSDjo5A2/4rviwBvY0KrX0knMAnO2CEeaFc+XTUUuCwqE5y9D1C0LkgrnV5kGfOtIJXUWDPfkRR51NcQbfQI90tw+5LBaKDS/bS1VW2gkKZQnl3j+aBvc6HX8uLr9A1jU2qhHACTK0UDqWnzWdGM/RiWW0Igc0VYmfuNC5o+0VGAMuPWJzso0cD2/o7UrJgGk5OQ35K8v1Ry3kVDvYi+YwmBzbpeE59gwrfEqGrcptapDqO79drWeb49lt0bU8WmwRrmkkY5VUFO7jGZtCMdSgB8HUsIcQ1MyCZecgY2Ch2blJuk88AJc7Vc+lDCmrvFdwkZ03K1OAP+ikfvm3Ldfxxunt11pCkQUEGbRGBoEW9f8HZEfQ3Tp2FK4Qz3qAEOME2DoWiTwXyWtV8r4yz900EtAc1dwO7LvxMHmVZw1tcjoU9NhA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(185117386973197)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(10201501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(6055026)(6096035)(20161123563025)(20161123565025)(20161123561025)(20161123559100)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR0301MB0599; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR0301MB0599; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0599; 4:4GarVUnSgbfHauo33XARHhX3Qv4GVb1yEmgDmdoa?= =?us-ascii?Q?wcyoZZsxjXAQdprWqRc56pDgDBQbEvrZpIMMVQ5usGVr/whZeAJ7jj1pRhot?= =?us-ascii?Q?kaCqWrPBnbpusI+C0n3y3YrcsNnt9eqwz2+SfcqMMPcAdFT+cBxGK6AhU03O?= =?us-ascii?Q?xZi7tj0MzFSQ/k+PF+4tiI+fmDvrpMteDEnLRGQxQ5N7LveM9o4BoggMwzEi?= =?us-ascii?Q?WUBenrZdMypqPY8xmb8QmfySrYBHMLUaXU8Tojy5taeIZviAtsoe6VRvmptg?= =?us-ascii?Q?O2VbGiMUz/DhTfyWZ94WkaKs/P5M09irQAEL6NYYSoNyn0IptEW/45w2+TcD?= =?us-ascii?Q?Wi7Fq91wXLQLQRmtv7jQBnD03CGSP3EJwZEKZx9qXBN6yRH1xCquZD/HI6in?= =?us-ascii?Q?tg6g7Kn4bIckONN/tipMm8UTwta66mgLVFrpBmyDszNXcDMAID5rqRJVefLA?= =?us-ascii?Q?Wxv00heZayz3O7tzBP5WMFHJZcc1WyyujIELgq+Mmcn577uwiSm0PXD9mftG?= =?us-ascii?Q?AnVGPsyEmBxUjySWci5Mv4ZOjN3NGtRTPFDvxHJCnDB64n6Ired1MgFh6ezr?= =?us-ascii?Q?4bbNf4clpNpAyOofj7EYKGOoc6AYOtt9GqmmM8MAUvgycFWOgLX68bzV5Be+?= =?us-ascii?Q?VZKYtgibc7sudGhVEWv7gkFQgWNOJGyXBLCDB7XFoln7mi1QXCJPFWdUVMIv?= =?us-ascii?Q?ys3/G4Nxiebxja/suf3N1GaaSjZEKxYehiJ/aY8BH/p+Nd9+NS+czucGjEhJ?= =?us-ascii?Q?eMvdw5+TpaZnSFdg2TE6QEMUwbZt5MjIoNBUpfk11JA/pm49N75215eppKsE?= =?us-ascii?Q?WDTbI1qCL7YQjAK/+ri9eQBWW6fcYTAOtoIhB7bbbVup1WkzUGM4TYE2YOL8?= =?us-ascii?Q?803vc0P4msoROkFLnOHUXJzxr0Ey5ggF4ryC+ssBKGnw0Imji8GXyvjNQGTG?= =?us-ascii?Q?zCFNozuw1eFhfQs+cX1oRlMBNZ4NBUqaqrOrXS64akbiKiWYqKylWgqG87av?= =?us-ascii?Q?EjjM565yA/UJRH7edBcKZq0Wsfay0qjR0AjBLnyRBb9JIe7THZo1lYuqbr+T?= =?us-ascii?Q?91OmGjek+mxQyZy4mRC2Pq0vL9WoWVEuEN21Lg0pzl8L6C2jdofXXpY7W0Qi?= =?us-ascii?Q?DkXtCKUaxQtkfaWE+hZzd4D7hhK3GDE73cKOyI1sEdO+oMYYfutmNBP4ONv2?= =?us-ascii?Q?o2Dzn6Iz7qDTyh+ie5tv0OnIQ9k1AkwN9+wcRsV8tB+WAvyseEZCD7NQPhdd?= =?us-ascii?Q?YrYXWOMb0Wo6qBK1a/EFlQYQVy3KLE1egDX/0LkEE/X82UdhaKP56SfLqhV5?= =?us-ascii?Q?5+GqdKVAMWAAhR5nUh1fpbXSoZwigE8vYKoxKxBX225p?= X-Forefront-PRVS: 0358535363 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB0599; 23:Z6vMxtw/x+clERNTJHjWZUYX7pSn7DTBO2B1Q4P?= =?us-ascii?Q?ydymVR5rvDCOXh3kXZ5VDbxsgzXkafCdZlimpHwxPI1gz4cbcDS6g1iZQN7B?= =?us-ascii?Q?9IfQ3SpPNPsYkgPjIDvs5WnOK7XCnTEX3FYgd72GP8CimKl2HRIScIDoOwl6?= =?us-ascii?Q?4sqAQsKjgE3U9LHae1sM9i7KtLVXHGk76dffITGfFkYuqiO4KPPxdB0erTSJ?= =?us-ascii?Q?SPUbf4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E4Q==; 24:ynrlyDcwnl5cLKqrNizlXAgMSZzhABwODO57iEViNWfQjc/Xy0kRAOvh8Haq0OdSHq2AX3BUEesJ9Z2KWha3TymM/DGjwNjztfiPQtVr9DI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0599; 7:uZNMqLZ1NhY/QaQMY0ogbTJfTwjvTEhTMKxxjv3GpO1GAdZb+F06IdKuAOB8P44i7OrAsjFBG3PoOL6BvriwX6hUmUNhOBTjIbmt9hv5Wtc/RTEqVOAkTvUmntQ68sFfyomJ/2p1GCjqrqURaG+RMRodFPrBTatwS4K1hXKl0rq/z8hocZd1FIpHlcBxBvNllKSB4Lq7IWt3uCVi2OaeUNLxrl/y4FznE2+wYWBviHvKsv3vulRKTPg6iardpwIvF+aO5+M9U2nz0CE/YVKnnv8S5d9xkanclr6hj8xgTIfNKDOV8VsjaHXozH4agQwHUNFkCmG5Ni0KgfOJ8o0jP+8s+ujcLZrxRquXvzplaASVTSy4DuKXBpk5OZ0BRJJG4HB0QDZK1ocxtoBysa7ZqOsCAqDo7sl2bl5hK6++uOotr+xdX7vKXaIpAEC7m9Bz7+5BHMQi45P2qxrlipEE8mxxJnNW21iXmHKqb7FUCt8uf7p4y1TAgbYoCR5CayE16kHSYi38kQeP3XLpTYgN7shAfERlKpOsiEjAaXEIResF94uSMUPFeQM3GoRUnWckOMVfk8W+Q2RkBhQbjec5QisRspreAYGzqwKN3TCu/khlqZTUyxyg+OlGpeocd5qDa3Z2Y2LUqd6/hwF6u2cVY+H/US/yUCxXFj17JpmL60CguSYPlTX5DsOjIUscixacD+GJMI6UnmGAUcZK0b9gUfEw9AsxbSO42c82TKrYzIJ+0qOhk15+U4bMtaC8DvyclL9aZ07/DFv9bKPn4WbLfp2CR8ijbZh26HwSO9PF7kY= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2017 14:36:47.4561 (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.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB0599 Subject: [dpdk-dev] [PATCH v2 38/40] net/dpaa: add support for Scattered Rx 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, 04 Jul 2017 14:36:51 -0000 Signed-off-by: Hemant Agrawal Signed-off-by: Shreyansh Jain --- doc/guides/nics/features/dpaa.ini | 1 + drivers/net/dpaa/dpaa_rxtx.c | 162 ++++++++++++++++++++++++++++++++++++++ drivers/net/dpaa/dpaa_rxtx.h | 9 +++ 3 files changed, 172 insertions(+) diff --git a/doc/guides/nics/features/dpaa.ini b/doc/guides/nics/features/dpaa.ini index 23626c0..0e7956c 100644 --- a/doc/guides/nics/features/dpaa.ini +++ b/doc/guides/nics/features/dpaa.ini @@ -8,6 +8,7 @@ Speed capabilities = P Link status = Y Jumbo frame = Y MTU update = Y +Scattered Rx = Y Promiscuous mode = Y Allmulticast mode = Y Unicast MAC filter = Y diff --git a/drivers/net/dpaa/dpaa_rxtx.c b/drivers/net/dpaa/dpaa_rxtx.c index 9afc722..5bf4d68 100644 --- a/drivers/net/dpaa/dpaa_rxtx.c +++ b/drivers/net/dpaa/dpaa_rxtx.c @@ -276,18 +276,83 @@ static inline void dpaa_checksum_offload(struct rte_mbuf *mbuf, fd->cmd = DPAA_FD_CMD_RPD | DPAA_FD_CMD_DTC; } +struct rte_mbuf * +dpaa_eth_sg_to_mbuf(struct qm_fd *fd, uint32_t ifid) +{ + struct pool_info_entry *bp_info = DPAA_BPID_TO_POOL_INFO(fd->bpid); + struct rte_mbuf *first_seg, *prev_seg, *cur_seg, *temp; + struct qm_sg_entry *sgt, *sg_temp; + void *vaddr, *sg_vaddr; + int i = 0; + uint8_t fd_offset = fd->offset; + + DPAA_RX_LOG(DEBUG, "Received an SG frame"); + + vaddr = rte_dpaa_mem_ptov(qm_fd_addr(fd)); + if (!vaddr) { + DPAA_PMD_ERR("unable to convert physical address"); + return NULL; + } + sgt = vaddr + fd_offset; + sg_temp = &sgt[i++]; + hw_sg_to_cpu(sg_temp); + temp = (struct rte_mbuf *)((char *)vaddr - bp_info->meta_data_size); + sg_vaddr = rte_dpaa_mem_ptov(qm_sg_entry_get64(sg_temp)); + + first_seg = (struct rte_mbuf *)((char *)sg_vaddr - + bp_info->meta_data_size); + first_seg->data_off = sg_temp->offset; + first_seg->data_len = sg_temp->length; + first_seg->pkt_len = sg_temp->length; + rte_mbuf_refcnt_set(first_seg, 1); + + first_seg->port = ifid; + first_seg->nb_segs = 1; + first_seg->ol_flags = 0; + prev_seg = first_seg; + while (i < DPAA_SGT_MAX_ENTRIES) { + sg_temp = &sgt[i++]; + hw_sg_to_cpu(sg_temp); + sg_vaddr = rte_dpaa_mem_ptov(qm_sg_entry_get64(sg_temp)); + cur_seg = (struct rte_mbuf *)((char *)sg_vaddr - + bp_info->meta_data_size); + cur_seg->data_off = sg_temp->offset; + cur_seg->data_len = sg_temp->length; + first_seg->pkt_len += sg_temp->length; + first_seg->nb_segs += 1; + rte_mbuf_refcnt_set(cur_seg, 1); + prev_seg->next = cur_seg; + if (sg_temp->final) { + cur_seg->next = NULL; + break; + } else { + prev_seg = cur_seg; + } + } + + dpaa_eth_packet_info(first_seg, (uint64_t)vaddr); + rte_pktmbuf_free_seg(temp); + + return first_seg; +} + static inline struct rte_mbuf *dpaa_eth_fd_to_mbuf(struct qm_fd *fd, uint32_t ifid) { struct pool_info_entry *bp_info = DPAA_BPID_TO_POOL_INFO(fd->bpid); struct rte_mbuf *mbuf; void *ptr; + uint8_t format = + (fd->opaque & DPAA_FD_FORMAT_MASK) >> DPAA_FD_FORMAT_SHIFT; uint16_t offset = (fd->opaque & DPAA_FD_OFFSET_MASK) >> DPAA_FD_OFFSET_SHIFT; uint32_t length = fd->opaque & DPAA_FD_LENGTH_MASK; DPAA_RX_LOG(DEBUG, " FD--->MBUF"); + if (unlikely(format == qm_fd_sg)) + return dpaa_eth_sg_to_mbuf(fd, ifid); + /* Ignoring case when format != qm_fd_contig */ ptr = rte_dpaa_mem_ptov(fd->addr); /* Ignoring case when ptr would be NULL. That is only possible incase @@ -390,6 +455,95 @@ static struct rte_mbuf *dpaa_get_dmable_mbuf(struct rte_mbuf *mbuf, return dpaa_mbuf; } +int +dpaa_eth_mbuf_to_sg_fd(struct rte_mbuf *mbuf, + struct qm_fd *fd, + uint32_t bpid) +{ + struct rte_mbuf *cur_seg = mbuf, *prev_seg = NULL; + struct pool_info_entry *bp_info = DPAA_BPID_TO_POOL_INFO(bpid); + struct rte_mbuf *temp, *mi; + struct qm_sg_entry *sg_temp, *sgt; + int i = 0; + + DPAA_TX_LOG(DEBUG, "Creating SG FD to transmit"); + + temp = rte_pktmbuf_alloc(bp_info->mp); + if (!temp) { + DPAA_PMD_ERR("Failure in allocation mbuf"); + return -1; + } + if (temp->buf_len < ((mbuf->nb_segs * sizeof(struct qm_sg_entry)) + + temp->data_off)) { + DPAA_PMD_ERR("Insufficient space in mbuf for SG entries"); + return -1; + } + + fd->cmd = 0; + fd->opaque_addr = 0; + + if (mbuf->ol_flags & DPAA_TX_CKSUM_OFFLOAD_MASK) { + if (temp->data_off < DEFAULT_TX_ICEOF + + sizeof(struct dpaa_eth_parse_results_t)) + temp->data_off = DEFAULT_TX_ICEOF + + sizeof(struct dpaa_eth_parse_results_t); + dcbz_64(temp->buf_addr); + dpaa_checksum_offload(mbuf, fd, temp->buf_addr); + } + + sgt = temp->buf_addr + temp->data_off; + fd->format = QM_FD_SG; + fd->addr = temp->buf_physaddr; + fd->offset = temp->data_off; + fd->bpid = bpid; + fd->length20 = mbuf->pkt_len; + + + while (i < DPAA_SGT_MAX_ENTRIES) { + sg_temp = &sgt[i++]; + sg_temp->opaque = 0; + sg_temp->val = 0; + sg_temp->addr = cur_seg->buf_physaddr; + sg_temp->offset = cur_seg->data_off; + sg_temp->length = cur_seg->data_len; + if (RTE_MBUF_DIRECT(cur_seg)) { + if (rte_mbuf_refcnt_read(cur_seg) > 1) { + /*If refcnt > 1, invalid bpid is set to ensure + * buffer is not freed by HW. + */ + sg_temp->bpid = 0xff; + rte_mbuf_refcnt_update(cur_seg, -1); + } else + sg_temp->bpid = + DPAA_MEMPOOL_TO_BPID(cur_seg->pool); + cur_seg = cur_seg->next; + } else { + /* Get owner MBUF from indirect buffer */ + mi = rte_mbuf_from_indirect(cur_seg); + if (rte_mbuf_refcnt_read(mi) > 1) { + /*If refcnt > 1, invalid bpid is set to ensure + * owner buffer is not freed by HW. + */ + sg_temp->bpid = 0xff; + } else { + sg_temp->bpid = DPAA_MEMPOOL_TO_BPID(mi->pool); + rte_mbuf_refcnt_update(mi, 1); + } + prev_seg = cur_seg; + cur_seg = cur_seg->next; + prev_seg->next = NULL; + rte_pktmbuf_free(prev_seg); + } + if (cur_seg == NULL) { + sg_temp->final = 1; + cpu_to_hw_sg(sg_temp); + break; + } + cpu_to_hw_sg(sg_temp); + } + return 0; +} + uint16_t dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs) { @@ -456,6 +610,14 @@ dpaa_eth_queue_tx(void *q, struct rte_mbuf **bufs, uint16_t nb_bufs) dpaa_checksum_offload(mbuf, &fd_arr[loop], mbuf->buf_addr); } + } else if (mbuf->nb_segs > 1 && mbuf->nb_segs <= DPAA_SGT_MAX_ENTRIES) { + if (dpaa_eth_mbuf_to_sg_fd(mbuf, + &fd_arr[loop], bp_info->bpid)) { + DPAA_PMD_DEBUG("Unable to create Scatter Gather FD"); + frames_to_send = loop; + nb_bufs = loop; + goto send_pkts; + } } else { DPAA_PMD_DEBUG("Number of Segments not supported"); /* Set frames_to_send & nb_bufs so that diff --git a/drivers/net/dpaa/dpaa_rxtx.h b/drivers/net/dpaa/dpaa_rxtx.h index b1c292b..afc33e2 100644 --- a/drivers/net/dpaa/dpaa_rxtx.h +++ b/drivers/net/dpaa/dpaa_rxtx.h @@ -58,6 +58,8 @@ /* L4 Type field: TCP */ #define DPAA_L4_PARSE_RESULT_TCP 0x20 +#define DPAA_SGT_MAX_ENTRIES 16 /* maximum number of entries in SG Table */ + #define DPAA_MAX_DEQUEUE_NUM_FRAMES 63 /**