[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200814.142656.1061722366614948972.davem@davemloft.net>
Date: Fri, 14 Aug 2020 14:26:56 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Jason@...c4.com
Cc: kuba@...nel.org, netdev@...r.kernel.org, thomas@...kpuppet.org,
adhipati@...a.io, dsahern@...il.com, toke@...hat.com,
alexei.starovoitov@...il.com
Subject: Re: [PATCH net v4] net: xdp: account for layer 3 packets in
generic skb handler
From: "Jason A. Donenfeld" <Jason@...c4.com>
Date: Fri, 14 Aug 2020 23:04:56 +0200
> What? No. It comes up repeatedly because people want to reuse their
> XDP processing logic with layer 3 devices.
XDP is a layer 2 packet processing technology. It assumes an L2
ethernet and/or VLAN header is going to be there.
Putting a pretend ethernet header there doesn't really change that.
Powered by blists - more mailing lists