From patchwork Tue Oct 11 05:56:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khalid Elmously X-Patchwork-Id: 1688464 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=T0bQ40GS; dkim-atps=neutral Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MmlRz1w5Cz23k0 for ; Tue, 11 Oct 2022 16:57:34 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1oi8GP-0008Em-Cp; Tue, 11 Oct 2022 05:57:13 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1oi8GN-0008EJ-Ge for kernel-team@lists.ubuntu.com; Tue, 11 Oct 2022 05:57:11 +0000 Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id C9116402E1 for ; Tue, 11 Oct 2022 05:57:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1665467829; bh=RGaFQJd4y8zHtLKQ99Tv+46j1bV2cpApWlt+qyBOl2s=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=T0bQ40GSSxFHU3omlMFQ148rmjcfuP2RC2gtp31PA9YvVgCfl17rmNQ2MHciRtp9y wZARnnR1eV5zhISx4ZJ7AXkBoK6ajK0SclM1FiAcrggVO0x4bYLc4G3ioOHNm9HRbc SrMlC/3Nc5bCJY5HDE7lwYDxX08rlN2j5Chdg1vr/zeblIxqPCPqmQjH14AIrQ504d 0GenS6oB9iO0CEm0R1Dz1bThOZ9+3GDYc2VBe9l//oHPobUOFmi+pK3dDEDZihw3V4 muYREZ75+YHcYEEXuaXPWwWWKVXrWhrqNKB1LnZJVFdpPWsEZ1B4CBryy65OiFgOpA aAY82NoUXko2A== Received: by mail-qk1-f199.google.com with SMTP id u7-20020a05620a0c4700b006ee526183fcso1883139qki.8 for ; Mon, 10 Oct 2022 22:57:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RGaFQJd4y8zHtLKQ99Tv+46j1bV2cpApWlt+qyBOl2s=; b=rSrQ4OTGYl6t+a2sC6PHK7PZhlP8/U1u30G9xnT3kw4IQZxNgsN2X/pKrBsmMMU506 C6iE7FaSp0BDeihX6ZpYnVClb80IpdcS4z3AlIMaIboJKbEybQtWXI2VwFVstdG73WMI mHXKxDqzXXzfl/lnzFAobH8bakY6mDPwmrbG+IQp/dA24tZd+v8kVdTWZOngNA0Tfjz+ 0cu08XfCrPBCSjZzF/rzpVRy9pQ5k0iD5sgakkHWtDlkvNi489ama55DTi7O3yxhP5Nu iRjvUPYjlS3m1rR1pTWBS5xsLXLfWURlR2kaghdQuLQFqfgNeQMNQEJCBmReYvpg+lbe Qnew== X-Gm-Message-State: ACrzQf3NmSv4MRkGmLCPuMqIkpL65Pbuz6ZZKIvavnIBnFKXBniH6EnO JePi2HR8HuHQvp8JY1pqi7nDv1At0nRN+2+eIKeb5XN8gAhWhrBpz6kwJMV9Q1+lHPM5iDdQKh4 P55kPWAROs6bfdACZXaJcUbXUHV78RghwuGftKyzWPQ== X-Received: by 2002:ad4:5deb:0:b0:4b1:d1cc:7cef with SMTP id jn11-20020ad45deb000000b004b1d1cc7cefmr17338310qvb.124.1665467828150; Mon, 10 Oct 2022 22:57:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7u7PAJocIxDIkQ6ohOZDRjUPceN4er646hiC7bF8j1PbMQp3SPj/DnE3yaQ3Kx/WiqU8bkrg== X-Received: by 2002:ad4:5deb:0:b0:4b1:d1cc:7cef with SMTP id jn11-20020ad45deb000000b004b1d1cc7cefmr17338299qvb.124.1665467827877; Mon, 10 Oct 2022 22:57:07 -0700 (PDT) Received: from rpi4-work.fuzzbuzz.org ([38.147.253.164]) by smtp.gmail.com with ESMTPSA id z8-20020ac81008000000b0039351b26714sm9848927qti.7.2022.10.10.22.57.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 22:57:07 -0700 (PDT) From: Khalid Elmously To: kernel-team@lists.ubuntu.com Subject: [PATCH 00/19][SRU][J/gcp] Update gve/gvnic code Date: Tue, 11 Oct 2022 01:56:45 -0400 Message-Id: <20221011055704.642271-1-khalid.elmously@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1953575 Update gvnic driver code to match upstream v5.16 These changes were part of a larger patchset that was backported to the 5.4 (and 5.13) kernel already. Some patches should have been applied to 5.15 as well. The noticable problem is lack of jumbo-frame support on the 5.15 kernels. GVE team at GCP has tested these changes and have +1'd them. Ameer Hamza (1): gve: fix for null pointer dereference. Catherine Sullivan (6): gve: Add netif_set_xps_queue call gve: Add rx buffer pagecnt bias gve: Implement suspend/resume/shutdown gve: Move the irq db indexes out of the ntfy block struct gve: Update gve_free_queue_page_list signature gve: remove memory barrier around seqno Dan Carpenter (1): gve: fix unmatched u64_stats_update_end() David Awogbemila (2): gve: Add RX context. gve: Implement packet continuation for RX. Gustavo A. R. Silva (1): gve: Use kvcalloc() instead of kvzalloc() Jeroen de Borst (1): gve: Correct order of processing device options Jordan Kim (2): gve: Allow pageflips on larger pages gve: Add consumed counts to ethtool stats Shailend Chand (1): gve: Add a jumbo-frame device option. Tao Liu (2): gve: Add tx|rx-coalesce-usec for DQO gve: Do lazy cleanup in TX path Willem de Bruijn (1): gve: Add optional metadata descriptor type GVE_TXD_MTD Yangchun Fu (1): gve: Switch to use napi_complete_done drivers/net/ethernet/google/gve/gve.h | 56 ++- drivers/net/ethernet/google/gve/gve_adminq.c | 69 ++- drivers/net/ethernet/google/gve/gve_adminq.h | 14 + drivers/net/ethernet/google/gve/gve_desc.h | 33 +- drivers/net/ethernet/google/gve/gve_dqo.h | 24 +- drivers/net/ethernet/google/gve/gve_ethtool.c | 89 +++- drivers/net/ethernet/google/gve/gve_main.c | 172 +++++--- drivers/net/ethernet/google/gve/gve_rx.c | 409 +++++++++++++----- drivers/net/ethernet/google/gve/gve_rx_dqo.c | 68 +-- drivers/net/ethernet/google/gve/gve_tx.c | 167 ++++--- drivers/net/ethernet/google/gve/gve_utils.c | 40 +- drivers/net/ethernet/google/gve/gve_utils.h | 2 +- 12 files changed, 820 insertions(+), 323 deletions(-)