From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id 82A0319F5 for ; Wed, 28 Mar 2018 17:44:19 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id r131so6190432wmb.2 for ; Wed, 28 Mar 2018 08:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=OerwH16ih7gEYM2DNPrVTv4w1tV+QCNmH9UC0jjIB8k=; b=t5SCnyPtagMC0mC+JOAJj/TL+LFVZzxZPs+Zk/LKRWMf2N81CwxndvCDJizcK8K2qu X9KbNSGIoS9fzIVmox3AON01D6S+M3diV6JAFpbZK2GXPJdvfCNN0MJIbPU/w6yTai15 1x+KTR/mDjCvRTrLpkNkay8NNz5o0WYgLW20qqT7BtPL1EGnvI3dQlpw2o50PXOc/Fia jfn/zHwYWbk71a4+tfmdUBJ3xcLrgPTrgO0V6NqPcahuvxJKqp8Ik0uiOx916Vy1FVNs qXN+fqPoWmOcANvY4MXEcz3AOr/KBJudSgsUM+tRPOmspaK/LBT8pfVKymkznw/RgRCo IkRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=OerwH16ih7gEYM2DNPrVTv4w1tV+QCNmH9UC0jjIB8k=; b=iYLAZPh+PXOgC5Rdaw8QOyWibiFL3YWCBoO9AHnQ2lWgNHOSAsPPUE7bak8ojPb4fb 4znLwR4IC1oJwMKCbMEuGxPMtirHsHPuEeN7z/4hWcY1WKwyD4f6BecOihUbVZ1UtHfC 2EjM+heb2EFuphv/7CmOSPCBJW9FtZDITnDlE0g8OaTARiqAgtSIXcIgfrd3+KKCHRR7 g3PyDBIFMeLpQz4Au6Fgw2BvQA05p2lePHSisd+oIisCkNCPPXi3Bl6NpoyE+nUt2Nkk biN9ItJ48ftsAFYIbS7PoR0EcwWxAJFkO5Tr08ulsXMC6HdJUKOqOdJzjHNZuZ7fzWR6 bM6Q== X-Gm-Message-State: AElRT7FjW6niPmK7MKfGzfhOyQcFwi4NZFYt7ZMxyvBYHXYuealuBPZP MsfD/aT4Ak7Zh7UU9PNBXOVgsRoB X-Google-Smtp-Source: AIpwx48LOxsIj20duDONNDtSUWtI/LO+ki40Z/k3XaZ+omYuGDI0Gtt0cHNGd2IADZo1/PnlehZzUQ== X-Received: by 10.28.172.135 with SMTP id v129mr2924950wme.144.1522251858630; Wed, 28 Mar 2018 08:44:18 -0700 (PDT) Received: from pala.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id o23sm7957279wrf.93.2018.03.28.08.44.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Mar 2018 08:44:17 -0700 (PDT) From: Didier Pallard To: dev@dpdk.org Date: Wed, 28 Mar 2018 17:43:41 +0200 Message-Id: <20180328154349.24976-1-didier.pallard@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH 0/8] net/vmxnet3: fix offload issues X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 15:44:19 -0000 This patchset fixes several issues found in vmxnet3 driver when enabling LRO offload support: - Rx offload information are not correctly gathered in multisegmented packets, leading to inconsistent packet type and Rx offload bits in resulting mbuf - MSS recovery from offload information is not done thus LRO mbufs do not contain a correct tso_segsz value. - MSS value is not propagated by the host on some hypervisor versions (6.0 for example) - If two small TCP segments are aggregated in a single mbuf, an empty segment that only contains offload information is appended to this segment, and is propagated as is to the application. But if the application sends back to the hypervisor a mbuf with an empty segment, this mbuf is dropped by the hypervisor. Didier Pallard (8): net: export IPv6 header extensions skip function net/vmxnet3: return unknown IPv4 extension len ptype net/vmxnet3: gather offload data on first and last segment net/vmxnet3: fix Rx offload information in multiseg packets net/vmxnet3: complete Rx offloads support net/vmxnet3: guess mss if not provided in LRO mode net/vmxnet3: ignore emtpy segments in reception net/vmxnet3: skip empty segments in transmission drivers/net/vmxnet3/Makefile | 1 + drivers/net/vmxnet3/base/vmxnet3_defs.h | 27 ++++- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 + drivers/net/vmxnet3/vmxnet3_ethdev.h | 1 + drivers/net/vmxnet3/vmxnet3_rxtx.c | 200 ++++++++++++++++++++++++++------ lib/librte_net/Makefile | 1 + lib/librte_net/rte_net.c | 21 ++-- lib/librte_net/rte_net.h | 27 +++++ lib/librte_net/rte_net_version.map | 1 + 9 files changed, 238 insertions(+), 43 deletions(-) -- 2.11.0