mbox series

[bpf-next,0/5] net: xdp: allow offload to coexist with generic

Message ID 20190206040324.22109-1-jakub.kicinski@netronome.com
Headers show
Series net: xdp: allow offload to coexist with generic | expand

Message

Jakub Kicinski Feb. 6, 2019, 4:03 a.m. UTC
Hi!

Offloaded and native/driver XDP programs can already coexist.
Allow offload and generic hook to coexist as well, there seem
to be no reason why not to do so.

Jakub Kicinski (5):
  selftests/bpf: fix the expected messages
  net: xdp: allow generic and driver XDP on one interface
  selftests/bpf: print traceback when test fails
  selftests/bpf: add test for mixing generic and offload XDP
  selftests/bpf: test reading the offloaded program

 net/core/dev.c                              |  10 +-
 tools/testing/selftests/bpf/test_offload.py | 135 ++++++++++++--------
 2 files changed, 85 insertions(+), 60 deletions(-)

Comments

Daniel Borkmann Feb. 6, 2019, 2:44 p.m. UTC | #1
On 02/06/2019 05:03 AM, Jakub Kicinski wrote:
> Hi!
> 
> Offloaded and native/driver XDP programs can already coexist.
> Allow offload and generic hook to coexist as well, there seem
> to be no reason why not to do so.
> 
> Jakub Kicinski (5):
>   selftests/bpf: fix the expected messages
>   net: xdp: allow generic and driver XDP on one interface
>   selftests/bpf: print traceback when test fails
>   selftests/bpf: add test for mixing generic and offload XDP
>   selftests/bpf: test reading the offloaded program
> 
>  net/core/dev.c                              |  10 +-
>  tools/testing/selftests/bpf/test_offload.py | 135 ++++++++++++--------
>  2 files changed, 85 insertions(+), 60 deletions(-)
> 

Applied, thanks!