[ovs-build] Passed: williamtu/ovs-travis#275 (afxdp-file-v2 - adff46f)

Travis CI builds at travis-ci.org
Sat Oct 5 00:33:20 UTC 2019

Build Update for williamtu/ovs-travis

Build: #275
Status: Passed

Duration: 44 mins and 38 secs
Commit: adff46f (afxdp-file-v2)
Author: William Tu
Message: netdev-afxdp: Enable loading XDP program.

Now netdev-afxdp always forwards all packets to userspace because
it is using libbpf's default XDP program, see 'xsk_load_xdp_prog'.
There are some cases when users want to keep packets in kernel instead
of sending to userspace, for example, management traffic such as SSH
should be processed in kernel.

The patch enables loading the user-provide XDP program by doing
  $ovs-vsctl -- set int afxdp-p0 options:xdpobj=<path/to/xdp/obj>

So users can implement their filtering logic or traffic steering idea
in their XDP program, and rest of the traffic passes to AF_XDP socket
handled by OVS.

The xdp/xdp1.c is a sample C program and has to be compile using clang
under kernel's samples/bpf/.  I don't know whether we should include
the C file in OVS, or we should include BPF bytecode, or simply not
providing any sample program in OVS.

Signed-off-by: William Tu <u9012063 at gmail.com>

View the changeset: https://github.com/williamtu/ovs-travis/compare/5ecac7a55ec1...adff46f9209a

View the full build log and details: https://travis-ci.org/williamtu/ovs-travis/builds/593781379?utm_medium=notification&utm_source=email


You can unsubscribe from build emails from the williamtu/ovs-travis repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=6871381&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20191005/cacd8890/attachment.html>

More information about the build mailing list