On Mon, 19 Sep 2016 16:58:59 +0300 Tariq Toukan <tar...@mellanox.com> wrote:
> From: Saeed Mahameed <sae...@mellanox.com> > > Previously we rang XDP SQ doorbell on every forwarded XDP packet. > > Here we introduce a xmit more like mechanism that will queue up more > than one packet into SQ (up to RX napi budget) w/o notifying the hardware. > > Once RX napi budget is consumed and we exit napi RX loop, we will > flush (doorbell) all XDP looped packets in case there are such. I've already raised strong concerns with this approach on the RFC patchset. Of not really taking advantage of RX bulking. Please do not ignore this! If you can promise, that we/you will also try to other approach I'm suggesting, then I'm fine with this patch. -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat Author of http://www.iptv-analyzer.org LinkedIn: http://www.linkedin.com/in/brouer