From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BACC9A00E6 for ; Mon, 5 Aug 2019 08:40:07 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 89FEF2BFA; Mon, 5 Aug 2019 08:40:07 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60041.outbound.protection.outlook.com [40.107.6.41]) by dpdk.org (Postfix) with ESMTP id 1C6E01BE39 for ; Mon, 5 Aug 2019 08:40:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aumu50Qeh6zuCbDlPNlnnKzfPT2d8BhftWCor6E5miCvYrzk7OBFJu4d2xQJJPwagjwFbnzCWgI+mPybc44szLlLXnXWrIiwasF9aTh5PQ62f/g5/oNQ5N+Ijl9Pn1grjoh/t7SjBu7YfzhqWz10jW0GY3GCSVKtVfW6Nbr5jq9V4Ew/w/FKqP/GdAB08XIQy9MzgehCH7TGhXeQ+6LBS63LK6vxRNVgSSuije0vIImip4INFhYdSBB89mN+ydwZDuTf1bZ3MjqGrrRZt8V95JEwCTSZqxTAJq/UR3MgxE5Z61tsp8Z0TOKD6Wl2fSSFw/yiYAFzFgC3B3ehDjvz3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n2sf+F9U1kOoKudGFdxaz5J8mtikMGIyJbod12I0LQg=; b=AvdPNocUa0xW/89j/xFLyHc0Pxau3r0MQpGab76RKkPbL3rGkeBTiuuUyE8dSGAGRToezLObnIDeJBTXsALtKAqJ0ZekHMs4hFvgjaRrgDbwzLhzE5iDDz9QhgUsxJeNmZl9RfFZOCyTkmIWv/W1nBMgb3ARVU/YzB6drPBgzf9WhvGKqKeZyYie0SKW32sKv1ecAfe3GSfJGtz3mLOrItlZe5Wg4lGmLSPeEFbDBs//TlsTW44dquCrzIghRuXHC++SAUJ9poDv/aoeEPQTDmchI6l0tz3Y0+70bI0eE16xxsUB5gr+hYX6RSFu/szPcJ4YgWYXkeLyuI4GjG2eKQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=mellanox.com;dmarc=pass action=none header.from=mellanox.com;dkim=pass header.d=mellanox.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n2sf+F9U1kOoKudGFdxaz5J8mtikMGIyJbod12I0LQg=; b=Y9Joe1wFpHbkgz9D5IL7i/+O+GtpUs589kVPVZebXLykCuYo24ITocG7D5PwNfXywdEDHSYsoPKdTbJKglYHwHbKnTTif8XhYpwDDgrKqF/53pH8dKszbU1uwEjDeOXDF4q4/vLIZU80txn0+7DTL4g6qkB5uFCzgOpIR0azle0= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3811.eurprd05.prod.outlook.com (52.133.50.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.17; Mon, 5 Aug 2019 06:40:05 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::ccc2:2dd4:ca86:7639]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::ccc2:2dd4:ca86:7639%3]) with mapi id 15.20.2136.010; Mon, 5 Aug 2019 06:40:05 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Yongseok Koh , Shahaf Shuler Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: fix completion queue overflow for large bursts Thread-Index: AQHVSsxLBalTa1AOLkmclTJ08LW2+6bsG3ug Date: Mon, 5 Aug 2019 06:40:04 +0000 Message-ID: References: <1564926927-31450-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1564926927-31450-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 2368bbbc-8c03-4abc-38a5-08d7196fc02b x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:AM0PR0502MB3811; x-ms-traffictypediagnostic: AM0PR0502MB3811: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 01208B1E18 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(39860400002)(346002)(376002)(136003)(366004)(199004)(189003)(4326008)(8936002)(53936002)(25786009)(76116006)(3846002)(6116002)(229853002)(52536014)(14454004)(5660300002)(68736007)(4744005)(478600001)(81166006)(66446008)(64756008)(66556008)(66476007)(55016002)(6436002)(9686003)(81156014)(66946007)(66066001)(6246003)(107886003)(74316002)(14444005)(71200400001)(71190400001)(476003)(2906002)(11346002)(305945005)(7736002)(2501003)(86362001)(256004)(446003)(33656002)(486006)(6506007)(76176011)(110136005)(102836004)(316002)(54906003)(7696005)(99286004)(186003)(26005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3811; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: YZzinaMOGgtIRH4Rji34Zfh73eerK/6ZeVV3Jo1QdBCYZUiMWVRYtVGzqUPr6bqLZPTQhwITKrTFPlo4xXHtXnQdlbDKhmCXv0V3CFJr+0xJlsajTk4JglH5zHi4Xbw82JWXj2c6b/hg4MAC91BBwh6kABXkMgFTp3BFmWwuKiVEOCC4C8O0a+YuspARmWhxFKLi0sIJFRezGQA7GVV19yAk93PEwAN6LEPOpMzmseW+jNJthqBIGt53lKmkRlce0enEz5+jc2Paeb/xJ+foe+FBoDow3x4W3xAPQgbgzU/PiCncKJKra4nhEPJIoLP8oYHP5RhOiLOxZghQYIWJbEtPtoI6+MLa7oPy8ocYfBdp0Ihv1qK2SbuXKQtKmiHv/9emDX2KwyFm9MCwdVUOh0ANepzEuUYrVEi/Hvnokr0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2368bbbc-8c03-4abc-38a5-08d7196fc02b X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Aug 2019 06:40:05.1487 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: matan@mellanox.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3811 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix completion queue overflow for large bursts 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Viacheslav Ovsiienko > There is the limit on completion descriptor fetch to improve latency. If = burst > size is large there might be not enough resources freed in completion > processing. This fix reiterates sending loop and allows multiple completi= on > descriptor fetch and processing. >=20 > Fixes: 18a1c20044c0 ("net/mlx5: implement Tx burst template") >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad