[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5A49B013-706A-4FCB-996B-D21721F501CF@fb.com>
Date: Thu, 28 Mar 2019 14:29:31 +0000
From: Jonathan Lemon <bsd@...com>
To: Björn Töpel <bjorn.topel@...il.com>
CC: Maxim Mikityanskiy <maximmi@...lanox.com>,
Magnus Karlsson <magnus.karlsson@...il.com>,
Magnus Karlsson <magnus.karlsson@...el.com>,
Björn Töpel <bjorn.topel@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Eran Ben Elisha <eranbe@...lanox.com>,
Tariq Toukan <tariqt@...lanox.com>,
Saeed Mahameed <saeedm@...lanox.com>
Subject: Re: New xdpsock sample
> On Mar 28, 2019, at 5:35 AM, Björn Töpel <bjorn.topel@...il.com> wrote:
>
> Magnus and I took the route to simplify the sample, to make it easier
> for new users. I still think that was the right path. Should there be
> a sample showcasing all the knobs/pulleys?
One problem I ran into yesterday is that the bpf program is dependent on the xsks_map and qidconf_map layout. There really isn’t a way to simply drop a new bpf program in without duplicating chunks of the sample code. So in that respect, the original code was clearer.
—
Jonathan
Powered by blists - more mailing lists