[ovs-git] [openvswitch/ovs] 3d6a6f: netdev-dpdk: Fix port init when lacking Tx offload...

David Marchand noreply at github.com
Thu Feb 6 13:30:10 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 3d6a6f450af5b7eaf4b532983cb14458ae792b72
      https://github.com/openvswitch/ovs/commit/3d6a6f450af5b7eaf4b532983cb14458ae792b72
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2020-02-05 (Wed, 05 Feb 2020)

  Changed paths:
    M lib/netdev-dpdk.c

  Log Message:
  -----------
  netdev-dpdk: Fix port init when lacking Tx offloads for TSO.

The check on TSO capability did not ensure ip checksum, tcp checksum and
TSO tx offloads were available which resulted in a port init failure
(example below with a ena device):

*2020-02-04T17:42:52.976Z|00084|dpdk|ERR|Ethdev port_id=0 requested Tx
offloads 0x2a doesn't match Tx offloads capabilities 0xe in
rte_eth_dev_configure()*

Fixes: 29cf9c1b3b9c ("userspace: Add TCP Segmentation Offload support")

Reported-by: Ravi Kerur <rkerur at gmail.com>
Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Acked-by: Flavio Leitner <fbl at sysclose.org>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list