From: Alexei Starovoitov Date: Tue, 11 Jun 2019 06:31:48 +0000 (-0700) Subject: Merge branch 'xskmap-lookup' X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=ab1b3a957de3fa92e75b3ba7bd842263ecebf495;p=uclinux-h8%2Flinux.git Merge branch 'xskmap-lookup' Jonathan Lemon says: ==================== Currently, the AF_XDP code uses a separate map in order to determine if an xsk is bound to a queue. Have the xskmap lookup return a XDP_SOCK pointer on the kernel side, which the verifier uses to extract relevant values. Patches: 1 - adds XSK_SOCK type 2 - sync bpf.h with tools 3 - add tools selftest 4 - update lib/bpf, removing qidconf v4->v5: - xskmap lookup now returns XDP_SOCK type instead of pointer to element. - no changes lib/bpf/xsk.c v3->v4: - Clarify error handling path. v2->v3: - Use correct map type. ==================== Acked-by: Björn Töpel Signed-off-by: Alexei Starovoitov --- ab1b3a957de3fa92e75b3ba7bd842263ecebf495