From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from emea01-am1-obe.outbound.protection.outlook.com (mail-am1on0080.outbound.protection.outlook.com [157.56.112.80]) by dpdk.org (Postfix) with ESMTP id 9B72A5A0A for ; Tue, 22 Dec 2015 20:50:25 +0100 (CET) Received: from AM3PR02MB1011.eurprd02.prod.outlook.com (2a01:111:e400:c404::21) by AM3PR02MB1153.eurprd02.prod.outlook.com (2a01:111:e400:c406::15) with Microsoft SMTP Server (TLS) id 15.1.361.13; Tue, 22 Dec 2015 19:50:24 +0000 Received: from VI1PR02CA0002.eurprd02.prod.outlook.com (2a01:111:e400:581f::12) by AM3PR02MB1011.eurprd02.prod.outlook.com (2a01:111:e400:c404::21) with Microsoft SMTP Server (TLS) id 15.1.361.13; Tue, 22 Dec 2015 19:50:24 +0000 Received: from DB3FFO11FD012.protection.gbl (2a01:111:f400:7e04::104) by VI1PR02CA0002.outlook.office365.com (2a01:111:e400:581f::12) with Microsoft SMTP Server (TLS) id 15.1.361.13 via Frontend Transport; Tue, 22 Dec 2015 19:50:24 +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 DB3FFO11FD012.mail.protection.outlook.com (10.47.216.168) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Tue, 22 Dec 2015 19:50:23 +0000 Received: (from lsun@localhost) by lab-43.internal.tilera.com (8.14.4/8.14.4/Submit) id tBMJoMmw012013; Tue, 22 Dec 2015 14:50:22 -0500 From: Liming Sun To: Date: Tue, 22 Dec 2015 14:49:48 -0500 Message-ID: <1450813790-11874-1-git-send-email-lsun@ezchip.com> X-Mailer: git-send-email 1.7.1 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; DB3FFO11FD012; 1:EmAakIPvhell+E/O8xLXeNjbOIGWOH10hbZbIihCph60PQwFNK8Rap3jHH+q4QJH+RmPKQvW0D9FfGyiY0PPs1w3Pm50DDPTtdV9IX9txvkAhYpdvpW/wWYUNopNqcb6Vbom01LKfO44D4Bvu3Oqm0FxFxKeYy68E9H9py/7PbgIOBn+ubnh9chg0Do6b7qHsWB4ouRTCQByMrFhZxA/Yi18e/c7hT2bLMpOXV0EFdSDZOv3oy4YAYE6BSKuBwFKMzItoGCwniMexyk2U8Gs+9ADMV8z7ME18b3zSXYbjwRA3e6xGKWJUkux6FoWrqPJV6/B/5/N+3/kdyPtqmj7Im+Ix/Si/d8Q6k8DrVNxaPLvTSatvcDppK9WQ7Ih1JWK1D3ro+woQvVqTHJS4ILlSg== X-Forefront-Antispam-Report: CIP:12.216.194.146; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(106466001)(105606002)(2351001)(15975445007)(50986999)(86362001)(85426001)(229853001)(19580395003)(50226001)(11100500001)(5003940100001)(15395725005)(4001430100002)(5008740100001)(6806005)(47776003)(189998001)(104016004)(42186005)(110136002)(5001970100001)(36756003)(107886002)(50466002)(586003)(33646002)(1220700001)(92566002)(450100001)(1096002)(48376002)(87936001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR02MB1011; H:lab-43.internal.tilera.com; FPR:; SPF:Fail; PTR:wb-fw1.tilera.com; MX:1; A:1; LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1; AM3PR02MB1011; 2:To2m6NeKr+ERQ1AHS7JyBF8wG8kmqQN7ktuHthPpMAQXj/Uyszdo9e3TPX8QHGWj1lky9/z6mQRRtkVfvLOGLR1bV6DCq+PVWjsE/Uu/mU8JKmnqTtMDPe7dS3JyZmJUypz+n1WZDfBZ7Kut2xLGEw==; 3:57JNmYUPBM1pjOdGqO+rkxoFO3mgGpzKhiHPlIjfzWtPCWtEk0ut3WWFaSitteiLebm0VgN6clqu/1KN4sG/hDT52Q0peh65ScV1EFqZiHuc4KOIhHwUfmq5PBy3kw1Tw/evepOUsMz8dZTX/O7oDRHf0DX0qXL+gDYIfNpGNe6/mCpO1mt5e36zFF0gbxgTwXp0IP+TSySP69H/Y+Z+4Gi11yObieFOZqQaoAZ0R9g=; 25:nHtQcokW1TwgimtmJrLAumkJLlqFziEffrEI74N7PTV1SqGZUochw7VQgtffM3cT832mUOPROrwa6/tWh2H0G7+MH/XlY+DYDnAFZSiMJ1bjHml8ffgEIfYDfRFSN1fwM27GKArFBIPREjj4zhpMlQGvf3VRQcN1V9RTE2+R2rWHPsGdVDbbZb9MDpwNIoi44oROYgTccv1vPpozFXV5CW4irMDDuFXxhZQnLI/n0+hILxyuUqh1TzZJoWQtClekoOPiO0gTChXiDO1mVRcVfg==; 20:TQ3F1B9BqX34l1bFFTCuNiUyeegNwDZUvCPxiJGYproB2uAu/XdYWcz0/Sqn4HdcgD4Q596nDJhO7urDOTaZhj1ihLu3UPuJBknHFYSx3YFiwhoTyGlWJFNvqz6GgE9GOaIHQwIYqU1UKQ2Zyw8z5Fj8ZWP44kjfdJQNyEVVqRY= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM3PR02MB1011; 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)(3002001)(10201501046); SRVR:AM3PR02MB1011; BCL:0; PCL:0; RULEID:; SRVR:AM3PR02MB1011; X-Microsoft-Exchange-Diagnostics: 1; AM3PR02MB1011; 4:0MaGfOcQhP6qoBJso7xCG89y1SWL0EebICmX/pSPdqz4iefJiG3zgaUcEmQ6cCLkEtloFiASVsky8CCR1bsDPOhystLrpn6xa7VV4J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?Q?ECymEomomGwaQaDqDWnN6snMYgXfGobSWMli/0x7+LN0GGeTMObJlKxURJCV?= =?us-ascii?Q?fQUXz3dtmFGeMAEzPsru7uyn63wbLZ4Nj285ky2CAO7lNMx/kJKpjMBvOYH7?= =?us-ascii?Q?liVhw1ODrtwD73kdu5M2zdOLVctXuUdZSPJsx0aG1VsMbNSJNMygId5lZgzz?= =?us-ascii?Q?PgxI1rcLt8e47iAWzHmOp0YyBf4snzWXSLlJZ7gi1XEDAfi7VITTeMVFty8Z?= =?us-ascii?Q?yTehqMxHcZoYGWM1q+hyjKYomYYjgTQXIGT0YNgvBO1SLcm77FUWiI3ORqcM?= =?us-ascii?Q?R9vxqBvNQjAibNfZ8lEE4Nyf63xdETIeFLWiW2yF9c5c1cqpgP4l6KbBz/DD?= =?us-ascii?Q?CfEFLrpLz2FsoxsYMXLI5y5mrr9mf5w6Eh+37/PhXdCGM/IpxFx1gy0X9xXx?= =?us-ascii?Q?Gyxx0HGr5L53RZOLeberpMUNvyoRh/soszNH1Pgu8anHn+5KCZNNhOWBSvM1?= =?us-ascii?Q?InJvOHymf5bpyRoU8PHCadDU5dm?= X-Microsoft-Exchange-Diagnostics: 1; AM3PR02MB1011; 5:dKtWTyQXQFncJOSyh98E+jj34zZ8cn7mE1ByrEAoWPVG9EzBlzwNTqLI2cSTEkHflzTL4LyU6X1NM3zF8bV9Nvi+r0r3MigNRBXT7+X9ZP9KeoYWyhwUpVS0gUNDQ8uLFPRX674vk4gEEM6kqTTUYA==; 24:HcMp6ecLpSm/kau5OzVnojXCo3/1eDTtgAYUyY9PxnRu/UTeH7Uv9WoR/JjhE7U9LYAoawHw3l7HcvycXfMG5CvFVk6ccnf+7h4JJ3EIPN8= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2015 19:50:23.1969 (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: AM3PR02MB1011 X-Microsoft-Exchange-Diagnostics: 1; AM3PR02MB1153; 2:hBpLKdAvxbZJuhx+zWJK0qX9+y4ioUUxIGnZAizVTiHGDyorxvKmqv9BpR6cJafKycFbFoI7eBfpPHVmMs26PIstiaZKtLCkJ4tk886qH0VgdIpHNcFmzYDsFFUCvURbbUEzpEjbehwVwDQVFByVFA==; 23:yCY+MJUNMusw+8IqtROwu8h6NApSBhrZ2Goo9lIcTtjZFNqaNmlITzgX73jkET7fD2RoYtDel+iTceRqDjcHVcHsm+OcZ/XH72aXJZPtW1m7lYxZCklWadpermotQGYLHNBG3py28XcGcFBVBrvKIT3izru0pXKOs1TftVR1W63tZek4x2N5KnJ/1Z3K9uVg X-OriginatorOrg: ezchip.com Subject: [dpdk-dev] [PATCH 0/2] Some enhancement of the tilegx 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, 22 Dec 2015 19:50:25 -0000 1. Implement rte_vect.h and enable LPM lookup; 2. It also has some code cleanup and fixes for potential crash when quiting pmd under high traffic; 3. Changes have dependency on serie (http://dpdk.org/dev/patchwork/patch/9571) which is pending in the patchwork queue. Liming Sun (2): driver/net/mpipe: add rte_vect.h and enable CONFIG_RTE_LIBRTE_LPM driver/net/mpipe: fix the crash/hung issue when testpmd quits config/defconfig_tile-tilegx-linuxapp-gcc | 2 +- drivers/net/mpipe/mpipe_tilegx.c | 64 ++++++-------- .../common/include/arch/tile/rte_rwlock.h | 1 + lib/librte_eal/common/include/arch/tile/rte_vect.h | 93 ++++++++++++++++++++ 4 files changed, 124 insertions(+), 36 deletions(-) create mode 100644 lib/librte_eal/common/include/arch/tile/rte_vect.h