From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 0/2] virtio fix false offload claims Date: Fri, 7 Jul 2017 12:52:48 -0700 Message-ID: <20170707195250.22259-1-stephen@networkplumber.org> Cc: dev@dpdk.org, Stephen Hemminger To: yliu@fridaylinux.org, maxime.coquelin@redhat.com Return-path: Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by dpdk.org (Postfix) with ESMTP id 02566235 for ; Fri, 7 Jul 2017 21:52:58 +0200 (CEST) Received: by mail-pf0-f180.google.com with SMTP id c73so21724899pfk.2 for ; Fri, 07 Jul 2017 12:52:58 -0700 (PDT) List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" While doing code for Hyper-V, noticed that the virtio driver was confused about receive versus transmit offloads. The virtio checksum offload is L4 (TCP/UDP) only, not IPv4. Also, TSO and LRO are not the same. This may break some program that was assuming it was getting offloads that it wasn't. Stephen Hemminger (2): virtio: don't falsely claim to do IP checksum virtio: don't claim to support LRO drivers/net/virtio/virtio_ethdev.c | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) -- 2.11.0