[ovs-git] [openvswitch/ovs] d46b60: rhel/ifup: support vhost-user client mode

GitHub noreply at github.com
Sat Feb 11 00:21:07 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: d46b603797c6fa8ab979e3de4ead73e50a37e7ec
      https://github.com/openvswitch/ovs/commit/d46b603797c6fa8ab979e3de4ead73e50a37e7ec
  Author: Aaron Conole <aconole at bytheb.org>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M rhel/README.RHEL.rst
    M rhel/etc_sysconfig_network-scripts_ifup-ovs

  Log Message:
  -----------
  rhel/ifup: support vhost-user client mode

This adds support for ifup to configure client-mode sockets by exposing
two new variables $OVS_PORT_MODE and $OVS_PORT_PATH to the ifcfg
scripts.  When OVS_PORT_MODE is set to 'client', the OVS_PORT_PATH will
be passed as the vhost-server-path option.

No change is needed to ifdown because the OVSDPDKVhostUserPort type
already has an appropriate entry.

Signed-off-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>


  Commit: 6c4f08e23f5ec5c97508b42ae8440a8dadc520da
      https://github.com/openvswitch/ovs/commit/6c4f08e23f5ec5c97508b42ae8440a8dadc520da
  Author: nickcooper-zhangtonghao <nic at opencloud.tech>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M lib/dpdk.c

  Log Message:
  -----------
  dpdk: Fixes memory leak in dpdk_init__().

If users configure the 'vhost-sock-dir' for dpdk, the memory
allocated by xstrdup(ovs_rundir()) is not freed. This patch
allows the process_vhost_flags to xstrdup() for val or
default_val according to configuration and the caller must
free new_val when it is no longer needed.

Fixes: 01961bbdd34a ("dpdk: New module with some code from netdev-dpdk.")
CC: Daniele Di Proietto <diproiettod at vmware.com>
Signed-off-by: nickcooper-zhangtonghao <nic at opencloud.tech>
Reviewed-by: Aaron Conole <aconole at redhat.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>


  Commit: e6932e5dd59fe2bd7d90ef365bdd95707cd369d0
      https://github.com/openvswitch/ovs/commit/e6932e5dd59fe2bd7d90ef365bdd95707cd369d0
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
    M AUTHORS.rst
    M rhel/openvswitch-fedora.spec.in

  Log Message:
  -----------
  rhel: Fix dpdk-devel version and dependencies in fedora packager

Now dpdk-devel >= 16.11 is needed and also libpcap-devel numactl-devel

Tested on mock with rawhide chroot and Fedora 23 vagrant machine by using the
rawhide dpdk and dpdk-devel packages

Signed-off-by: Timothy Redaelli <tredaelli at redhat.com>
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>


Compare: https://github.com/openvswitch/ovs/compare/389e90e37d61...e6932e5dd59f


More information about the git mailing list