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

GitHub noreply at github.com
Sat Feb 11 00:20:52 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: bd04407b956aa8eeff023055da12ede8734261fd
      https://github.com/openvswitch/ovs/commit/bd04407b956aa8eeff023055da12ede8734261fd
  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: 9df3364e32921bb9bc0cefe1acc497935cc89daf
      https://github.com/openvswitch/ovs/commit/9df3364e32921bb9bc0cefe1acc497935cc89daf
  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: 740ff333390f644d4d842eef2122157cbebc8303
      https://github.com/openvswitch/ovs/commit/740ff333390f644d4d842eef2122157cbebc8303
  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/f69f8ee7a5a1...740ff333390f


More information about the git mailing list