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.129.124]) by mail.toke.dk (Postfix) with ESMTPS id 76AC19A829E for ; Thu, 6 Oct 2022 10:19:43 +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=P7cmg0+Y DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665044382; 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=TwCjUrTl5eAHnjiz9iHXpu9SUcGA4ZwcUrBhyn+zXBI=; b=P7cmg0+Yc5viUSuSv5zs5Kgmx5fXbisO+3wbAhlP5nHGOLCDc0TsC7wxzAbTbqeH9qojHP zbxyyytX/D1Npr/fzIx+UnZhIjVb8OgAAa0Y0sv1GSg4lkthjNK+eq8TioXlODjZvMlchw YhwaeggJwha33Sh+2ktvIhMAjVcGMOE= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-167-HRQS4-7kNfSLL0xPgXOGRQ-1; Thu, 06 Oct 2022 04:19:39 -0400 X-MC-Unique: HRQS4-7kNfSLL0xPgXOGRQ-1 Received: by mail-wm1-f72.google.com with SMTP id d5-20020a05600c34c500b003b4fb42ccdeso2214518wmq.8 for ; Thu, 06 Oct 2022 01:19:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TwCjUrTl5eAHnjiz9iHXpu9SUcGA4ZwcUrBhyn+zXBI=; b=rPETDgGICa9JWCNE1o6o1jAraYWvYjhlCUFDIcvjVFfCQRWQiMbVM1FhMQnXpBcZY8 9WvtGDCsjbtYuPp4D3cv8Sb24z52o6q/L0x9swA42lKHCCA5jbZ1XGB31hcXiQ/xmXlL q2dNZweyz0thLbnyMXSexD+8mHwPDg9trio47U1hX7O7fdU3Vceyor+fpE+XhKQXV1+B CDkwakwocnDzXb4tHsgwjZwsc8VTIhyvJXtfb2fIiLTRGkYJKlZRjNQ7EwAU6cbgmc8q rSURsViPkuw+voRzv2Ex3jYMmaVlWEvtKxMC+yy+6+X0LBaMLM3vf5qVb/M6ISt/itZn O/Lw== X-Gm-Message-State: ACrzQf1iIX3jDmv/QxE2u0nWvJVerB+cv1y5AS/2LASLFIBTSKmUIb00 qoBV8Kyu2xA4GaDgCAL6xRX7eqjjHNKZOu1dL2Js6BG30lMe5ORtL3IN8aNJb6DWIRZnqM10wGE kYrlDmuMl7AZK82yy4uDo X-Received: by 2002:a05:6000:104:b0:22e:74bb:3a49 with SMTP id o4-20020a056000010400b0022e74bb3a49mr519344wrx.349.1665044378794; Thu, 06 Oct 2022 01:19:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5oDrwJG8M/Mmqdr1AF7j1dusO/ZuyNmiWwrEOo0jYffmCBM+zotrhVhNpMQa0B9nmDuEJ4lw== X-Received: by 2002:a05:6000:104:b0:22e:74bb:3a49 with SMTP id o4-20020a056000010400b0022e74bb3a49mr519319wrx.349.1665044378533; Thu, 06 Oct 2022 01:19:38 -0700 (PDT) Received: from [192.168.0.4] ([78.17.186.98]) by smtp.gmail.com with ESMTPSA id g3-20020a7bc4c3000000b003bd83d8c0f2sm4329089wmk.16.2022.10.06.01.19.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Oct 2022 01:19:37 -0700 (PDT) Message-ID: Date: Thu, 6 Oct 2022 09:19:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 To: sdf@google.com, =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= References: <166256538687.1434226.15760041133601409770.stgit@firesoul> <35fcfb25-583a-e923-6eee-e8bbcc19db17@redhat.com> <5ccff6fa-0d50-c436-b891-ab797fe7e3c4@linux.dev> <20221004175952.6e4aade7@kernel.org> <87h70iinzc.fsf@toke.dk> From: Maryam Tahhan In-Reply-To: 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: ZVGZRYL7MRRXJJFOWECYPFYTBBSPRPPW X-Message-ID-Hash: ZVGZRYL7MRRXJJFOWECYPFYTBBSPRPPW X-MailFrom: mtahhan@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: Jakub Kicinski , Martin KaFai Lau , Jesper Dangaard Brouer , brouer@redhat.com, bpf@vger.kernel.org, netdev@vger.kernel.org, xdp-hints@xdp-project.net, larysa.zaremba@intel.com, memxor@gmail.com, Lorenzo Bianconi , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , dave@dtucker.co.uk, Magnus Karlsson , bjorn@kernel.org X-Mailman-Version: 3.3.5 Precedence: list Subject: [xdp-hints] Re: [PATCH RFCv2 bpf-next 00/18] XDP-hints: XDP gaining access to HW offload hints via BTF List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gMDUvMTAvMjAyMiAxOTo0Nywgc2RmQGdvb2dsZS5jb20gd3JvdGU6DQo+IE9uIDEwLzA1LCBU b2tlIEjvv71pbGFuZC1K77+9cmdlbnNlbiB3cm90Z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