On Wed, Feb 5, 2020 at 12:42 PM Flavio Leitner <[email protected]> wrote: > > On Tue, Feb 04, 2020 at 10:28:26PM +0100, David Marchand wrote: > > 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 <[email protected]> > > Signed-off-by: David Marchand <[email protected]> > > --- > > Works for me. > Acked-by: Flavio Leitner <[email protected]> > > This needs to go to master and branch-2.13.
Thinking again about this, don't we have an issue in that we always ask drivers for offloads even if TSO is disabled? I would expect a performance impact, since dpdk pmds (eyeing ixgbe driver which checks txq->offloads == 0) love to select optimised tx function based on offloads configuration. -- David Marchand _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
