From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) by mail.toke.dk (Postfix) with ESMTPS id 15ECA9DD8F9 for ; Fri, 13 Jan 2023 21:55:19 +0100 (CET) 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=20210112 header.b=g3zWrVVC Received: by mail-ej1-x633.google.com with SMTP id u19so55007110ejm.8 for ; Fri, 13 Jan 2023 12:55:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=F7yrGtMitcTjHgK1Vg0nmkRC811zM1e09Uti8Ps2/ts=; b=g3zWrVVCk/tjJRJAFTQ7V3zcPvxjCGWREwkoTudKG1luqpaOe7uO5YuGEX43ZC4sHy jddDURfxiDPvwTvh69TR7IN4kjmtfwKryAZWnyEq1Gy2WdhYIupazBoAqJZhXSCmW2Jq Aea2Fd55zPV4SUU65shwDF+BTMjE/mvo/+k6QOJ7abZrlR08akIXBGZjM8iGgb0kJhh/ 39NU/5isjvVKt9NJLqeC2HVspyn1mOJV58r0+DBmgkvqWTuCzJSQODVH4+esx8Gpbd5K 1qthyw7ak6VGF+c4+LmVRwkgIhxE6KoGRABQyhttuDv5m8CA6+PqaOUVtn8WG5xcjFUA prhw== 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=F7yrGtMitcTjHgK1Vg0nmkRC811zM1e09Uti8Ps2/ts=; b=Oy3So37yMWNrgW+H72DSFGC4i81yXuKz3vy/jSlaRIDA9XqsMLfB2T84bv+WwLZw3+ PWNnyOjZDLFphzk+3pfv+q8+TnJwWNYlUzrbOpQWKmGuMgRfuO7+2gBOnsSEnNnup+sC IqsvBvNLroMFfMBlszPhUiOzr6+psiIJlCUeRagRzZF9LaXx0g2vvS9hUfnsE2EKnucn 1sYIThHEL8zbcEcluWfNy/55tEs2WBQDrF4LOaG+9BphAjz4kC6eUvxfVg6g+cZnCR9T nKt9/t4PMzDo1QgMUPpz5UmFJHY3aRDiEiRSZYr6scxeSfg/OSqbkgsPWzARS649NToK 6GyQ== X-Gm-Message-State: AFqh2kpXsVQL2x5NOe6+myIjputKkwlUNmOlm+jT41s0m48mtoD6wZoM woGIVNpTysJie+5R3amMMKE= X-Google-Smtp-Source: AMrXdXvQXUgZx98X9zdEOuZyzYBVGGagkseoDszBNsyZ2Fmf0zsAnjnsZk/sX5qVKpZNXeXPaMma0Q== X-Received: by 2002:a17:907:a682:b0:84d:430a:5e63 with SMTP id vv2-20020a170907a68200b0084d430a5e63mr20048320ejc.27.1673643319416; Fri, 13 Jan 2023 12:55:19 -0800 (PST) Received: from [192.168.0.105] ([77.126.1.183]) by smtp.gmail.com with ESMTPSA id 15-20020a170906310f00b00738795e7d9bsm8818859ejx.2.2023.01.13.12.55.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Jan 2023 12:55:18 -0800 (PST) Message-ID: <2f18629f-60e0-12c0-cb6b-84f81ed61533@gmail.com> Date: Fri, 13 Jan 2023 22:55:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Content-Language: en-US To: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Stanislav Fomichev References: <20230112003230.3779451-1-sdf@google.com> <20230112003230.3779451-16-sdf@google.com> <87k01rfojm.fsf@toke.dk> <87h6wvfmfa.fsf@toke.dk> <87edrzfkt5.fsf@toke.dk> From: Tariq Toukan In-Reply-To: <87edrzfkt5.fsf@toke.dk> Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: base64 Message-ID-Hash: 4K3IEF4G2SR5T2FCV3ERAGICGLGH2Q4N X-Message-ID-Hash: 4K3IEF4G2SR5T2FCV3ERAGICGLGH2Q4N X-MailFrom: ttoukan.linux@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: Tariq Toukan , bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, Saeed Mahameed , David Ahern , Jakub Kicinski , Willem de Bruijn , Jesper Dangaard Brouer , Anatoly Burakov , Alexander Lobakin , Magnus Karlsson , Maryam Tahhan , xdp-hints@xdp-project.net, netdev@vger.kernel.org X-Mailman-Version: 3.3.7 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next v7 15/17] net/mlx5e: Introduce wrapper for xdp_buff List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: DQoNCk9uIDEzLzAxLzIwMjMgMDoyOSwgVG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2VuIHdyb3RlOg0K PiBTdGFuaXNsYXYgRm9taWNoZXYgPHNkZkBnb29nbGUuY29tPiB3cml0ZXM6DQo+IA0KPj4gT24g VGh1LCBKYW4gMTIsIDIwMjMgYXQgMTo1NSBQTSBUb2tlIEjDuGlsYW5kLUrDuHJnZW5zZW4gPHRv a2VAcmVkaGF0LmNvbT4gd3JvdGU6DQo+Pj4NCj4+PiBUb2tlIEjDuGlsYW5kLUrDuHJnZW5zZW4g PHRva2VAcmVkaGF0LmNvbT4gd3JpdGVzOg0KPj4+DQo+Pj4+IF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