From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mail.toke.dk (Postfix) with ESMTPS id D2CB79FEAB7 for ; Mon, 17 Apr 2023 16:24:42 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=EZWc4+yw DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681741480; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ih22A54IlQcIcpW8AJafH3qjCniWddl0rR6pTvOIfYU=; b=EZWc4+ywvw3zMZLPcXbNlUxNvWXpwKEw7YkSp4XZsY/XxnEElw4lBqh+JLgB6MlUHSg9Y8 noiU06sjn6bBDJglc1OzTnkZvAjV7bhgcXyaZe5WTZr+aiXDIjGgg/BlCQ3QPc6gqb1inF umFShJFyXUtUrGxEAmlbavQ4tdmWyUo= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-316-fBzMr-kWPb-MAIq1TO8yyQ-1; Mon, 17 Apr 2023 10:24:37 -0400 X-MC-Unique: fBzMr-kWPb-MAIq1TO8yyQ-1 Received: by mail-ed1-f70.google.com with SMTP id 4fb4d7f45d1cf-5069f2ae8eeso2969264a12.0 for ; Mon, 17 Apr 2023 07:24:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681741476; x=1684333476; h=content-transfer-encoding:in-reply-to:references:to :content-language:subject:cc:user-agent:mime-version:date:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Ih22A54IlQcIcpW8AJafH3qjCniWddl0rR6pTvOIfYU=; b=bx+ippaZfZKEPCIrGPbaN2zOi7pktEHmYvlYg7hjwDA9hDwS6Yw6dnGoWazsMWTrh6 5L8Wlmzr3R+jyPdBYjZpaNX2c75vr4zoml5y5Nyeds9Mis1xVkBfP8o3/d/G8hlYo+72 OKQmc8O5y9fIsdYmQnOm40vXnlrASf0QLlnhAeGUcJJaWCka7qwx1HGmvV4TinUmSILL NnLhz8WdgCgHHYjw556EFS4LOfg5BUHzL26nEcCZiYZlS2uI5ZfM4R1RzoFaor+H3JZ4 irAfuQal14F+EgxV71GL8XktE3bERey8XrCJYuyeHGU1K8FdI2dG+x8nrZSSnvR2smom nvFA== X-Gm-Message-State: AAQBX9cKd6UPh+LGuSCCSzU5Rl0RmIm3lN1t8tC6IQs52KNU6P1uYR2l e9eE7IyelNekcL82WjB6PF1lQVdnyXxURWrfHcX8rgLl2PgEuflVrP7oJg75p2P4TCLWWDDZM+W K/z1oQmOv0ZLeuIYOu5f7 X-Received: by 2002:a05:6402:510a:b0:504:a336:22d5 with SMTP id m10-20020a056402510a00b00504a33622d5mr18020031edd.15.1681741476373; Mon, 17 Apr 2023 07:24:36 -0700 (PDT) X-Google-Smtp-Source: AKy350ZzCTM4iTY4cjU7RvpTj9V6B1opCLDxjF2En5J3oVG+O+Xu2rEAPmG7p+piBgCrXtL93dXnUA== X-Received: by 2002:a05:6402:510a:b0:504:a336:22d5 with SMTP id m10-20020a056402510a00b00504a33622d5mr18020003edd.15.1681741476043; Mon, 17 Apr 2023 07:24:36 -0700 (PDT) Received: from [192.168.42.222] (194-45-78-10.static.kviknet.net. [194.45.78.10]) by smtp.gmail.com with ESMTPSA id n6-20020aa7db46000000b00504b203c4f1sm5879091edt.40.2023.04.17.07.24.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Apr 2023 07:24:35 -0700 (PDT) From: Jesper Dangaard Brouer X-Google-Original-From: Jesper Dangaard Brouer Message-ID: Date: Mon, 17 Apr 2023 16:24:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 To: Song Yoong Siang , "Bezdeka, Florian" , Jesse Brandeburg , Tony Nguyen , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , Maciej Fijalkowski , Vedang Patel , Jithu Joseph , Andre Guedes , Stanislav Fomichev , Jacob Keller , David Laight References: <20230414154902.2950535-1-yoong.siang.song@intel.com> <934a4204-1920-f5e1-bcde-89429554d0d6@redhat.com> In-Reply-To: <934a4204-1920-f5e1-bcde-89429554d0d6@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Message-ID-Hash: PXLXBWD2JJRKTV2QV55QZICZ5UJVEBEB X-Message-ID-Hash: PXLXBWD2JJRKTV2QV55QZICZ5UJVEBEB X-MailFrom: jbrouer@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: brouer@redhat.com, intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, xdp-hints@xdp-project.net, stable@vger.kernel.org X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH net v3 1/1] igc: read before write to SRRCTL register List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQpPbiAxNC8wNC8yMDIzIDIyLjA1LCBKZXNwZXIgRGFuZ2FhcmQgQnJvdWVyIHdyb3RlOg0KPiAg DQo+IE9uIDE0LzA0LzIwMjMgMTcuN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