[ovs-git] [openvswitch/ovs] 884ca8: ovs-thread: Add pthread spin lock support.

William Tu noreply at github.com
Fri Jul 19 14:44:55 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 884ca8aceb0cbb5dc8ca3d124a59157ef2b941cf
      https://github.com/openvswitch/ovs/commit/884ca8aceb0cbb5dc8ca3d124a59157ef2b941cf
  Author: William Tu <u9012063 at gmail.com>
  Date:   2019-07-19 (Fri, 19 Jul 2019)

  Changed paths:
    M configure.ac
    M include/openvswitch/thread.h
    M lib/ovs-thread.c

  Log Message:
  -----------
  ovs-thread: Add pthread spin lock support.

The patch adds the basic spin lock functions:
ovs_spin_{lock, try_lock, unlock, init, destroy}.

Signed-off-by: William Tu <u9012063 at gmail.com>
Acked-by: Ilya Maximets <i.maximets at samsung.com>
Acked-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>


  Commit: 0de1b425962db073ebbaa3ddbde445580afda840
      https://github.com/openvswitch/ovs/commit/0de1b425962db073ebbaa3ddbde445580afda840
  Author: William Tu <u9012063 at gmail.com>
  Date:   2019-07-19 (Fri, 19 Jul 2019)

  Changed paths:
    M Documentation/automake.mk
    M Documentation/index.rst
    A Documentation/intro/install/afxdp.rst
    M Documentation/intro/install/index.rst
    M NEWS
    M acinclude.m4
    M configure.ac
    M lib/automake.mk
    M lib/dp-packet.c
    M lib/dp-packet.h
    M lib/dpif-netdev-perf.h
    A lib/netdev-afxdp-pool.c
    A lib/netdev-afxdp-pool.h
    A lib/netdev-afxdp.c
    A lib/netdev-afxdp.h
    A lib/netdev-linux-private.h
    M lib/netdev-linux.c
    M lib/netdev-provider.h
    M lib/netdev.c
    M lib/util.c
    M lib/util.h
    M tests/.gitignore
    M tests/automake.mk
    A tests/system-afxdp-macros.at
    A tests/system-afxdp-testsuite.at
    M tests/system-traffic.at
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  netdev-afxdp: add new netdev type for AF_XDP.

The patch introduces experimental AF_XDP support for OVS netdev.
AF_XDP, the Address Family of the eXpress Data Path, is a new Linux socket
type built upon the eBPF and XDP technology.  It is aims to have comparable
performance to DPDK but cooperate better with existing kernel's networking
stack.  An AF_XDP socket receives and sends packets from an eBPF/XDP program
attached to the netdev, by-passing a couple of Linux kernel's subsystems
As a result, AF_XDP socket shows much better performance than AF_PACKET
For more details about AF_XDP, please see linux kernel's
Documentation/networking/af_xdp.rst. Note that by default, this feature is
not compiled in.

Signed-off-by: William Tu <u9012063 at gmail.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>


Compare: https://github.com/openvswitch/ovs/compare/ce2c1065c269...0de1b425962d


More information about the git mailing list