[ovs-git] [openvswitch/ovs] 7f021f: netdev-dpdk: Upgrade to dpdk v18.08

GitHub noreply at github.com
Wed Nov 7 17:42:34 UTC 2018


  Branch: refs/heads/dpdk-latest
  Home:   https://github.com/openvswitch/ovs
  Commit: 7f021f902bb3e9be4bcd9d59025361d4653cbac5
      https://github.com/openvswitch/ovs/commit/7f021f902bb3e9be4bcd9d59025361d4653cbac5
  Author: Ophir Munk <ophirmu at mellanox.com>
  Date:   2018-11-07 (Wed, 07 Nov 2018)

  Changed paths:
    M .travis/linux-build.sh
    M Documentation/intro/install/dpdk.rst
    M Documentation/topics/dpdk/vhost-user.rst
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Upgrade to dpdk v18.08

1. Enable compilation and linkage with dpdk 18.08.0
The following dpdk commits which were introduced after dpdk 17.11.x
require OVS updates to accommodate to the dpdk changes.
- ce17edde ("ethdev: introduce Rx queue offloads API")
- ab3ce1e0 ("ethdev: remove old offload API")
- c06ddf96 ("meter: add configuration profile")
- e58638c3 ("ethdev: fix TPID handling in flow API")
- cd8c7c7c ("ethdev: replace bus specific struct with generic dev")
- ac8d22de ("ethdev: flatten RSS configuration in flow API")

2. Limit configured rss hash functions to only those supported
by the eth device.

3. Set default RSS key in struct action_rss_data, required by OVS commit
- e8a2b5bf ("netdev-dpdk: implement flow offload with rte flow")
when configured with "other_config:hw-offload=true"
Remark: calling RSS with 0 length (default) key is rejected
in DPDK 18.08 and will be enabled in DPDK 18.11. It has no effect
when running in a "hw-offload=false" configuration.

4. Update references to DPDK version 18.08 in Documentation and in
travis linux-build script

5. There are currently warnings on DPDK deprecated functions calls:
- rte_eth_dev_attach
- rte_eth_dev_detach
- rte_eth_devargs_parse
The deprecated functions calls replacements will be added to
DPDK 18.11.

Signed-off-by: Ophir Munk <ophirmu at mellanox.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


  Commit: 270d9216f1ed0dcafd1eed9df93e090ffef8bfa8
      https://github.com/openvswitch/ovs/commit/270d9216f1ed0dcafd1eed9df93e090ffef8bfa8
  Author: Ophir Munk <ophirmu at mellanox.com>
  Date:   2018-11-07 (Wed, 07 Nov 2018)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Set scatter based on capabilities

Before this commit setting scatter offload was based on checking
net_nfp device.
Since DPDK 17.11 more PMD drivers are reporting offload
capabilities. Therefore this commit removes the specific check
against net_nfp device and replaces it with a generic check of
device capabilities before setting the scatter offload.

Signed-off-by: Ophir Munk <ophirmu at mellanox.com>
Signed-off-by: Ian Stokes <ian.stokes at intel.com>


Compare: https://github.com/openvswitch/ovs/compare/c814545b43ac...270d9216f1ed
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list