From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [Intel-wired-lan] [net-next PATCH v3 2/3] e1000: add initial XDP support Date: Tue, 13 Sep 2016 16:40:41 -0700 Message-ID: <20160913234039.GA42336@ast-mbp.thefacebook.com> References: <20160913012815.GB25756@ast-mbp.thefacebook.com> <20160913171340.GA37341@ast-mbp.thefacebook.com> <1473788252.18970.177.camel@edumazet-glaptop3.roam.corp.google.com> <20160913175926.GA38737@ast-mbp.thefacebook.com> <36ECC79A-0810-4D06-A72D-702AD9901E83@intel.com> <20160913182959.GA38950@ast-mbp.thefacebook.com> <20160913215208.GA40872@ast-mbp.thefacebook.com> <151DF165-61A2-428A-BD24-04E7704F9724@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Eric Dumazet , Tom Herbert , Brenden Blanco , Linux Kernel Network Developers , intel-wired-lan , Jesper Dangaard Brouer , Cong Wang , "David S. Miller" , William Tu To: "Rustad, Mark D" Return-path: Received: from mail-pa0-f66.google.com ([209.85.220.66]:32861 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753442AbcIMXkr (ORCPT ); Tue, 13 Sep 2016 19:40:47 -0400 Received: by mail-pa0-f66.google.com with SMTP id h5so201729pao.0 for ; Tue, 13 Sep 2016 16:40:46 -0700 (PDT) Content-Disposition: inline In-Reply-To: <151DF165-61A2-428A-BD24-04E7704F9724@intel.com> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Sep 13, 2016 at 10:41:12PM +0000, Rustad, Mark D wrote: > That said, I can see that you have tried to keep the original code path > pretty much intact. I would note that you introduced rcu calls into the !bpf > path that would never have been done before. While that should be ok, I > would really like to see it tested, at least for the !bpf case, on real > hardware to be sure. please go ahead and test. rcu_read_lock is zero extra instructions for everything but preempt or debug kernels.