From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-db3-obe.outbound.protection.outlook.com (mail-db3on0059.outbound.protection.outlook.com [157.55.234.59]) by dpdk.org (Postfix) with ESMTP id 3B38FE62 for ; Tue, 15 Dec 2015 16:37:38 +0100 (CET) Received: from AM3PR02CA0006.eurprd02.prod.outlook.com (10.163.180.16) by HE1PR02MB1020.eurprd02.prod.outlook.com (10.163.172.150) with Microsoft SMTP Server (TLS) id 15.1.355.16; Tue, 15 Dec 2015 15:37:36 +0000 Received: from DB3FFO11FD022.protection.gbl (2a01:111:f400:7e04::178) by AM3PR02CA0006.outlook.office365.com (2a01:111:e400:5365::16) with Microsoft SMTP Server (TLS) id 15.1.355.16 via Frontend Transport; Tue, 15 Dec 2015 15:37:36 +0000 Authentication-Results: spf=fail (sender IP is 12.216.194.146) smtp.mailfrom=ezchip.com; ezchip.com; dkim=none (message not signed) header.d=none;ezchip.com; dmarc=none action=none header.from=ezchip.com; Received-SPF: Fail (protection.outlook.com: domain of ezchip.com does not designate 12.216.194.146 as permitted sender) receiver=protection.outlook.com; client-ip=12.216.194.146; helo=lab-43.internal.tilera.com; Received: from lab-43.internal.tilera.com (12.216.194.146) by DB3FFO11FD022.mail.protection.outlook.com (10.47.217.53) with Microsoft SMTP Server (TLS) id 15.1.346.13 via Frontend Transport; Tue, 15 Dec 2015 15:37:35 +0000 Received: (from lsun@localhost) by lab-43.internal.tilera.com (8.14.4/8.14.4/Submit) id tBFFbYZ8009234; Tue, 15 Dec 2015 10:37:34 -0500 From: Liming Sun To: Date: Tue, 15 Dec 2015 10:37:28 -0500 Message-ID: <1450193851-9100-1-git-send-email-lsun@ezchip.com> X-Mailer: git-send-email 1.7.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD022; 1:gVKZmVOrVmMyGqM13KMZTHJYDK6mKYYVJB2P6QWPJ+OwT3jgkX2GH3Wj2urzUqs995YtJr3JT2VQ8lU4Qz7yvR5TGRtm/eVxmQU2knLF7jCFgTc7NyCL+pnT9nAf+uFYrWg5BZPDu6FP8eYbdLQmSzSysv3vVuk8abZXxW9voc5nv7mUqBeAP5WKYOqGQpairQbxjCBW3W/jhmVrA8fIeQ68qcWxh47TF3PSThmFkK0PEkN1M7RPcGEnKtDGYnsGLTA333WFbF81+ryAnugBlfIEMJfLRnbeQorQy8HVUqXSdYaSV+ymvRT63nE/2K1Rl1t6lxGswBP7CP3nZ7n7cplqhm8ZqVTk6R1msU6W1dDZsrrnWvk7cUa92Fn6e088DV7M8zG20JEFq7NnH3jmPtKYpHk3vEF2bQyIs7GkF9M= X-Forefront-Antispam-Report: CIP:12.216.194.146; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(5003940100001)(92566002)(104016004)(50986999)(6806005)(11100500001)(4001430100002)(450100001)(48376002)(50466002)(5008740100001)(586003)(1220700001)(42186005)(1096002)(50226001)(106466001)(105606002)(85426001)(36756003)(33646002)(19580395003)(229853001)(2351001)(107886002)(86362001)(5001970100001)(87936001)(47776003)(189998001)(110136002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR02MB1020; H:lab-43.internal.tilera.com; FPR:; SPF:Fail; PTR:wb-fw1.tilera.com; A:1; MX:1; LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1020; 2:XkjP28fAL6BQL5Ypj0kiDgOJBtGk+HRxsF4KCAKEJrwgcfQBmgkosbhfi1tL7n++/qu8JhXbPXoDdzK6EmqPnzMhCsmn5++9pUW97imtshrDCjGcUvUHbS4jtPHhdsM/ZTGD662oTy9PpCUTusv15A==; 3:A3YaaNOd02ZhBoYZA2YhcCm+U2DT5/Ukj8aUrDGaN1ZJ33hajS6zL35f0yJJaO6bvcb/V3ssiiYZH51eTL/K2vGlHM4Hnbx1IDyTac48EieFzsVhgIEigw5dNk1nqUcKy8ZJWYpBmmokibmHyCYGd6y77Xj/Y/EUB3MFd0wfpEXj/cx94uYlORpuQauQhW5itkgRfHz7sY0XwFGP/cOsZUIXF2lpQEJ/Bor3dDuOMG8=; 25:sPqszXSvj1Ake2zYACYtBN/ZfFjjDJdobRuKS1i+VuMCqDniaafryFQvh8IBXA5BmxwtZ387GcKlIX0Ld2pHw1O1OqEY2C7ko5CyZ7HJ9otC60jOEkvsuHxc9SAYUYOrYGQSQdIJCxYnvXoqdnBKZ2HrJe4EE5JN+g9zO0SXB+Gkzlnvg8Th60UaZovHa+SCJFV4gt/ZStqNzEoYr26tejK7GIkRvYwzTEnFJ2rGRW7CaT2kvppZC+1w3p10Ds0/ltD1jfYOFnUVNwUgtrwYqA==; 20:IlWSQHqpxbLA8RMOGwDz4ZFrkrrKZdFvZWIB6H99uv+4CZKFOTwSt06k8p1DHDfy0L210vATrVYR7Dm855dl5Fyk06+5r3l48sit3Hu6KWL8qGD3w3kgL9JkC/j2L3ttRUuSahgm1JtNv74BM7rOAVxyFnbSVJryZRiSNWDn7TM= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HE1PR02MB1020; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001); SRVR:HE1PR02MB1020; BCL:0; PCL:0; RULEID:; SRVR:HE1PR02MB1020; X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1020; 4:2VAkZKP2ZKtmXy6bfBDUaizMFP8bof7/j4ebOVmjBcRpB9B6SSJcRjHOHd8y5x0Kkd5lXYK7HchhagPzLcucOJ9HgE+0LtzXiJVfHR42b7Ub9XTmh/O7Y8CDMhbRqeS8ShTJIb7wuND8ieNTKcHzFoAoebA+D1CRtVPsHdt97NXAfjrHFgHKLVcNMLjTSoMX78cLIeHGQ9M+knOcqkWWzkphJ9JehunOkDY4fQztA3rfOHeXnguT9jGJF+5cj54TCRTW7zppYKkb9ya6oI9k0/BUNx4mjD+RZ8Scmy0BXGmYcCdG5hJupBM3x8hyTWeVpmBrAEXkJ94mWyHmvj3kMyOzK+sxhNkuZf0CeU0jET5kECKh2vX0GPxOkhH/zmLy X-Forefront-PRVS: 07915F544A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR02MB1020; 23:NUBnbp8a87zTIdj6CSN3uRDsuLSfp6PXWHxYa8RM0?= =?us-ascii?Q?e/DgAMYlubCPHCMa7eHrB1TtgjoAHKZHH9gYxjH6BosryizryseLDVaF+Ttw?= =?us-ascii?Q?sMm7s2B4unB3eEF59Ki63FrZI1S3IwUvSaBXly0h/tle4a4K7QGtEdarwT52?= =?us-ascii?Q?EPRo6Vo3ZZqecnLBiiOwIm+g28CzwxvbjmoC54q/BXUjjyhcJrRmTW3trtr4?= =?us-ascii?Q?28P8aaecyPcnX7CtvuXXfJWogVQbSGnrCg1XxRTOw61/LAQL6MpbnsQWzhRb?= =?us-ascii?Q?usYTC/DiRR0o6kV45yc1+g4oYj7qcAwy6w9n6JelZR9/TvwFfYrPMMWzRYu5?= =?us-ascii?Q?xNq8gb5F6Zz564JBbcErHnDjs7GcuNUUaYxAfnKpqjXbqphcu39tomo4hgbQ?= =?us-ascii?Q?jJ5YoDjoMhGmRLEVe6WYKahbvur0bORbm4IWlRRB1CiuTcPK7buPivvBKDAy?= =?us-ascii?Q?pc0/XHcWHp/nCZLnfZbpYNQiCTX3ipS2uCUTvxxY6Gn7BI89C1RQrN3Zgqjs?= =?us-ascii?Q?3SZ2rttO9yGxNfI77pztnxDH6Rx7AEgBucDxnnlfymecOyQ/Z7SNYOevJPsm?= =?us-ascii?Q?jpdq4PVJ4kbSh3hx0vVWgG0lR1k7g1Pzp2Pr+1aoX5wuTrCp6ipUrhOwGuCP?= =?us-ascii?Q?tGUA3b8DfSCYrAq7twTMKz+io7DlRMBu1E08tA+jFliCUNTUCfddEjAdGaqe?= =?us-ascii?Q?mYgKl8JucDhpHps+KFgiY2mY58rVEFXVN9utWF26n9IHvIonw6r1Fi7zHNo6?= =?us-ascii?Q?IY1nNQmtpegegj9UVOvbWQVFXem6Mz3tsQ56/MMdziR8EbnpUDPvH0uyQ0OL?= =?us-ascii?Q?4ZPGGQ2kxVHumel7lrZqsxBLpfDDDj0dbZWK60KuMBU3h/cQ/bTvO9jbQHcZ?= =?us-ascii?Q?Q0sKDMxk7EN9Q6reWijTPXg7JU/3xFC4bkpHpLeqMXksHiV70Mm2z3IueVHs?= =?us-ascii?Q?CfgBnvzHDO9+vEzqOfx8P/VS6Zwuaigkhe2HpH1CLKgm7GEIjOERwVdF/Rlx?= =?us-ascii?Q?VXBKBkrC+oYzpnVoB/0+BML8LFy5zJKd8CMy2nuGdJwhQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; HE1PR02MB1020; 5:FeJYA1gjFYTrIgHdXkGB6ejDKS5ItFif5Or7S7KNEPZsjO9yuuYuqq6Kt/QaXUPvvSNvqeaBT6dmyYDjmafhl8RlWgdEar+YMYEchBTHsCzRs2yJIGNf74ndNBGwWN2XuJx/9Mu3tx+HxaHbHYEDSw==; 24:HFSoTaV+4jB+QpRrdX81pnhartiRbFBdFwex1VMGK3x8beXDcOEpJumgrD5axL1WyCh7/pexx+AZLlkcxuHmRSu4KMxF0hW2gHyPB2/ey8I= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Dec 2015 15:37:35.8090 (UTC) X-MS-Exchange-CrossTenant-Id: 0fc16e0a-3cd3-4092-8b2f-0a42cff122c3 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0fc16e0a-3cd3-4092-8b2f-0a42cff122c3; Ip=[12.216.194.146]; Helo=[lab-43.internal.tilera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR02MB1020 Subject: [dpdk-dev] [PATCH 0/3] Some misc fixes and optimization for the mpipe driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Dec 2015 15:37:38 -0000 This patch serie includes some fixes/enhancements to the mpipe driver. 1. Support native build on the TileGx platform; Previously only cross build was supported. 2. Optimize the mpipe buffer return mechanism by introducing a return pending counter and doing HW buffer return if pssible. 3. Move the mpipe link initialization to an earlier place to support link management APIs. Liming Sun (3): driver/net/mpipe: support native build on tilegx platform. driver/net/mpipe: optimize mpipe buffer return mechanism. driver/net/mpipe: fix a mpipe link initialization ordering issue MAINTAINERS | 3 +- config/defconfig_tile-tilegx-linuxapp-gcc | 4 ++ drivers/net/mpipe/mpipe_tilegx.c | 64 +++++++++++++++++++++-------- mk/arch/tile/rte.vars.mk | 6 +++ 4 files changed, 59 insertions(+), 18 deletions(-)