Re: Co-existing XDP generic and native mode? (Re: [PATCH bpf-next v5 5/8] xdp: Provide extack messages when prog attachment failed)
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2019-02-01 21:33:30
From: Daniel Borkmann <daniel@iogearbox.net>
Date: 2019-02-01 21:33:30
On 02/01/2019 07:47 PM, Jakub Kicinski wrote: [...]
quoted
These are only refactor ideas, so if you can argue why your internal feature request for simultaneous generic and native make more sense, then I'm open for allowing this ?The request was actually to enable xdpoffload and xdpgeneric at the same time. I'm happy to have that as another HW offload exclusive for now :)
The latter is probably fine, though what's the concrete use case? :) Reason we kept native vs generic separate is mainly so that native XDP drivers are discouraged to punt missing features to generic hook instead of properly implementing them in native mode. Thanks, Daniel