[ovs-git] [openvswitch/ovs] 56abcf: vswitchd: Introduce 'mtu_request' column in Interf...

GitHub noreply at github.com
Sat Aug 13 02:41:17 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 56abcf497b5615d2c30f62bec5af81a38145ecbc
      https://github.com/openvswitch/ovs/commit/56abcf497b5615d2c30f62bec5af81a38145ecbc
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
    M NEWS
    M lib/netdev-dpdk.c
    M vswitchd/bridge.c
    M vswitchd/vswitch.ovsschema
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  vswitchd: Introduce 'mtu_request' column in Interface.

The 'mtu_request' column can be used to set the MTU of a specific
interface.

This column is useful because it will allow changing the MTU of DPDK
devices (implemented in a future commit), which are not accessible
outside the ovs-vswitchd process, but it can be used for kernel
interfaces as well.

The current implementation of set_mtu() in netdev-dpdk is removed
because it's broken.  It will be reintroduced by a subsequent commit on
this series.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ilya Maximets <i.maximets at samsung.com>


  Commit: 4124cb1254dff0f1f6c4d7d6f730f0a5698c54f4
      https://github.com/openvswitch/ovs/commit/4124cb1254dff0f1f6c4d7d6f730f0a5698c54f4
  Author: Daniele Di Proietto <diproiettod at vmware.com>
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
    M lib/netdev-dummy.c
    M lib/netdev-linux.c
    M lib/netdev-provider.h
    M lib/netdev.c
    M lib/netdev.h

  Log Message:
  -----------
  netdev: Make netdev_set_mtu() netdev parameter non-const.

Every provider silently drops the const attribute when converting the
parameter to the appropriate subclass.  Might as well drop the const
attribute from the parameter, since this is a "set" function.

Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
Acked-by: Ilya Maximets <i.maximets at samsung.com>


  Commit: 0072e931b207f491717f94b91e098ecda30e4908
      https://github.com/openvswitch/ovs/commit/0072e931b207f491717f94b91e098ecda30e4908
  Author: Mark Kavanagh <mark.b.kavanagh at intel.com>
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
    M INSTALL.DPDK-ADVANCED.md
    M INSTALL.DPDK.md
    M NEWS
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: add support for jumbo frames

Add support for Jumbo Frames to DPDK-enabled port types,
using single-segment-mbufs.

Using this approach, the amount of memory allocated to each mbuf
to store frame data is increased to a value greater than 1518B
(typical Ethernet maximum frame length). The increased space
available in the mbuf means that an entire Jumbo Frame of a specific
size can be carried in a single mbuf, as opposed to partitioning
it across multiple mbuf segments.

The amount of space allocated to each mbuf to hold frame data is
defined dynamically by the user with ovs-vsctl, via the 'mtu_request'
parameter.

Signed-off-by: Mark Kavanagh <mark.b.kavanagh at intel.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
[diproiettod at vmware.com rebased]
Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>


Compare: https://github.com/openvswitch/ovs/compare/ad44446da248...0072e931b207


More information about the git mailing list