[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240515104740.GF154012@kernel.org>
Date: Wed, 15 May 2024 11:47:40 +0100
From: Simon Horman <horms@...nel.org>
To: Ronak Doshi <ronak.doshi@...adcom.com>
Cc: netdev@...r.kernel.org,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next 3/4] vmxnet3: add command to allow disabling of
offloads
On Tue, May 14, 2024 at 11:20:48AM -0700, Ronak Doshi wrote:
> This patch adds a new command to disable certain offloads. This
> allows user to specify, using VM configuration, if certain offloads
> need to be disabled.
>
> Signed-off-by: Ronak Doshi <ronak.doshi@...adcom.com>
> Acked-by: Guolin Yang <guolin.yang@...adcom.com>
..
> @@ -912,4 +913,7 @@ struct Vmxnet3_DriverShared {
> /* when new capability is introduced, update VMXNET3_CAP_MAX */
> #define VMXNET3_CAP_MAX VMXNET3_CAP_VERSION_7_MAX
>
> +#define VMXNET3_OFFLOAD_TSO (1 << 0)
> +#define VMXNET3_OFFLOAD_LRO (1 << 1)
nit: Please consider using the BIT() macro.
..
Powered by blists - more mailing lists