From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mail.toke.dk (Postfix) with ESMTPS id A951D9FD2AE for ; Wed, 12 Apr 2023 13:40:49 +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=IQ3y3gqz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681299649; x=1712835649; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=syycDIYIzswV9lNmILEP2tKun3bXf+K2hf1maSNosJQ=; b=IQ3y3gqzg09KJKpfdkwrl2fujGBE4St95rLnylHtE4tAVWAzoNkcU5K3 N21GULxG44c0pfpdotabBPoqaCHbYojwmOG310msGvwf5UNe+g7hHZvxc 1+DrU+FH+UFx2LqN3lCiaAChvg/132x9ftzNPt3q6BKZqquH+kP5VBv6q TJD367zkP3ixuOWMeqXY2x6C+sTLXU6brxOCwL34NJB5YXuj534WziMqt xp3KqHfg+Zr8i1DJOhBMHalxj2FTwt3aLX9NeE/lM/Sgj1GxWvFx6YwS/ jkoju7M74PCWHiOtjvqhXdS6XOi6S1aAzwdgmwMeIdnL5mIC60Awj9vYU Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="323492657" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="323492657" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2023 04:40:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10677"; a="639188501" X-IronPort-AV: E=Sophos;i="5.98,339,1673942400"; d="scan'208";a="639188501" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga003.jf.intel.com with ESMTP; 12 Apr 2023 04:40:46 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Wed, 12 Apr 2023 04:40:46 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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; Wed, 12 Apr 2023 04:40:46 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.175) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Wed, 12 Apr 2023 04:40:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Pn//SdYvu9HCnTx1gPCGJsVZ7AG9GYIMfMyIulelvGciqwlClrNxYEPOrqssf4VCD3zGEUVY4YVqL1zDAAUlQXBpRePzhrwCmt+1I4/rfiZ+IIsu/SX+7oeqFtaVBqzTho8xMKfLktYKI5v7lq90SAt2uEjyh/B3oF3Co5kXneJX4NgQgdFehYI6DjNQzu12Ompvp1myb8OsqnAobuNZlvTLkN9LSNXeU6GgWtj7Y/njnmoR59N1imZ22XG/oQSnAkYynLVkSNOWRm4u1lYKE3t7dC87bC9QJCX1IVXc+giEkxTW/mEj6CBkHEryK17xTTasWkmMV46mQh/EQQSh2w== 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=syycDIYIzswV9lNmILEP2tKun3bXf+K2hf1maSNosJQ=; b=LllBlAkINbWMS99kMu7FMBi4qr1Ogy6BS4hVUFhJkuwmUk7jF/8VMTyP+a35fEnkvPI0hRNJ+gk6TTig9eg9vagKuC4yIuCXPQtlZ6HYRmm01sz9bblgWn34GdHNdBDACRvvVqWbEHI/4fZcCN44uVkRt0LAVjhisTTR2Gok88vv+kdJPOdtl7kpjGVXykG71zcls6XCq9f7mCetRrTwKBft+Jtfx4BV0Fm4DVcbmeah7DIHIfLT7u1Nl4a7bnOigUCvPUDjEKMP1unwFtS8W/f6qiU+/yY8BjvSvnomROPQQGy5vEE9eJX1rOOwyWhvXjwk3jq4H10+FFmxh1e5rw== 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 CO1PR11MB5154.namprd11.prod.outlook.com (2603:10b6:303:99::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.28; Wed, 12 Apr 2023 11:40:43 +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; Wed, 12 Apr 2023 11:40:43 +0000 From: "Song, Yoong Siang" To: "Brouer, Jesper" , "bpf@vger.kernel.org" Thread-Topic: [PATCH bpf-next V3 5/6] igc: add XDP hints kfuncs for RX timestamp Thread-Index: AQHZXNeuS7IymFh/rkioE9W/4bejnq8nrPug Date: Wed, 12 Apr 2023 11:40:43 +0000 Message-ID: References: <167950085059.2796265.16405349421776056766.stgit@firesoul> <167950089764.2796265.5969267586331535957.stgit@firesoul> In-Reply-To: <167950089764.2796265.5969267586331535957.stgit@firesoul> 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_|CO1PR11MB5154:EE_ x-ms-office365-filtering-correlation-id: f92cf011-5cb4-4b29-ae6d-08db3b4abfe9 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: SKFmDWfgtakT3kUPbX3lP/MxkFGQJ/bS9DyK29inRQ0m5SobrkTEn61vClnzkoz2c2c5f9cm4dZxctFy7e3vDAtvOOp8M7ej5llwweNiz93RxuO5gJcC5ehYvxUm07UAZaDAtWY5l5LHyuyPnmdCiEl+ua4LhwbSRsxAStVtwj+zecfD1QH7idLXhLEJGoEKmuLPDX9D6FCd5uC6LyrACVimTPejqwKWQ/2dH7pv6lxKaYybjSjdE6vi5CnOgu57JVi8ePbjYoN4FZ6fcnwXAw8XPxMnPdetPOF9ebiEdEecuPKySLsLK8l68sbyeD9nGfkvCt9jSMJXxdrBqr5B4a+pFqO/EwzQe8ZyNUmc2aqdqJjL11tkavhhYbEdI98u0bNwBGekhM2nG0OgwgCgulHOIgeZaMBoOj2S8Xc4kg03xOpuSpSbC5DuwU6ZvpZDouiJVhwBH1jizrKgc/iXnZyhqxE+tUPnnDi/YiLgoTf6d6g2G6+F+eTpPVZYiLUXUhfvowUy30TM0HkDpaQP9EiLtgkC9Uff8H98J3R3js88V1MJNVQc4hNG1ZMHN/fQQU9z7Z4ZGnetEppWKCQqJA0sJB82ZQFZqsvgmoWFQ198XMt5r0LH2LaBCbgG21XmB+ak3tZAYYByMQYE25aJFpaWYRpetK+z6VV7vcYEGss= 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)(376002)(366004)(39860400002)(346002)(396003)(136003)(451199021)(86362001)(186003)(33656002)(82960400001)(4326008)(55016003)(41300700001)(66446008)(64756008)(55236004)(9686003)(53546011)(316002)(26005)(6506007)(7696005)(71200400001)(83380400001)(478600001)(110136005)(38070700005)(38100700002)(8936002)(8676002)(2906002)(66556008)(76116006)(66476007)(66946007)(122000001)(52536014)(54906003)(5660300002)(7416002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?bTRlWEdva1FGNWxURHhJU0kyTUkyUWs5QkdvOW04d0FPSXIyV3J2Q3k4SXVK?= =?utf-8?B?ai9uOVoweldaODJRYytHUHBmbWdRLzdoNGVORTJ2VlUyb2NuNnU3NlA4ekU3?= =?utf-8?B?c3k0NzkzUlZkSDN4NWZBdHhmMThyVGRkNzgyQ1FpMkJCOFRXZW9hd1kwcncw?= =?utf-8?B?WDd0WVhST2lrK2lrbW16UVpIWEQwQXBacS9sMGJRVmowblNaTzBPYmpEZjI5?= =?utf-8?B?eFhoek9yYXJHdjlhbFJsU04veDBGcXl5SFMzSnJGOE5LSUdBRndiZXBadlcv?= =?utf-8?B?ZmNncVZwWFVSdlJwUUdvd01iL3JXNG4zWFpPVGtEenZZcHBvdVh6T1FiamRJ?= =?utf-8?B?QWFiTERxaVZqOHNPVlFYZlc0TUIrK3grQlpGNTNLOHhXOGdUNzB6WjJVNy9Q?= =?utf-8?B?NFVRZkVKZGlHVzNFVFhLR3JZaVVsSCtMdCtRcFRRRkdLZGtpeDhzUG9KNk1H?= =?utf-8?B?TWRacXQvUjNqcVhsZjd0NGs5OUlGUjZtZGxNeXBtSFJuR25LcUhLRTZFVmMy?= =?utf-8?B?ditiM3M2MXZlRHBNNlNFbDdFNjhOa2p1SGkyRGNSSGI0ZHBoc0V5Z0s0UFdx?= =?utf-8?B?YWFhWjg0QkVCYnFVc1RxOTM1TG53RDlzZmV4cjNPSTVIK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UWhLb2YxbEhpS2tGNVhEVlU1TXk4?= =?utf-8?B?VStuZDJWamFiT1hwalZmZDV5QWV4SzF1YVBHVjNMYmJmeGMwOUUrd3VhMW54?= =?utf-8?B?WGZ2UDBCVXhaakFPK2pETjhrY3AvNUlKRjF2MkZ0eUJwT1k4K3FZQjFCS2Vk?= =?utf-8?B?a0w4dmcxWFY3UEFyajFDYmRyMStrdDByUHhoL2Q5a3IxdDVxZkZCakE0WjVv?= =?utf-8?B?R2xSbVBFaEdncExZUTZwYmUrcWZlbTk4emNwaXdFWVFvb21QcFJrbjlEWllj?= =?utf-8?B?WVhLamtyS0RCY2t0S0hra2xFb3lXLzE3ekVFVkxscnpMR1dWWmh5NFYzekJB?= =?utf-8?B?UmRtbFhZNlBwTlRVS3hyVjN6OHJBUzM1VjVNQXlGbFduTkp5ZXMrNnBLaWQ0?= =?utf-8?B?VUoyTmtoazV1WHJlbFkzdnFnOXZkcDR0VUJRbHlIVGdlZ1ZUOVdscHltMVlC?= =?utf-8?B?RG1LazJKWVFtTUtUUFV5Z3pDdGNHclYyUUNqQTNib3FVdGQ5WFJMcVNrZDFP?= =?utf-8?B?Qi9GUG9ReTQwN2hhcCthbmRVZ1Z6QUJvZ2NOTjlNRVlCM0pZSERCT3pTRlNW?= =?utf-8?Q?QB4VCpEFnfOGkodDnIcyccLB7?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5830.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f92cf011-5cb4-4b29-ae6d-08db3b4abfe9 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2023 11:40:43.6303 (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: vEWzd9YZ8iRXPwkr/kLq3eFLUezAzWNbQfUZxJxTBVds0O6jYiuQfOiFxG9q/GIpPSjvR/+tqlqC/5E1UQe4eCl127Dt1aA34kkJQF/YpHE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5154 X-OriginatorOrg: intel.com Message-ID-Hash: YDY46LXFFOVGY5XFQPODVPKEI4SSYLFD X-Message-ID-Hash: YDY46LXFFOVGY5XFQPODVPKEI4SSYLFD 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: "Brouer, Jesper" , "netdev@vger.kernel.org" , Stanislav Fomichev , "martin.lau@kernel.org" , "ast@kernel.org" , "daniel@iogearbox.net" , "Lobakin, Aleksander" , "Zaremba, Larysa" , "xdp-hints@xdp-project.net" , "Nguyen, Anthony L" , "Ong, Boon Leong" , "intel-wired-lan@lists.osuosl.org" , "pabeni@redhat.com" , "Brandeburg, Jesse" , "kuba@kernel.org" , "edumazet@google.com" , "john.fastabend@gmail.com" , "hawk@kernel.org" , "davem@davemloft.net" X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next V3 5/6] igc: add XDP hints kfuncs for RX timestamp List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gVGh1cnNkYXksIE1hcmNoIDIzLCAyMDIzIDEyOjAyIEFNICwgSmVzcGVyIERhbmdhYXJkIEJy b3VlciA8YnJvdWVyQHJlZGhhdC5jb20+IHdyb3RlOg0KPlRoZSBOSUMgaGFyZHdhcmUgUlggdGlt ZXN0YW1waW5nIG1lY2hhbmlzbSBhZGRzIGFuIG9wdGlvbmFsIHRhaWxvcmVkIGhlYWRlcg0KPmJl Zm9yZSB0aGUgTUFDIGhlY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