From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mail.toke.dk (Postfix) with ESMTPS id 42EF7851EEB for ; Fri, 28 May 2021 12:38:23 +0200 (CEST) IronPort-SDR: vtPXm7y8dgOmqrF/R3AHUWB/vJMcst5ZmG3jl0nheAe6zkiPPON1d3LI8vY0QHXcO2gkNlq8oq W1i2emZD311A== X-IronPort-AV: E=McAfee;i="6200,9189,9997"; a="190303658" X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="190303658" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 May 2021 03:38:19 -0700 IronPort-SDR: ccSUh2/M9uhkJOwwCGKjFJgh4oy8wAYC9og844L8bHZtf5WImGrYbJPrtXX3j9TTwvHcW4NHZi jzbpRHKH1uLg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,229,1616482800"; d="scan'208";a="477881761" Received: from irvmail001.ir.intel.com ([10.43.11.63]) by orsmga001.jf.intel.com with ESMTP; 28 May 2021 03:38:13 -0700 Received: from alobakin-mobl.ger.corp.intel.com (pmochock-MOBL.ger.corp.intel.com [10.213.23.107]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id 14SAcA9D002896; Fri, 28 May 2021 11:38:10 +0100 From: Alexander Lobakin To: =?UTF-8?q?Toke=20H=C3=B8iland-J=C3=B8rgensen?= Subject: Re: XDP-hints: Howto support multiple BTF types per packet basis? Date: Fri, 28 May 2021 12:38:10 +0200 Message-Id: <20210528103810.102-1-alexandr.lobakin@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <87fsy7gqv7.fsf@toke.dk> References: <20210526125848.1c7adbb0@carbon> <60aeb01ebcd10_fe49208b8@john-XPS-13-9370.notmuch> <60aeeb5252147_19a622085a@john-XPS-13-9370.notmuch> <60b08442b18d5_1cf8208a0@john-XPS-13-9370.notmuch> <87fsy7gqv7.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID-Hash: XRA7YTD2DYBNUTZQL75WQKU2KXOCYGAW X-Message-ID-Hash: XRA7YTD2DYBNUTZQL75WQKU2KXOCYGAW X-MailFrom: alexandr.lobakin@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: Alexander Lobakin , John Fastabend , Andrii Nakryiko , Jesper Dangaard Brouer , BPF-dev-list , "Karlsson, Magnus" , Magnus Karlsson , David Ahern , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Saeed Mahameed , "kurt@linutronix.de" , "Raczynski, Piotr" , "Zhang, Jessica" , "Maloor, Kishen" , "Gomes, Vinicius" , "Brandeburg, Jesse" , "Swiatkowski, Michal" , "Plantykow, Marta A" , "Desouza, Ederson" , "Song, Yoong Siang" , "Czapnik, Lukasz" , "Joseph, Jithu" , William Tu , Ong Boon Leong , xdp-hints@xdp-project.net X-Mailman-Version: 3.3.4 Precedence: list List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: RnJvbTogVG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2VuIDx0b2tlQHJlZGhhdC5jb20+DQpEYXRlOiBG cmksIDI4IE1heSAyMDIxIDExOjE2OjQ0ICswMjAwDQoNCj4gSm9obiBGYXN0YWJlbmQgPGpvaG4u ZmFzdGFiZW5kQGdtYWlsLmNvbT4gd3JpdGVzOg0KPiANCj4gPj4gPiA+IHVuaW9uIGFuZCBpbmRl cGVuZGVudCBzZXQgb2YgQlRGcyBhcmUgdHdvIGRpZmZlcmVudCB0aGluZ3MsIEknbGwgbGV0DQo+ ID4+ID4gPiB5b3UgZ3V5cyBmaWd1cmUgb3V0IHdo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