From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesper Dangaard Brouer Subject: Re: [PATCH v8 04/11] net/mlx4_en: add support for fast rx drop bpf program Date: Fri, 15 Jul 2016 20:45:10 +0200 Message-ID: <20160715204510.19a12bd3@redhat.com> References: <1468309894-26258-1-git-send-email-bblanco@plumgrid.com> <1468309894-26258-5-git-send-email-bblanco@plumgrid.com> <20160714092543.776f8d8c@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Brenden Blanco , "David S. Miller" , Linux Kernel Network Developers , Jamal Hadi Salim , Saeed Mahameed , Martin KaFai Lau , Ari Saha , Alexei Starovoitov , Or Gerlitz , john fastabend , Hannes Frederic Sowa , Thomas Graf , Daniel Borkmann , brouer@redhat.com To: Tom Herbert Return-path: Received: from mx1.redhat.com ([209.132.183.28]:58340 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751340AbcGOSpS (ORCPT ); Fri, 15 Jul 2016 14:45:18 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Fri, 15 Jul 2016 11:08:06 -0700 Tom Herbert wrote: > On Thu, Jul 14, 2016 at 12:25 AM, Jesper Dangaard Brouer > wrote: > > > > I would really really like to see the XDP program associated with the > > RX ring queues, instead of a single XDP program covering the entire NIC. > > (Just move the bpf_prog pointer to struct mlx4_en_rx_ring) > > > I think it would be helpful to have some concrete implementation to > look at for this. Jesper, can you code up some patches, taking into > account Alexei's concerns about the atomic program update problem?. Bad timing, as I'm going on 3 weeks vacation from today. -- 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