[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181018215041.22362.36585.stgit@john-Precision-Tower-5810>
Date: Thu, 18 Oct 2018 14:51:58 -0700
From: John Fastabend <john.fastabend@...il.com>
To: ast@...nel.org, daniel@...earbox.net
Cc: netdev@...r.kernel.org, john.fastabend@...il.com
Subject: [bpf-next PATCH 0/3] sockmap, bpf_msg_push_data helper
This series adds a new helper bpf_msg_push_data to be used by
sk_msg programs. The helper can be used to insert extra bytes into
the message that can then be used by the program as metadata tags
among other things.
The first patch adds the helper, second patch the libbpf support,
and last patch updates test_sockmap to run msg_push_data tests.
---
John Fastabend (3):
bpf: sk_msg program helper bpf_msg_push_data
bpf: libbpf support for msg_push_data
bpf: test_sockmap add options to use msg_push_data
include/linux/skmsg.h | 5 +
include/uapi/linux/bpf.h | 20 +++
net/core/filter.c | 134 +++++++++++++++++++++++
tools/include/uapi/linux/bpf.h | 20 +++
tools/testing/selftests/bpf/bpf_helpers.h | 2
tools/testing/selftests/bpf/test_sockmap.c | 58 +++++++++-
tools/testing/selftests/bpf/test_sockmap_kern.h | 97 +++++++++++++----
7 files changed, 308 insertions(+), 28 deletions(-)
--
Signature
Powered by blists - more mailing lists