Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp161694lqc; Thu, 29 Feb 2024 13:23:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXQF4ZmMgWICKFFYQpZdeR9GDMIFtDGWgDRyNEZFh1k1pmz6SNRFFNUKFZztidtUzF/nkRSdbeOljh1eelfuMYhNkZsymb5tK1eSuonDA== X-Google-Smtp-Source: AGHT+IHhw3tFVJ1FygA1IG+kLyDsHOBwmCUg0rgOwy/dXJRcvJyZ12n8kvfkb9YLiFR3qGvjUG0S X-Received: by 2002:a17:906:7fd3:b0:a44:790d:6a with SMTP id r19-20020a1709067fd300b00a44790d006amr97667ejs.4.1709241837101; Thu, 29 Feb 2024 13:23:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709241837; cv=pass; d=google.com; s=arc-20160816; b=rDcoU1UKK3qzIRoOzWvrG4JDNQPj8uTjI6yc+qwoo9iQ5hE99J0QGlEHjNpS6RfxRA 2Zb748hiRkpJ9vhnTmAx/qjrN2LuQDe8z1mwEBpvELB4V2fk/OsBNWZSsrsHNfiwYbhZ kKyW6eMdO1BJsO2kCf9eZKSMcCqShti+uh+Kqu6HzQyir9y4Qxv0E723rWnVZc1iil6T vYB1b9nzPPj/9gflLEbJqDDpnDD3yJ3rhGcWZAD8/2UVdFiHjeQ0XjLwWsj+DftR3q4S O5gVW1PDiRBNCdo51yGhG2VI5lhlyPyFlxqECW9cGZ5A2vw5kMFko10QMS2sHkdBRRKO Pf2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature; bh=fLhWwQ23CyyTvDsLOK851AhQhodJoK3lOakZm//Wnio=; fh=5lY3A5RdcuVYfX1D+VpZ9teoOX4j/Fvp6QRS3MDqvzk=; b=EcOE6iTc6f4uihiCz3MAD5iHlH0WxNMWyCnOAdU14G2VjalccuvJrPpPjA+cOKilln +76axavj7GQ+hfOuSOafhM4fvXscryLXoSmypKVG9yrnmW4QKTVMf7p2KmiyzCHHksUF vhArinoh2UHbgQ+Pds8jIiwCezkHfljyPFDATNQ5aYDGftRFoXskuxR/38u6aOxwAuIc 7OMWmU6BIXJC0GKyZP8eqqmtQl6SfvdJ6zgd2iD+IxRKJAfN6GhxTA9p4gxS/lsTVWNe 8cSwgrl5o/hmWOrKTH3Ssi0VA7cT+jjdPoNI3NXZaT7h6TiDnih9mPKPiYFIUagVrS8J In7g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=OhvjvEUv; arc=pass (i=1 spf=pass spfdomain=flex--ziweixiao.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-87574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id nc22-20020a1709071c1600b00a3e34ecee31si909204ejc.1049.2024.02.29.13.23.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 13:23:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=OhvjvEUv; arc=pass (i=1 spf=pass spfdomain=flex--ziweixiao.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-87574-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87574-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D02461F21BC8 for ; Thu, 29 Feb 2024 21:23:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D60396D523; Thu, 29 Feb 2024 21:23:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="OhvjvEUv" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 93F9A16FF21 for ; Thu, 29 Feb 2024 21:23:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709241813; cv=none; b=NiURp1GdRKIfmEtNFdUTx6grReP4iO7fXV+gVH7vOfv9+kd/12pEmhZ0CF6Uqgmkgd8rYV/jLAnFcwA4SGfxTlIBoJvjZ53UcIc6w8iA6ewV6ITXO2GGih9EWUPXmbOUF37VGfEv7Or9rl8CIbtzx8SNb9PqzhgRVjC1Goe4ohY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709241813; c=relaxed/simple; bh=VjPiDMf6IhNaW+cu762GVEnCAc1qZeJ+AXh7xICr/eo=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=UPywW64MDNEeD1AJZhxYM2kc90xWWhnjaQU130vgFZXGHcJC4S0hKzOWKqvxgdRFhcu6oTZxfO1CsHUn2os9D/R2uDfuuY+IIg81d7JT9GEPMUh7JRMTVmLNMSnvddqLBbZzAiwmn+/SeLJiW1QvV2qzaDgjtYPDSGleVU6SGHQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--ziweixiao.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=OhvjvEUv; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--ziweixiao.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-608cf88048eso24050777b3.0 for ; Thu, 29 Feb 2024 13:23:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1709241810; x=1709846610; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=fLhWwQ23CyyTvDsLOK851AhQhodJoK3lOakZm//Wnio=; b=OhvjvEUv5RXKCUisVhYiqDWeUklAeaS3hGRg4KGnR2UMBDVg1Vjq/ZK0dkEnNLGsin rT9+I6LUjj8o/9fYKgT0s4kmJQ8KN6YxlI7zO/Zo+rq4ELFdQCUGwX/QDDMYs4gurwcI sZkWN5ns7xDV0q+JPZOYPLTro3EPHMVcWj0BhKAuZyf37uKOUN2rVoWG0J0NG5u+d68t KCvGCAsW9t+aR2FlYAqZqtKu/q8ci/rZs9rgMMtLfrMUxDEKmr0VfodE8Y27yWObtgE2 fGuiG78jL3Lh9O0lBVMsp9D5STMXF3ySNIzOSSwnBVz+UexlLkqUdqm0HGwdK9ebflMD Ticg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709241810; x=1709846610; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=fLhWwQ23CyyTvDsLOK851AhQhodJoK3lOakZm//Wnio=; b=bKN6dVBOcKK0ARhZRVG9jWHClZGHV/PBoriCbB90h1Rv4hzcN/peIHqxyz/u2ZY3Ei JLEcqPoX+/HPswdY//pwbAiGD+/5UAJ9rJ+4pZyMCZGK22eqeTrPdw1i80u82sJ4D9M1 yDJoqBwtMkR81ZFMdKrUbYVJeQaZEuhE+WwAY44F/+BSLWdgeAasAuAg4d3by9ZC1iWz aZmgsXvV7R4fe+CnpPQewPi7ht3Xew5TL5PhMla5SN13WJM7JnRGvOaxyRs9HAyXXxDw zyHjpJdfhGpVtHqQWz9m443Q7KRha2ELJ5WW/QXYO5Y5pWU+BgWjzKBGEdfF7dm+l5Tr iIBA== X-Forwarded-Encrypted: i=1; AJvYcCWZqPxZwiHhN4x1O5XRhHDRtWI42UlCPoxijbRbQEQXzQWJPiabPhBISYUoeXmPG4k8P2VnxZWzMsLEtYFQktS0tMi7cy9mVDDQQaKq X-Gm-Message-State: AOJu0YyDIa3T6R5/9lQMTHq5sEF+ohkI1J/9SVndaIdF5DV+1gxAFr66 kT0ySWA/EeEe2tCZnOPV0tNsvnnLekQSIez47SyhqFouo/yLa63gRhIIf6XqFkErPAqqcoSmeCL riN2hx0V5jvNHCQ== X-Received: from ziweixiao.sea.corp.google.com ([2620:15c:11c:202:43b5:fdf3:8395:a655]) (user=ziweixiao job=sendgmr) by 2002:a25:abc2:0:b0:dc7:48ce:d17f with SMTP id v60-20020a25abc2000000b00dc748ced17fmr800935ybi.10.1709241810564; Thu, 29 Feb 2024 13:23:30 -0800 (PST) Date: Thu, 29 Feb 2024 13:22:33 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.44.0.rc1.240.g4c46232300-goog Message-ID: <20240229212236.3152897-1-ziweixiao@google.com> Subject: [PATCH net-next 0/3] gve: Add header split support From: Ziwei Xiao To: netdev@vger.kernel.org Cc: jeroendb@google.com, pkaligineedi@google.com, shailend@google.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, willemb@google.com, rushilg@google.com, jfraker@google.com, jrkim@google.com, hramamurthy@google.com, ziweixiao@google.com, horms@kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Currently, the ethtool's ringparam has added a new field tcp-data-split for enabling and disabling header split. These three patches will utilize that ethtool flag to support header split in GVE driver. Jeroen de Borst (3): gve: Add header split device option gve: Add header split data path gve: Add header split ethtool stats drivers/net/ethernet/google/gve/gve.h | 27 +++++++- drivers/net/ethernet/google/gve/gve_adminq.c | 50 ++++++++++++-- drivers/net/ethernet/google/gve/gve_adminq.h | 20 +++++- drivers/net/ethernet/google/gve/gve_ethtool.c | 62 +++++++++++++---- drivers/net/ethernet/google/gve/gve_main.c | 65 ++++++++++++++++-- drivers/net/ethernet/google/gve/gve_rx_dqo.c | 68 ++++++++++++++++++- drivers/net/ethernet/google/gve/gve_utils.c | 17 +++-- drivers/net/ethernet/google/gve/gve_utils.h | 3 + 8 files changed, 277 insertions(+), 35 deletions(-) -- 2.44.0.rc1.240.g4c46232300-goog