Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp83069ybm; Thu, 28 May 2020 16:42:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUaQ2KCPRpccG60GDq2500BlfERAoAtqjnhZRErEusKL+wgJGhJK0zXbEoReZGAhRnnBby X-Received: by 2002:a50:afa2:: with SMTP id h31mr5752814edd.213.1590709351850; Thu, 28 May 2020 16:42:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590709351; cv=none; d=google.com; s=arc-20160816; b=f/3up2Rnj6x0hEU2Q6l7hM9shwYO3fS07ug67Wwmyi2Y3qns8rhNI5qspigXoIuOYT 3KWcPUGRDUZKbOUz6u4p71RZtUCbdfPnY6ctb/2plFO0TIMZIjTnqQ1ZN/dDMp1f1shm SUIisHbUaYuiyIqb50zZWIPp3UZjQqGLXRB2/l7LXjg9zynWf25p5fStuFQBjkM+QnvA sXysImbyJmkRPuFcOTyYE40KktRWsrXzC7rejZzJkhMfQRbrDTkFiL9xUtJpJntbqolJ zLnInbevGU8DimGR1QVIpqguQT4w4d2alfjnBRi0WLm37sn31d5E3qRrwKF/C/3TjZVI STvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=fbGbE8r8T87MTBfBLoYVoiI5qWr+DTY7MhcmZ8v71v0=; b=cCOYXjCuCF+mULRh6zjIc8oIR6FnNeZYyxzg6rDc75MNpaEp0f9rKTKHkTwL8JAK1H ObsldyOKr8XK29+6e5ByR/bx3VSiK0A6YGEgrepQy+mCKH4l0n/lzevJlmTx6s8HSqRs N89W1iK3kKTflUjPixBUezmvdO3qR7sdwC9gGUK0AN8bPgVbNoRjkcyPuppwWHb2TBIg p2+qIx4O3jmvCsAk504V966oXWIPIaWaJm9vbrnNjXGm23r2078Gj6an0hcnMyMbmLco FUHxJ9P44KoDR1l40srV6ryKuUg5zkDZ4pJKWHp0+y6ECSVUz/QLzpVojZE+6ppcfEJU qWZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t9si4955793eds.213.2020.05.28.16.42.09; Thu, 28 May 2020 16:42:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437545AbgE1X1P (ORCPT + 99 others); Thu, 28 May 2020 19:27:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437484AbgE1X1N (ORCPT ); Thu, 28 May 2020 19:27:13 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 05B0EC08C5C6; Thu, 28 May 2020 16:27:13 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 5DFCE1296CF84; Thu, 28 May 2020 16:27:11 -0700 (PDT) Date: Thu, 28 May 2020 16:27:08 -0700 (PDT) Message-Id: <20200528.162708.2161599947641716831.davem@davemloft.net> To: doshir@vmware.com Cc: netdev@vger.kernel.org, pv-drivers@vmware.com, kuba@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 net-next 0/4] vmxnet3: upgrade to version 4 From: David Miller In-Reply-To: <20200528215322.31682-1-doshir@vmware.com> References: <20200528215322.31682-1-doshir@vmware.com> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 28 May 2020 16:27:11 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ronak Doshi Date: Thu, 28 May 2020 14:53:18 -0700 > vmxnet3 emulation has recently added several new features which includes > offload support for tunnel packets, support for new commands the driver > can issue to emulation, change in descriptor fields, etc. This patch > series extends the vmxnet3 driver to leverage these new features. > > Compatibility is maintained using existing vmxnet3 versioning mechanism as > follows: > - new features added to vmxnet3 emulation are associated with new vmxnet3 > version viz. vmxnet3 version 4. > - emulation advertises all the versions it supports to the driver. > - during initialization, vmxnet3 driver picks the highest version number > supported by both the emulation and the driver and configures emulation > to run at that version. > > In particular, following changes are introduced: > > Patch 1: > This patch introduces utility macros for vmxnet3 version 4 comparison > and updates Copyright information. > > Patch 2: > This patch implements get_rss_hash_opts and set_rss_hash_opts methods > to allow querying and configuring different Rx flow hash configurations > which can be used to support UDP/ESP RSS. > > Patch 3: > This patch introduces segmentation and checksum offload support for > encapsulated packets. This avoids segmenting and calculating checksum > for each segment and hence gives performance boost. > > Patch 4: > With all vmxnet3 version 4 changes incorporated in the vmxnet3 driver, > with this patch, the driver can configure emulation to run at vmxnet3 > version 4. > > Changes in v3 -> v4: > - Replaced BUG_ON() with WARN_ON_ONCE() ... Series applied, thanks.