From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6F710C3600C for ; Thu, 3 Apr 2025 19:24:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 33B2441777; Thu, 3 Apr 2025 19:24:33 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id mHcFitAaWSSL; Thu, 3 Apr 2025 19:24:32 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A623E4180F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1743708272; bh=/bCjRJO4cl7SlqWZcp9BLDfyhGrFLi70hmuoopWDyBo=; h=Date:From:To:References:In-Reply-To:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=MLLeQhTv/A6hAV2swk0XTMH4gG6KT0MgXLF5OoSlJ1XVOMbMwP2+hVmjOfHYsdxNv ffXVMsp3ouMmdavzv6TvKidwcb6ymnzeyuKepjXTFmhPNCH/o9SmyEjqLkcLBEvlcR 5zCEjuOueZyxXMIIW6a30iRRpkr72EX31OVUHIAawWI62ey/d9GAV1AsFCBvRkomyV Y6Ltud2H6MEptTZQ0cqSqv2ga3ryRkJcJHafqAHxfm/Zkd5clhq9YhjP6ckqp1kYsS Quh4F7cWJemOMuSnrQr0LRzqSJuNFDEpXSkzAjiFcuLvfSwab8uGw4xUz3YLF4c3jL gMNTLoorDbopg== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id A623E4180F; Thu, 3 Apr 2025 19:24:32 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id D32D3117 for ; Thu, 3 Apr 2025 19:24:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id C426D4171C for ; Thu, 3 Apr 2025 19:24:31 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id jiLgEr_VYKwP for ; Thu, 3 Apr 2025 19:24:31 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::633; helo=mail-pl1-x633.google.com; envelope-from=zachmgoldstein@google.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 299AB40EC1 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 299AB40EC1 Received: from mail-pl1-x633.google.com (mail-pl1-x633.google.com [IPv6:2607:f8b0:4864:20::633]) by smtp4.osuosl.org (Postfix) with ESMTPS id 299AB40EC1 for ; Thu, 3 Apr 2025 19:24:31 +0000 (UTC) Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-2240aad70f2so45245ad.0 for ; Thu, 03 Apr 2025 12:24:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743708270; x=1744313070; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/bCjRJO4cl7SlqWZcp9BLDfyhGrFLi70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ca9D3bJfx83YLMVY9jTP+Lz+qA== X-Received: by 2002:a17:903:2450:b0:223:5182:6246 with SMTP id d9443c01a7336-22a8a1c8eeemr420045ad.23.1743708270200; Thu, 03 Apr 2025 12:24:30 -0700 (PDT) Received: from google.com (245.199.125.34.bc.googleusercontent.com. [34.125.199.245]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-229787727d6sm18353575ad.229.2025.04.03.12.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Apr 2025 12:24:29 -0700 (PDT) Date: Thu, 3 Apr 2025 19:24:24 +0000 From: Zachary Goldstein To: Madhu Chittim , intel-wired-lan@lists.osuosl.org Message-ID: References: <20250402210950.1088533-1-madhu.chittim@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250402210950.1088533-1-madhu.chittim@intel.com> X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1743708270; x=1744313070; darn=lists.osuosl.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/bCjRJO4cl7SlqWZcp9BLDfyhGrFLi70hmuoopWDyBo=; b=3rGiOcDriumKJmiSKdnjti8bLI1XKzASFavFJNLU10dfj4L4Af49WU+faLpyWTJljg U2aYFN1gMgNfZYvL6Jyoin2RKuX2ZrfcFW4IQmwAsEV9xjHJblKCDGQu3sHf0sVQoN8G oaW3QeYn+lWjEpQGlkm2j8W+ooLpmSlskFbCb9FXz+Jxumy5+2oyGnFoU5mdc/G2nkLY tDPX7uPeb5OhoUc3JNG1huLpilLRzyZLqj4aaVClh9HoWWTDl+kUiNSWZS/SQ5mNl8Ig tqeIKYfrvwKshLvciTxK+PK97ll16BGoD+LrJioO2s2bBhnQ8it+oYxkvp5QJCIpPbO0 QnYA== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=reject dis=none) header.from=google.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=3rGiOcDr Subject: Re: [Intel-wired-lan] [PATCH] idpf: fix offloads support for encapsulated packets X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Wed, Apr 02, 2025 at 02:09:50PM -0700, Madhu Chittim wrote: > Split offloads into csum, tso and other offloads so that tunneled > packets do not by default have all the offloads enabled. > > Stateless offloads for encapsulated packets are not yet supported in > firmware/software but in the driver we were setting the features same as > non encapsulated features. > > Fixed naming to clarify CSUM bits are being checked for Tx. > > Inherit netdev features to VLAN interfaces as well. > > Fixes: 0fe45467a104 ("idpf: add create vport and netdev configuration") > Reviewed-by: Sridhar Samudrala > Signed-off-by: Madhu Chittim > --- > drivers/net/ethernet/intel/idpf/idpf.h | 14 ++++-- > drivers/net/ethernet/intel/idpf/idpf_lib.c | 57 ++++++++-------------- > 2 files changed, 29 insertions(+), 42 deletions(-) > Tested-By: Zachary Goldstein