From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mail.toke.dk (Postfix) with ESMTPS id F399D9FE5D2 for ; Sun, 16 Apr 2023 04:19:37 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=FrfROEjH DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681611578; x=1713147578; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=QKD1UOJuatQpubXWeizwbaVs8yUswmSPdYNKZ65U8Yw=; b=FrfROEjHcYy1qCBzkYmVM1yNJNboA/h3FV/UEhYcWKxcODIRthNw3av5 Qh/O/z4vNp14S7t7NJ+WIQZcM+wYZILIcIJJqx3okbBDZ1IgrZLLjRKLl Rl2lj1mTMWFWpoLtUMpwkWTkS6/giJVVBS3cUXPVC58ks4K/wx8Qq8TCr uepbwx7HiY2YxJzuwJzBFDCO39sxsyQmYYn3yQhIi55WktcGbV1D7tAuw CFqqQ706zrdDFi8HkVBvvGE7tm4xy+co8+NrL0XmOsJN1Ta+fBMBSwFKV oC29lKdh5702+F8hcDDe6oAd915Pxw50pYCanWXtPPc5JU29GysXKxPvk Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10681"; a="372571731" X-IronPort-AV: E=Sophos;i="5.99,201,1677571200"; d="scan'208";a="372571731" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2023 19:19:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10681"; a="690258380" X-IronPort-AV: E=Sophos;i="5.99,201,1677571200"; d="scan'208";a="690258380" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orsmga002.jf.intel.com with ESMTP; 15 Apr 2023 19:19:33 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 15 Apr 2023 19:19:32 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Sat, 15 Apr 2023 19:19:32 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Sat, 15 Apr 2023 19:19:32 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.105) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Sat, 15 Apr 2023 19:19:31 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QZRzwYq/g8H1Gk08Or1vTmb6n8D74b0OeGDXnzmQgQ9MGhXrGhqCqlWWYRqG1i+UutHa2PYXykdP5GPWLp8sauRo+4MXUBFQNwITNwdA7CLlltVp5qOcqy1x7ve2cyAMwEyUiJIvhwFEmxw7+lUGXWDy3Aabva/e0Z3F58pJi1fjbMUZBFnUVn4UG0HYHqTBc2k4PSyOq0oKBWusuX3E1FY98pLaMKhMgP82qzVX042p5wq9Pvo1U0lail6Um73UPGviZh88pUC8G2oy/acLdoKdlPipcycH5J6YqfDy2Fii5lDeUU8+xmrEnHmPyWqFJyZmeLYelD0jY7I9EFiEog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=QKD1UOJuatQpubXWeizwbaVs8yUswmSPdYNKZ65U8Yw=; b=LWUKNDupUGteoDnzRrBGFJcQsYQfb1Jj6X8Poga3+X796SGVGUl7HW0elomvUQ6FUKoLOkr6uzuCA1yDdk2ydZsj2DYxih8veFmtGQxFTJSIS2nk4dQLkAItO6Xz6OHPWB2nPETpOKNCfwPDXXs5utEVnwpgZMtsqSggs49VX43kmXFxIlfBJMvPViqIfkKK9fZuVHIxrK/OcfraSM01zjuZBPKKlurJ0c4UYDkXU6Z9ZMkFi5b/Qlx+vn4BGVOzIcASpdm0jgzKh8Ff8RfhUgoFSh6xQt6crhgPvhRBG5Hz3F7I/w3hg3jJKIvFKxKwmwHhxn6eaeQt9Xn9m3dbWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH0PR11MB5830.namprd11.prod.outlook.com (2603:10b6:510:129::20) by CH3PR11MB8383.namprd11.prod.outlook.com (2603:10b6:610:171::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.49; Sun, 16 Apr 2023 02:19:26 +0000 Received: from PH0PR11MB5830.namprd11.prod.outlook.com ([fe80::1c4e:86ae:810d:1fee]) by PH0PR11MB5830.namprd11.prod.outlook.com ([fe80::1c4e:86ae:810d:1fee%2]) with mapi id 15.20.6277.036; Sun, 16 Apr 2023 02:19:26 +0000 From: "Song, Yoong Siang" To: "Bezdeka, Florian" , "Brandeburg, Jesse" , "Nguyen, Anthony L" , "David S . Miller" , "Eric Dumazet" , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , "John Fastabend" , "Fijalkowski, Maciej" , Vedang Patel , "Joseph, Jithu" , Andre Guedes , "Brouer, Jesper" , "Stanislav Fomichev" , "Keller, Jacob E" , David Laight Thread-Topic: [PATCH net v3 1/1] igc: read before write to SRRCTL register Thread-Index: AQHZbujC4ewv1e0L1E6tM68Rf5TZ1K8sGQAAgAEWu5A= Date: Sun, 16 Apr 2023 02:19:26 +0000 Message-ID: References: <20230414154902.2950535-1-yoong.siang.song@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH0PR11MB5830:EE_|CH3PR11MB8383:EE_ x-ms-office365-filtering-correlation-id: eecfda88-841d-45b0-ad29-08db3e21006f x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: smhoyYQeB7K/FMb3zy5W0ZhAlgXpRP+JJ7mocmzvzYBpjlYQkELEgsxkqJEPEpL2FyLVSdrXMl1w+MAd120+JaiAiUMbnRrMqKDWAdTEijMkuYaRzFU4FQjBBNKyJbD5eXyHMSGIxmbsyQ2/29HR9SZx7xJ/uRYtnEkUxpFOAz0cs2tGGt5GoZMDZE9tbaNPSE5KJRvd1hNnnuX57wujbJXVRtTTfXkRfvIjlCD+sfg5vDr6AF4R1nhgbHWdHbti7CDSELorf7z/provEnpvt05jbF3G1bKeKsaHtJJlcGAioAXJy3iOjSIl2s6x8uqAEBEeDCpmHsYWZwqXnNQ+AVkTt03g0Vhon1Q0tERH2ITs88eAbGD0nLXCCgVnACZPRUoejRIgPTlA6ebDn57yYHtqVrTQYZ6EMNwiaV9Kjz/PGXqUAVH7J/57crkLnbU6+U0Zfr+MYsHTTBDH2/XOtOuxzucaU/jKUNkvIjDid8IsiNH2eoYAo8jIZgMAaVwwLg+Nt6UhKRdsz/PgfH46vsq6FZW1dThlfYgt4f1q3FXd8CjeaAiFTYEhuMOMjCG/K0gVL7/TXyIJvYfrlkc6/L36LXxo3WWvP9vDiiV+IQri4tvFDb7zlRRkexxhdNZ0 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR11MB5830.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(346002)(396003)(376002)(39860400002)(366004)(136003)(451199021)(41300700001)(316002)(38100700002)(64756008)(186003)(66946007)(110136005)(9686003)(86362001)(66446008)(76116006)(66476007)(66556008)(7416002)(6506007)(8676002)(4326008)(26005)(55236004)(53546011)(38070700005)(83380400001)(921005)(122000001)(82960400001)(33656002)(8936002)(54906003)(2906002)(5660300002)(55016003)(52536014)(71200400001)(478600001)(7696005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?LzFsbm93ZlNkTzUrQWozNktiWVNaUXV0cWFOTGJCTkM4bnUydVI1dkZZZzVP?= =?utf-8?B?WnU4OU5hWS94bExJUmM0S2JjMDVOUVgrSTljTHRWL1Rtems5RHlGR0lnbjN4?= =?utf-8?B?Mjd3dzlSbXNhTC9UdktxQ0sxa0ttYUVyblFMcmlVQzlPWWxNai8wWm9STU84?= =?utf-8?B?T1JFLys1VWJ3YmU0RVBRQXdRSk1ZQVFGUGRaQlQzeEJDWnNFVzFzRWRXSVcx?= =?utf-8?B?cjVYeXBkMVl3SFVyWTZkOTlkajVhVHNLTmFJVXFkNXVJYVFoWEdyUTFqMXVW?= =?utf-8?B?YUl1WUV0dVhFUjYySGhSaGM2Vm1xa0M2eXM3NHd1NXViWEVxMFMvbHFHZVRx?= =?utf-8?B?MStjaysxWURUYWt1UjdzRkFqM2FKK0ZEWnV1Vjl0dWxxT0R2MW85OW9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Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5830.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: eecfda88-841d-45b0-ad29-08db3e21006f X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2023 02:19:26.4781 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AUMlsaQlr87C8HSJX/0mnzYuwhK1gHjtmTSlTMqavE+cjfHhPNpjyh5vtt/jcWE00Wjjwz4GiOKP9HsEjVKbom7hy5Vjczu4N0N1i9cG3j0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB8383 X-OriginatorOrg: intel.com Message-ID-Hash: T2JESFPOLEJIPT56YJFX5PTARGMTMBQD X-Message-ID-Hash: T2JESFPOLEJIPT56YJFX5PTARGMTMBQD X-MailFrom: yoong.siang.song@intel.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: "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: T24gU2F0dXJkYXksIEFwcmlsIDE1LCAyMDIzIDU6MjAgUE0sIEZsb3JpYW4gQmV6ZGVrYSA8Zmxv cmlhbi5iZXpkZWthQHNpZW1lbnMuY29tPiB3cm90ZToNCj5PbiAxNC4wNC4yMyAxN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