From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: [PATCH RFC 11/11] net/mlx5e: XDP TX xmit more Date: Thu, 08 Sep 2016 11:52:59 -0700 Message-ID: <1473360779.18970.2.camel@edumazet-glaptop3.roam.corp.google.com> References: <1473252152-11379-1-git-send-email-saeedm@mellanox.com> <1473252152-11379-12-git-send-email-saeedm@mellanox.com> <1473259302.10725.31.camel@edumazet-glaptop3.roam.corp.google.com> <1473262379.10725.42.camel@edumazet-glaptop3.roam.corp.google.com> <20160907202234.55e18ef3@redhat.com> <57D0D3EA.1090004@gmail.com> <20160908071119.776cce56@redhat.com> <20160908191914.197ce7ec@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Tom Herbert , Jesper Dangaard Brouer , John Fastabend , Saeed Mahameed , Saeed Mahameed , iovisor-dev , Linux Netdev List , Tariq Toukan , Brenden Blanco , Alexei Starovoitov , Martin KaFai Lau , Daniel Borkmann , Eric Dumazet , Jamal Hadi Salim , Achiad Shochat To: Rick Jones Return-path: Received: from mail-pf0-f169.google.com ([209.85.192.169]:34485 "EHLO mail-pf0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932787AbcIHSxC (ORCPT ); Thu, 8 Sep 2016 14:53:02 -0400 Received: by mail-pf0-f169.google.com with SMTP id p64so20916386pfb.1 for ; Thu, 08 Sep 2016 11:53:02 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 2016-09-08 at 11:48 -0700, Rick Jones wrote: > With small packets and the "default" ring size for this NIC/driver > combination, is the BQL large enough that the ring fills before one hits > the BQL? It depends on how TX completion (NAPI handler) is implemented in the driver. Say how many packets can be dequeued by each invocation. Drivers have a lot of variations there.