Message ID | 20221011055704.642271-15-khalid.elmously@canonical.com |
---|---|
State | New |
Headers | show
Return-Path: <kernel-team-bounces@lists.ubuntu.com> 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=<UNKNOWN>) 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=VrS3uo9C; 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 4MmlSY54dxz20cX for <incoming@patchwork.ozlabs.org>; Tue, 11 Oct 2022 16:58:05 +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 <kernel-team-bounces@lists.ubuntu.com>) id 1oi8H3-0000cV-CC; Tue, 11 Oct 2022 05:57:53 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from <khalid.elmously@canonical.com>) id 1oi8GZ-0008Ia-8B for kernel-team@lists.ubuntu.com; Tue, 11 Oct 2022 05:57:23 +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-0.canonical.com (Postfix) with ESMTPS id 83C6F40008 for <kernel-team@lists.ubuntu.com>; Tue, 11 Oct 2022 05:57:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1665467840; bh=ZNW3qC6OM+G3nDiCK89R2kqr8FaydbRJaoCvlx6crmQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=VrS3uo9CSb1eAPxFH1Jy8oKTv8rsJqkDPnd/cBYV0RTBmm06TZ4sSvSN2sqnFPGy1 WM+M1q0oPTO824xwVf3PxmxfNCGFhPWv3JsgGL9FsXM0UuYwDUNZAFknnSnxYQv+5W cLmv9MV0MWjmTEHeKrYVdXV4DTMLrQfk2Tpvxao+ZVQIg4XEaOP62ZBGZ92ggbec5l sYl7uSFovU48qtM6hrkIHWyaQ97DJjIoAX2rFQduTJiH2G9bxV9ZsubvR6xFChGXki K3UJqM7e4XlgXoUmaYcozttsYWl0GlyuGzClmLCkaFQv0+CmYO5ZdAqOUrFlY9KRmH 243S6MU+OW9Tw== Received: by mail-qk1-f199.google.com with SMTP id h8-20020a05620a284800b006b5c98f09fbso11006706qkp.21 for <kernel-team@lists.ubuntu.com>; Mon, 10 Oct 2022 22:57:20 -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:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZNW3qC6OM+G3nDiCK89R2kqr8FaydbRJaoCvlx6crmQ=; b=ruOKU54tj/ocGYHlseZ1drAheVCwOs3wFyE3Rxe+i+/n4WbqhlbGVzOKaXhAaR5rMz DSTO1tGS5aJNq/p+0OZ0hBKxU5TwAs9EsbZHE+8n/o9gXoRa7Nwbqua4FP1yCJKQjE9m miwYwjtZGr220sm2ySBoiBbM2yj9byjGiXEltVSHkGQ/R89ztnnC3/sqLcObD8V/9EdP jfZgrQVLqA/7Gx+LiqseneSvTTpswUs4p11xtx+mPApmxCCsiRHASoXI0Rpim1ci9gf+ XtqTbmFPicGZE9mlNVc8ZtrOUJ2i9TdgT73n00aN6t2BGUlXMMeIcNwp7I8dYQ13dUwS cgHg== X-Gm-Message-State: ACrzQf3eMneQe77jTyaME89WimZP9sd9rhjNNTaOohulSMCkHrfz8dAO n+j1df3mfG95qWlhLYlTFjZz3/JTs3UM0Skk/cfz5ICZhzqXztbIqr6BDu1YKX0WkFJstCcBfNC oW7HCFW59HJqpl5IHIbyb1J+zF/0HloYJ3MaFZ7Qkow== X-Received: by 2002:a05:6214:508c:b0:4b4:3b0e:5fee with SMTP id kk12-20020a056214508c00b004b43b0e5feemr2916179qvb.23.1665467840211; Mon, 10 Oct 2022 22:57:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4+45NNfYFmoUva+K9uuQeCqKtM4qKxaAVNWcSnvN/CqaWcYWV7Hn33FIqYbtG+8WTkQ6ExCQ== X-Received: by 2002:a05:6214:508c:b0:4b4:3b0e:5fee with SMTP id kk12-20020a056214508c00b004b43b0e5feemr2916170qvb.23.1665467839949; Mon, 10 Oct 2022 22:57:19 -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.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 22:57:19 -0700 (PDT) From: Khalid Elmously <khalid.elmously@canonical.com> To: kernel-team@lists.ubuntu.com Subject: [PATCH 14/19] gve: remove memory barrier around seqno Date: Tue, 11 Oct 2022 01:56:59 -0400 Message-Id: <20221011055704.642271-15-khalid.elmously@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221011055704.642271-1-khalid.elmously@canonical.com> References: <20221011055704.642271-1-khalid.elmously@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions <kernel-team.lists.ubuntu.com> List-Unsubscribe: <https://lists.ubuntu.com/mailman/options/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe> List-Archive: <https://lists.ubuntu.com/archives/kernel-team> List-Post: <mailto:kernel-team@lists.ubuntu.com> List-Help: <mailto:kernel-team-request@lists.ubuntu.com?subject=help> List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/kernel-team>, <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" <kernel-team-bounces@lists.ubuntu.com> |
Series |
Update gve/gvnic code
|
expand
|
diff --git a/drivers/net/ethernet/google/gve/gve_rx.c b/drivers/net/ethernet/google/gve/gve_rx.c index b6b3e5c4bbaf..17bc966cfb8a 100644 --- a/drivers/net/ethernet/google/gve/gve_rx.c +++ b/drivers/net/ethernet/google/gve/gve_rx.c @@ -486,8 +486,6 @@ bool gve_rx_work_pending(struct gve_rx_ring *rx) desc = rx->desc.desc_ring + next_idx; flags_seq = desc->flags_seq; - /* Make sure we have synchronized the seq no with the device */ - smp_rmb(); return (GVE_SEQNO(flags_seq) == rx->desc.seqno); }