[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170131153647.GA77071@C02RW35GFVH8.dhcp.broadcom.net>
Date: Tue, 31 Jan 2017 10:36:47 -0500
From: Andy Gospodarek <andy@...yhouse.net>
To: Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc: Michael Chan <michael.chan@...adcom.com>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next 00/10] bnxt_en: Add XDP support.
On Mon, Jan 30, 2017 at 08:47:47PM -0800, Alexei Starovoitov wrote:
> On Mon, Jan 30, 2017 at 08:49:25PM -0500, Michael Chan wrote:
> > The first 8 patches refactor the code (rx/tx code paths and ring logic)
> > and add the basic infrastructure to support XDP. The 9th patch adds
> > basic ndo_xdp to support XDP_DROP and XDP_PASS only. The 10th patch
> > completes the series with XDP_TX.
>
> Looks great.
> Could you please share performance numbers ?
I'll post some later today.
>
> Also please add something like:
> if (prog && prog->xdp_adjust_head) {
> netdev_warn(dev, "Does not support bpf_xdp_adjust_head()\n");
> return -EOPNOTSUPP;
> }
> unless you plan to add adjut_head support until net-next closes.
> Note, it's must have for load balancer functionality.
Powered by blists - more mailing lists