Netdev List
 help / color / mirror / Atom feed
From: Jakub Kicinski <jakub.kicinski@netronome.com>
To: alexei.starovoitov@gmail.com, daniel@iogearbox.net
Cc: oss-drivers@netronome.com, netdev@vger.kernel.org,
	Jakub Kicinski <jakub.kicinski@netronome.com>
Subject: [PATCH bpf-next 0/4] samples: bpf: convert two more samples to libbpf
Date: Thu, 26 Jul 2018 14:32:17 -0700	[thread overview]
Message-ID: <20180726213221.1295-1-jakub.kicinski@netronome.com> (raw)

Hi!

This set converts xdpsock_user.c and xdp_fwd_user.c to use libbpf instead
of bpf_load.o.  First two patches are minor improvements to libbpf to make
the conversion (and use of libbpf in general) nicer.

Jakub Kicinski (4):
  tools: libbpf: handle NULL program gracefully in bpf_program__nth_fd()
  tools: libbpf: add bpf_object__find_program_by_title()
  samples: bpf: convert xdp_fwd_user.c to libbpf
  samples: bpf: convert xdpsock_user.c to libbpf

 samples/bpf/Makefile       |  4 ++--
 samples/bpf/xdp_fwd_user.c | 34 +++++++++++++++++++++++-----------
 samples/bpf/xdpsock_user.c | 38 +++++++++++++++++++++++++++++---------
 tools/lib/bpf/libbpf.c     | 15 +++++++++++++++
 tools/lib/bpf/libbpf.h     |  3 +++
 5 files changed, 72 insertions(+), 22 deletions(-)

-- 
2.17.1

             reply	other threads:[~2018-07-26 22:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-26 21:32 Jakub Kicinski [this message]
2018-07-26 21:32 ` [PATCH bpf-next 1/4] tools: libbpf: handle NULL program gracefully in bpf_program__nth_fd() Jakub Kicinski
2018-07-26 21:32 ` [PATCH bpf-next 2/4] tools: libbpf: add bpf_object__find_program_by_title() Jakub Kicinski
2018-07-26 21:32 ` [PATCH bpf-next 3/4] samples: bpf: convert xdp_fwd_user.c to libbpf Jakub Kicinski
2018-07-26 21:32 ` [PATCH bpf-next 4/4] samples: bpf: convert xdpsock_user.c " Jakub Kicinski
2018-07-26 23:57 ` [PATCH bpf-next 0/4] samples: bpf: convert two more samples " Y Song
2018-07-27  5:21 ` Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180726213221.1295-1-jakub.kicinski@netronome.com \
    --to=jakub.kicinski@netronome.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=daniel@iogearbox.net \
    --cc=netdev@vger.kernel.org \
    --cc=oss-drivers@netronome.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox