From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0072.outbound.protection.outlook.com [104.47.0.72]) by dpdk.org (Postfix) with ESMTP id 0E58E8CF6 for ; Wed, 2 Aug 2017 19:26:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=few8zSwGOnMepSbRT+WtXiGsyuWl1idwKUU+cMtBYrw=; b=HxtWPbp0cM+LN7RFZdXQE00cPX7DKZ6JdyuZCcEJ+4EFQAyzcSv+CUc65J3xb06McJsWoea5gMMQFN6wyhgwWwhQnCme2SNaDFBC6Z8ARS6XaWCsvq0Wk1aqqiaqWPQiCAYuIzOCjTYJXH+a6cBZPg6iVVyFVtqOog8fxRYqOKw= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=yskoh@mellanox.com; Received: from mellanox.com (209.116.155.178) by DB6PR0501MB2038.eurprd05.prod.outlook.com (2603:10a6:4:6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1304.22; Wed, 2 Aug 2017 17:26:10 +0000 From: Yongseok Koh To: adrien.mazarguil@6wind.com, nelio.laranjeiro@6wind.com Cc: dev@dpdk.org, Yongseok Koh Date: Wed, 2 Aug 2017 10:25:54 -0700 Message-Id: <20170802172554.17079-1-yskoh@mellanox.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [209.116.155.178] X-ClientProxiedBy: MWHPR10CA0056.namprd10.prod.outlook.com (2603:10b6:300:2c::18) To DB6PR0501MB2038.eurprd05.prod.outlook.com (2603:10a6:4:6::20) X-MS-Office365-Filtering-Correlation-Id: 4dec72e1-bb28-4251-128a-08d4d9cb91ab X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB6PR0501MB2038; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 3:7HvahNzKkgvpKPt+zF772j0Db1nDhRBLjOqc8ckaMhvezjyWPS3a/5u6B0oU7c+io7sMh29Fj4pTP6oZs1sYnRojAZ1qyDztgF8LbYZCuxim8Aoj+9xWJD9AGp1o3xgs8Ue5UduIGjeEnBL4O5hyYHjXCt+u/V1MNWT7WPPlxaIKAiyN/FkmBemLOURP0Z0YXznFqYXaniJYu23GbwxHe1/ogUQ9t9UFudDpyBMP1YcCUBoAHfBurYuQiIMiMs/51Trh382dU0bw8DCmu0Rei4sckNoIsTN7y6v3b5NjY5wi5kASVgvtYk5eIKvFp3DbVPu6oj4ARD/LE229MH5MYhvoaOsMbXB7NaQ6Yntc3FalRHTbrrAupA8kypvwqFvjR3kcEL8b28hhvCK8uxJgMZn7yRxMB3Pll/T2gVdr624hMDxIlMOdg5EGZVspSiGACdLJyeCc6Z1nhbIDyumw5xuU1MIndkOmEwcKifj21uG7NJETPQr8dkGaZ2kJ2xi1r8s2JK4kclpbgYCIVUSbmpYWzwk1kjw3wj+aKKzPsPX9bic6skS47CslURbeqooFo8JGaDYCIh5lI5x8Wh9r8nyl93t6qhwcaqLRhtu9hSo5wvdR96QXBGquWGHGbHKSY1mEGaU0B/nWSwUEYhpzDwS6AXU19z/tnQSWE3BC1+dzHVCDLg10Kmx01qqqq6UjKinKA6pJGNGYCCjCUUVXvRsx14pLQThkzxN08k3Mo3MUDdRCXPTLw63Alc9pHSfxiuA/wKJb+21Mm77vWv3h+LWWg9Su+Uw0MNoY9rmZ/0OHVgKLmMuDmseGfVuXvVnoZ1cDvStwfDzkK509x8RFqg== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB6PR0501MB2038: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 25:wHk2iQO2g9ABsBQS3Ks0JXZHHs/T6JIlGrCSxxv5PiURn9rFndWalref4Og8P/610KombuQPsY6mdh4ze0m4wYBvQE67fXpXaaWnQxA2ZkFkS6FyjBzUpeshq5aTmaim23Jv0g7PKfpJlnw2U5qrKE6RKVJ6v0UX5er1VxaAlx7BMrwHtIQK7BZ7mv55tS39wThipkue9YFrNcSXDgtgufrQY+x/QDGd3WzRC0nxTNnUibyO8V/MeFdWRieg/cIend1LDnPySSdtcYMPw16kCTByPXqZWQgR/QxW7N3plYx1AXQ9GxQtidDKGiW3ZVxWNii2X6bqF/2kBP+5WxmFudwDmu+LKDZAraavzUI0AKaNwnySCek36Gu5tyRLOBAKzrSPQoUOrj6pcuPgP9oNIwL9QcpgyEigOHH/NX/gCx79diA5j/XWX393oEeqk0tZ5+VORFi29s/gz1qumMP+kw5A/vQRNIgsLaIuhaeMDL/ulmrcSd+NT9NxKimTiDAu5sA9Dq/qsfvbrMEheHtrJLll9bZb9FgKw0Calb1NVD1IexsbrxiR1f4WEpS65CnGg78i2S5fe+MW+BzMJhuxG799OZVJPlP7FGEjic/NiBDPWMODbM56ZxmQcmG+BBFYt/jxNZ/KGlFZ6riiGEDPJQeekssdfrz8m/BvCUu3pm4eB4943mLHCMk86k1X1h9B4/XYLHAmmfCYFRNUstEzFtG4yQ0nsFy6UiVbzKy9g7N2Yf8Gbuw6rY3HB/aQE93ul9BmTSQ5qb99bGn8B2DbZpi3Y04iyaJGwNQOM+NNMK4yFYRlzv6tsqv0Oxoix46C/WkE2DfYiGVu8ENeSBnO/OqUXEUPAuacIAdc3/aV3SN8oLSjSE53bH3JQzer9myj1IfYNhelYbYO3OVy00UwFDvqGEsh1epDEqEOlwnqxho= X-LD-Processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 31:D9ct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2oASI808a7i+5UEG1/RmClg/gxZJFmgADu6v8GBY6B4vvB5t151pHH+yEVTaBikvKQjDeRjXJmpnaeJ3FOPX28jCXeO5ZnJ16gnGdhXaSmD9Bn9A7WvdlVj243kQOT+8AjsAtsdtdzlbzwogF9qttbII++UnpDD X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB6PR0501MB2038; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB6PR0501MB2038; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2038; 4:1tx8oeQIrockP8Wn+I4kH65RMbY1eesBOtq/0/KC?= =?us-ascii?Q?w1nFrqJbwxrn0Of0pnOLqDSRhODKhZ5V2A9VTePnzBjPBGeTI13v+xKtbMGe?= =?us-ascii?Q?iJfbmbPHdbl9fpo1hIP3I5pnRyQLIObP8W2D5VnFlLLxfi4K8hkuq++U1FuG?= =?us-ascii?Q?aA3ay1NITxOrLkfASGaRynJDv0PHRlMRuOP3akQa2LgO9AjliCB7tEDzB78x?= =?us-ascii?Q?EoEV3s/herUbXchx7mLOlz4NGILjg3noBmMg678OR5K7l59WSHErrR+1Ipdx?= =?us-ascii?Q?aTlgs3cnH3I+uesnXVZxzyN4+2SKeX58KbnxKhqKerEWa0d7pXKTzclnOx8K?= =?us-ascii?Q?XjQiz5W/wt+0HozMWZ6bydPgN1lcy92zZm+Hvb5DIJI+MYTwlTqBdeFjIWbf?= =?us-ascii?Q?pk/iviXRwmya+Bl/R5zcL5A1Fbcchvs1WiLeqNSgHF04xKVSaga9JxVp0vie?= =?us-ascii?Q?EPlzdK5DTdENtL5tN1tUF1A3FZHu/LUclOm2cyZN9xBjGj6lbWEPofHkwchn?= =?us-ascii?Q?iRZS5ABT8FmXLPJzoorT72A+Kg0aBIPIwNZSpHk76rbCmO4cQCSQwdtyP+jR?= =?us-ascii?Q?+i0UiJXsp8bomQcPUUos58tsN++8Q+fblJ7YHjYpzm0ewSoCGL2hu3ZawaRb?= =?us-ascii?Q?g9jTh/gdsqH+zirrkCnu7mnIOt/LN290wk2OPcHgJNkKWJog0zNmL8PeuXRu?= =?us-ascii?Q?9NGLWOqD+FMo1koAzMqGI/4LfEBHVRudx0jUpS6u3W62uv0o+PAdau2KhAf9?= =?us-ascii?Q?hLZq0mNo4m+WgBEQgnTOJepm/B/6TFItOBizTRk/O7j9KSsqvjQ9TRHE8TrN?= =?us-ascii?Q?nsmV0EnBfXcursHd2TfCe01kNC1I3mrZCmRB/3hD5jxhfH1QFTKdi0TI4sUC?= =?us-ascii?Q?92zWkxta+o/pkeudR1Os74tC7/UrlHQWf3TtRBEdoN9UhaY7Zeuxb6pw2Ix8?= =?us-ascii?Q?9axDgL+NTT+UD/N6akVgFl0ZrcVR3SLiV+Iryfl7fI7MOWc/TG1Z+vePo469?= =?us-ascii?Q?TSTPJGxRrMntoZOVlLhazGUmjqV8hgtpF7Q3cnYUsbDjmuw298C6vYA/k/Hd?= =?us-ascii?Q?3s523YyngdqFdQ8omQPy4CDi0DqjnZkm256KUuhD2Mb7KPVmcnfQUF4l5Wr6?= =?us-ascii?Q?a3o3ucETVeYmlUm4sXBJPJK4E8w8LeV+3a7ZgOL7ioL8jdvDXfT/Xw=3D=3D?= X-Forefront-PRVS: 0387D64A71 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39450400003)(39840400002)(39400400002)(39410400002)(39850400002)(199003)(189002)(4326008)(305945005)(86362001)(7736002)(7350300001)(97736004)(66066001)(5003940100001)(47776003)(6666003)(68736007)(1076002)(106356001)(42186005)(105586002)(189998001)(36756003)(2906002)(48376002)(101416001)(50466002)(21086003)(5660300001)(8676002)(81156014)(81166006)(50226002)(25786009)(50986999)(478600001)(69596002)(110136004)(38730400002)(107886003)(55016002)(33646002)(3846002)(53936002)(6116002)(83323001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB6PR0501MB2038; H:mellanox.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2038; 23:R7Xvbqdk1AXsPrz35Z8Yf8W2gEHt231IqbOav91?= =?us-ascii?Q?HcNl8jMYaMfFehKR+5S2SZUj6LSAoXyJllAJc6Ayd98gGEe5p5KpHcT+2Ctf?= =?us-ascii?Q?aYnPBg+LHcMSfFz/aMDAgB00zlJyiKxkw8R4f1idx33Attq4PfdtoO3uZQQH?= =?us-ascii?Q?wBx7W51VQYFWaR4LqxhAqbqXhcCHLrDri79sD+4Igv+NYd/lC38F3Ab7Zu0j?= =?us-ascii?Q?6HP0IJBL1KtTaL3Dc3bHWKysS1cbKvIKGbYCsxD27O32RuOPkG5ubNOjWw90?= =?us-ascii?Q?dqStVZepOX0c7qQiQAWA2k37ohnAXq2RxK5W/A4/5wjUdwx95GpeJMsvkitt?= =?us-ascii?Q?EIC6CnbTJANezLJU06KRTZWfxuSBpeCEdGiify9cUdlvHE2rzNyf4T0yNBos?= =?us-ascii?Q?KYmrIhgWCl4s7rzxinqCmQwQf3GJLUB1rcPDh2Hul1ZbhxtczBNmDeCzhMIB?= =?us-ascii?Q?rB/F3K3Q1DrVlRLd74BinEO3eXCGcRRSIl9vA51xQC/TZjusY8Zj9rc+6Rki?= =?us-ascii?Q?0iW5OgFkxBP+XUM8epY6SUCDSRKqC3PLyH8hLo5G70Mz2OsOJzwnsQgT39ow?= =?us-ascii?Q?uLmGCLpbVZ8N35kAXqloWfJKu9kY6OgFnN7Ilm8qE3v3N//IVvDPW8lYshGx?= =?us-ascii?Q?BXULfbF7603DanG+88m2Bz17y5JjcYPbtwiip2WVJWRwX7D029l5oKyFVTtS?= =?us-ascii?Q?FCsHe/7vFU0gv2mzN1Fn5xwBIpGiA7tRmdkT8pEz1FH3MQkijUZeG4eW0Tui?= =?us-ascii?Q?oV/nx3nnu+4m51VbakkUJ2T/DDAFTDUYEy2DU771L/qMQ/WvdNFWXxnily37?= =?us-ascii?Q?9heJGLMqA2L/OboGYWxpVGHBe0xfIouX70CLp0l17LJM0opaBivLKPuvtvr3?= =?us-ascii?Q?hW3JJVmAz57z+N2oUO39FrUp8bx2DulIiAoKme8fj5YHt5TL1H0BmK1BsAcL?= =?us-ascii?Q?3dzp0fcwCLoFiMwkz/vuKmsWkfgTxKEVe4KkJ1a2dyitGcxya+go63lmTr53?= =?us-ascii?Q?bvzDWMgThv/XK1RfYLaasP4gSmAGHzpXof+Yc76ImRogzPMNsOwj7l5+hyaC?= =?us-ascii?Q?wkqrQfYKROn8lwpUwD2Qkx1jFCAF4k6zSJ2DLVPxTZzB24AFFaeiTdgi8LjD?= =?us-ascii?Q?79ieAYwJdGbu0zdAv5TSez6fnvjW6fK/URUuJwMXdUqtQRO7y+Wq7brwUR9I?= =?us-ascii?Q?PJ/0ZC/9F7SK3WR4pSGI4F+G6B1ChskWRNS/BiD5RZhYOY8G3nMAzltcamuT?= =?us-ascii?Q?JIRBT+yK9Tn0gFZK7j+s=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0501MB2038; 6:DBU+Uo8VTvFKnP+A/3lORlnLo6tsYYLmP+rXcEvm?= =?us-ascii?Q?SDh6Ayqr7nn9RDjmzLOmwlSZp3L9P6hi/VGTZBkTsRUBmN6P2dRYOGtwfbBK?= =?us-ascii?Q?Xnc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szvyXQ+jSKpC5H69Bgxa?= =?us-ascii?Q?J967EsAXXOep5oGC6LesH8U5?= X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 5:TF+hMvD7Cz5kT9lsA4AWVwrr/o2XImZC4MzDVQ5iaB/NEkFLe8loxjdeOnW0VNUDNV65TK1yorIM0w6WvRaR+NTNp+Wk72wLJwxOdWHsfK8UVgynlWbvdeUB/ocGpQHPUzddZC5mSlqe3eXNZhyxXmvZmzYn6cermLsOfnfzVNPX5TMnsarFg8Sa3cqwPCLwnDBwgPuM+iS2i8dwCQ+P0RcXJbk7+XOAfL8aMfoDnQ2NNDPNpzxoU6qHdH2YtF9HwzatuFPL8pl+klK5SIpsr9DOHlyq/my5Zz3/a9XtNuZKgkvoADFZ609Kc+j1qvw54VXUu4oVTym7e9w17Ff72QF06p0UmcSBQkqN+GE8hv2V9ChC6Xa2InkxveauksnXJ8LhvtBcaetLJLz0WLJlZy4t5itSKKGzEPw6As5WA7te9BJZrI//SMaIuRzRKb8A00J9a+Z2Q3ui1y3sGqomY/PEBFDh/9V7MH1VnTGJd6WsDVMe96FNMbbrV4sVAztE; 24:tTGAOLXVnl+HCCH5CbCqh5ijRrHjAh52rFJ0lSnTjWEoAHTLhXuK08AwR13MuGsZbdqQPZXy/fQ+Z7OGceYsDnGVFQaPG8XHFoi0tL2TpIg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0501MB2038; 7:8My+C1e3Tu30s85v1drSVGhvExHroxxBiIt7BoM7D97KAXDsh/mQAPLGCPZLGQ6bIYZSd9PExfazxA6M0gTrykR73nrkeHMqm0m4WLY0Wwmys+19EywN08Rug13gVIwNslLgxZ0bxXAVuFtWIll/JoN+f8zaYNcBkW/Fwfbha4cVbpXgB5YMWE+iZCsQCHuCEMge0NOnqeJIi2JJLxPk9XcVNSoy9b0N/AebCs5ggwbUlMSBsyTn6SmoSMtxiw9u7dWGbjHJtoqu5xrSnlrU2/mtuiLRSlesXMRfezhUG44E931NpPmwii3DfW9hKZ7rEh6lKQpUKt2+k+4DIss7X4JsXe7dNeGCqjZBks1mOgd6GfHU2Md199k20Ri7kZE93ivmLtidYjjB9z4tQZ762+NPsHUXeARWpTRxpd7Qo49Qhlxdi4yUWSVnf3Xfjn/Xkex+Eppd6Iv5HbZ0JiUSrxC+oKUUU7U5nsluuA/6n7sI6Qiy46yd3ok35EBSv9frQJlbC3QM13dzTt/Ulhk4/uc5ZQnExxwsmkD4/Fk9QNy+7UN9g8hBQ3szPyE0qnsZZr+2jZespmhMVAS1/KkjxxU7zV5G6jfKwSYhdelq/KzvdcqaheGkjYdX9o5OIKaeKNp/l5qdbLdUkne8f5wmMPtAwFs2FdyPPp/8ILIZcyKWGTuX91bFRmKm7NwxRlev/5hMwNOEb65qhnDY+ZuHi/TC5HpPAVbD2wToUuOLAZ9bDAlIZ/CL9wsnHk6bdsQmdKbaFvg29BMlhQ+IWiwQBd5UoczY+NEOaoPzFM4OMas= X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Aug 2017 17:26:10.1890 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0501MB2038 Subject: [dpdk-dev] [PATCH] net/mlx5: fix statistics for error packets on vectorized 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: Wed, 02 Aug 2017 17:26:14 -0000 If there's a Rx completion with error (e.g, MTU mismatch), it is handled later out of main burst loop as a slow path for performance reason. Statistics should be corrected by subtracting counters of errored packets. Also, the last entry of mlx5_ptype_table[] must be RTE_PTYPE_ALL_MASK to mark error in completion. Fixes: ea16068c0064 ("net/mlx5: fix L4 packet type support") Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86") Signed-off-by: Yongseok Koh Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxtx.c | 3 ++- drivers/net/mlx5/mlx5_rxtx_vec_sse.c | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c index 2572a1652..b07bcd118 100644 --- a/drivers/net/mlx5/mlx5_rxtx.c +++ b/drivers/net/mlx5/mlx5_rxtx.c @@ -94,7 +94,8 @@ mlx5_set_ptype_table(void) unsigned int i; uint32_t (*p)[RTE_DIM(mlx5_ptype_table)] = &mlx5_ptype_table; - for (i = 0; i < RTE_DIM(mlx5_ptype_table); ++i) + /* Last entry must not be overwritten, reserved for errored packet. */ + for (i = 0; i < RTE_DIM(mlx5_ptype_table) - 1; ++i) (*p)[i] = RTE_PTYPE_UNKNOWN; /* * The index to the array should have: diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_sse.c b/drivers/net/mlx5/mlx5_rxtx_vec_sse.c index 74e595386..4202411ab 100644 --- a/drivers/net/mlx5/mlx5_rxtx_vec_sse.c +++ b/drivers/net/mlx5/mlx5_rxtx_vec_sse.c @@ -885,16 +885,28 @@ rxq_handle_pending_error(struct rxq *rxq, struct rte_mbuf **pkts, { uint16_t n = 0; unsigned int i; +#ifdef MLX5_PMD_SOFT_COUNTERS + uint32_t err_bytes = 0; +#endif for (i = 0; i < pkts_n; ++i) { struct rte_mbuf *pkt = pkts[i]; - if (pkt->packet_type == RTE_PTYPE_ALL_MASK) + if (pkt->packet_type == RTE_PTYPE_ALL_MASK) { +#ifdef MLX5_PMD_SOFT_COUNTERS + err_bytes += PKT_LEN(pkt); +#endif rte_pktmbuf_free_seg(pkt); - else + } else { pkts[n++] = pkt; + } } rxq->stats.idropped += (pkts_n - n); +#ifdef MLX5_PMD_SOFT_COUNTERS + /* Correct counters of errored completions. */ + rxq->stats.ipackets -= (pkts_n - n); + rxq->stats.ibytes -= err_bytes; +#endif rxq->pending_err = 0; return n; } -- 2.11.0