bpf: cpumap convert to use generic xdp_frame
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 17 Apr 2018 14:45:57 +0000 (16:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Apr 2018 14:50:28 +0000 (10:50 -0400)
commit70280ed91cb8acb43e8fd7a8094840846c172ac5
tree7a12a407a5166ffcf81610d51678dbf50335155d
parentcac320c850efb25480cd0f71383b84ec61c0e138
bpf: cpumap convert to use generic xdp_frame

The generic xdp_frame format, was inspired by the cpumap own internal
xdp_pkt format.  It is now time to convert it over to the generic
xdp_frame format.  The cpumap needs one extra field dev_rx.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/xdp.h
kernel/bpf/cpumap.c