From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by mail.toke.dk (Postfix) with ESMTPS id 24E1AA191FB for ; Wed, 12 Jul 2023 21:03:51 +0200 (CEST) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=rbqiooZ8 Received: by mail-pj1-x1035.google.com with SMTP id 98e67ed59e1d1-262ff3a4659so5318419a91.0 for ; Wed, 12 Jul 2023 12:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689188629; x=1691780629; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=izeHKtX5KvfzdXp2x0mv/9s6EzKajmhq0WuDaVc77Ws=; b=rbqiooZ8BuxBdXte17xvcaEa54ZbPJdR47ZWwcIFqZB1ihIZ8CDvUKr+jZkRrozorA UxlTqWF/y8jY0KBwTbvOk8jOQKhFMoeYFZRfC5y6nILiWn4JUd4WvtJHENCA7zSMynzM 8YhSS/wE2lHZ7PFuKZfaYQ4QBPtZZ0+kL/0J7tt/BYMJ4Pcwka5U31gqMGRwGaNtRs6G pmCLJqVOx5zhxIq2FSN4uhkf8ILbcO7aDXHzKPEfAki/gV+VnyBEwV7XpYX45wESZZ1j HhH4r8BF5RtGXh6Le+Je0sE3kqJj7je2nyeAE/5rv6LRPz7IghLVpjppiRpLqidqv8X7 pc4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689188629; x=1691780629; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=izeHKtX5KvfzdXp2x0mv/9s6EzKajmhq0WuDaVc77Ws=; b=ZpkjhotxuyuKTT46DjJ4z3vbcLbElk9eA1rI81CAWd8LrgQZ341m44vQBVnSTRYhz3 DkC72FyIv6OapQZum+vdlQwLfQPIghYW8UPDylisjb2kaulzqOo3hORYwQH146CjE2s+ VHlMaq1C7Ggx0kRxaKQMhOMLptJbk26SSF7mjR/SpStdU+3tpKuZ1RwsucNs1DuvzZxb yQ3s9MOoW5V2QjRc2Hx2cBUFbLUQd1PPYhCiN04XBdzZrmaTXoaAPUZyttBwjIOHZ455 y7OT2Gy/0fvmUoOGcTPt/4RA+EOre3dw5P1fTnqXzp8NknaY2wvBU+oAxImnH5LJcWjs ys9g== X-Gm-Message-State: ABy/qLa1A80CWas+aYkyW5ItqSk6wLSdy3sEk1WcAHY5/wvyQYtXW4Ce pA7wcvuK+FL8sOqAH8au5tg= X-Google-Smtp-Source: APBJJlGUBftcq3sW6xYIChJ31Z0RgigBn+2B/wRB23HXPgMj+G9NRmU9kKEYs1czAEaVjnvsxQD0KA== X-Received: by 2002:a17:90b:188a:b0:25b:d292:d9a3 with SMTP id mn10-20020a17090b188a00b0025bd292d9a3mr19424965pjb.37.1689188629157; Wed, 12 Jul 2023 12:03:49 -0700 (PDT) Received: from macbook-pro-8.dhcp.thefacebook.com ([2620:10d:c090:500::5:182f]) by smtp.gmail.com with ESMTPSA id 21-20020a17090a035500b00265d023c233sm3567687pjf.6.2023.07.12.12.03.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jul 2023 12:03:48 -0700 (PDT) Date: Wed, 12 Jul 2023 12:03:42 -0700 From: Alexei Starovoitov To: Willem de Bruijn Message-ID: <20230712190342.dlgwh6uka5bcjfkl@macbook-pro-8.dhcp.thefacebook.com> References: <20230707193006.1309662-10-sdf@google.com> <20230711225657.kuvkil776fajonl5@MacBook-Pro-8.local> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: base64 In-Reply-To: Message-ID-Hash: K2RDSBNYV3QRLVP7YPFCXX6OMVCU2TDP X-Message-ID-Hash: K2RDSBNYV3QRLVP7YPFCXX6OMVCU2TDP X-MailFrom: alexei.starovoitov@gmail.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: Stanislav Fomichev , bpf , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Hao Luo , Jiri Olsa , Jakub Kicinski , Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= , Willem de Bruijn , David Ahern , "Karlsson, Magnus" , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , "Fijalkowski, Maciej" , Jesper Dangaard Brouer , Network Development , xdp-hints@xdp-project.net X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [RFC bpf-next v3 09/14] net/mlx5e: Implement devtx kfuncs List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: T24gV2VkLCBKdWwgMTIsIDIwMjMgYXQgMTE6MTY6MDRBTSAtMDQwMCwgV2lsbGVtIGRlIEJydWlq biB3cm90ZToNCj4gT24gV2VkLCBKdWwgMTIsIDIwMjMgYXQgMTozNuKAr0FNIFN0YW5pc2xhdiBG b21pY2hldiA8c2RmQGdvb2dsZS5jb20+IHdyb3RlOg0KPiA+DQo+ID4gT24gVHVlLCBKdWwgMTEs IDIwMjMgYXQgOTo1OeKAr1BNIEFsZXhlaSBTdGFyb3ZvaXRvdg0KPiA+IDxhbGV4ZWkuc3Rhcm92 b2l0b3ZAZ21haWwuY29tPiB3cm90ZToNCj4gPiA+DQo+ID4gPiBPbiBUdWUsIEp1bCAxMSwgMjAy MyBhdCA4OjI54oCvUE0gU3RhbmlzbGF2IEZvbWljaGV2IDxzZGZAZ29vZ2xlLmN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