Merge "bpf offload - add a new 'tether_xdp_devmap'" am: b908e0c867 am: f5a9d32a73
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1612879 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: If362ffe9a8ed9018e4b6a9349987f7abe6d7338a
This commit is contained in:
committed by
Automerger Merge Worker
commit
b6cf0d8785
@@ -723,6 +723,9 @@ DEFINE_BPF_PROG_KVER_RANGE("schedcls/tether_upstream4_rawip$stub", AID_ROOT, AID
|
||||
|
||||
// ----- XDP Support -----
|
||||
|
||||
DEFINE_BPF_MAP_GRW(tether_xdp_devmap, DEVMAP_HASH, uint32_t, uint32_t, 64,
|
||||
AID_NETWORK_STACK)
|
||||
|
||||
#define DEFINE_XDP_PROG(str, func) \
|
||||
DEFINE_BPF_PROG_KVER(str, AID_ROOT, AID_NETWORK_STACK, func, KVER(5, 9, 0))(struct xdp_md *ctx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user