From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by mail.toke.dk (Postfix) with ESMTPS id 564619E2BEE for ; Mon, 23 Jan 2023 19:56:05 +0100 (CET) Authentication-Results: mail.toke.dk; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20210112 header.b=r6lfxV6U Received: by mail-pg1-x531.google.com with SMTP id s67so9708895pgs.3 for ; Mon, 23 Jan 2023 10:56:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=M1y2OVHARQCaTqCOpWZU/C4m9hlMIWAKFwJ3hNXzKA8=; b=r6lfxV6Uf75FXpN/wKXCksxkAJtz8GBjNaxbQ7/mbyLTe429IpDtdUayJe+79hYI3l lC097QGCBT4F5CShq04QyBM6588Ng0HdOlgOYmiOaXXBHxJv0Pgo9QrYOvz8uONiizoB qRCGoz0Nc0FdFRYW2kuGHPPCWp9MokzcZyFghLWDZU9/HW+lpIDyHESspqS8ZHPPNlhN 1iegqNSGsN5//4E5BL8F47cV/8hnQlhobaYAB9mkDqHjKgFqjEf2K/T7cbLrrmBEd+Jb xAij54QcuNPvQJjRinUSPwTPFAJcr64HM8w7QopRkZQ68P2X1HP7ov9/fAxQ3x+Od9vv M6Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=M1y2OVHARQCaTqCOpWZU/C4m9hlMIWAKFwJ3hNXzKA8=; b=YGVODRMiiu0nCjCTCuqYR1PzDVyirhgv/a0pF0x+bxk58Q4D8FsZWZTwynE39uQnB1 L+TZ2RVZouppy+8WH8c376sTtWVw0S7rfi3gHwPiMsTIVWaxYpLs2SXdV5FUlj9x9cSk f2i/1h9F0i9/JK/gq5I6fWPfZbBiXg544aWkr/hV+YE4mpVAD/qB2U8y8vITJt8SgHLm FQxe+AoMWfOFHVrgsrZcUB3qCYdKYbe6qm+EPuFUb3KejXF+6WdhDZDRVNmOPF8UFVZH n2wnz5MtsoXAP07xrN2xNcQVI5Jvnldan9KinBWrUJIDqHipAK8CAZfaTlWsyd4gjaQQ c9Sw== X-Gm-Message-State: AFqh2kpCfV9Ztlk1qqX72TOqIIfH9gYob4hkk/n8jeZuaHroefENlg0T LM2faBf54MtEu+H9vQqPlS3G9hD2wHkcce3QmKkhtA== X-Google-Smtp-Source: AMrXdXuKPKURk4IyVwVpXhecitHzba9hblaC4FmOoq7Rl5wHtBgQA7X7iD71roc02Gf2njz4wKUwbb0VmU8+H9zPDp0= X-Received: by 2002:a63:5615:0:b0:49f:4740:291a with SMTP id k21-20020a635615000000b0049f4740291amr2015708pgb.197.1674500163652; Mon, 23 Jan 2023 10:56:03 -0800 (PST) MIME-Version: 1.0 References: <20230119221536.3349901-1-sdf@google.com> <901e1a7a-bb86-8d62-4bd7-512a1257d3b0@linux.dev> In-Reply-To: <901e1a7a-bb86-8d62-4bd7-512a1257d3b0@linux.dev> From: Stanislav Fomichev Date: Mon, 23 Jan 2023 10:55:52 -0800 Message-ID: To: Martin KaFai Lau Content-Type: text/plain; charset="UTF-8" Message-ID-Hash: J5JHL4IG7BB3JDXXHTUTRHB23VWGKZB3 X-Message-ID-Hash: J5JHL4IG7BB3JDXXHTUTRHB23VWGKZB3 X-MailFrom: sdf@google.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: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, kpsingh@kernel.org, haoluo@google.com, jolsa@kernel.org, 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, bpf@vger.kernel.org X-Mailman-Version: 3.3.8 Precedence: list Subject: [xdp-hints] Re: [PATCH bpf-next v8 00/17] xdp: hints via kfuncs List-Id: XDP hardware hints design discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, Jan 23, 2023 at 10:53 AM Martin KaFai Lau wrote: > > On 1/19/23 2:15 PM, Stanislav Fomichev wrote: > > Please see the first patch in the series for the overall > > design and use-cases. > > > > See the following email from Toke for the per-packet metadata overhead: > > https://lore.kernel.org/bpf/20221206024554.3826186-1-sdf@google.com/T/#m49d48ea08d525ec88360c7d14c4d34fb0e45e798 > > > > Recent changes: > > - Keep new functions in en/xdp.c, do 'extern mlx5_xdp_metadata_ops' (Tariq) > > > > - Remove mxbuf pointer and use xsk_buff_to_mxbuf (Tariq) > > > > - Clarify xdp_buff vs 'XDP frame' (Jesper) > > > > - Explicitly mention that AF_XDP RX descriptor lacks metadata size (Jesper) > > > > - Drop libbpf_flags/xdp_flags from selftests and use ifindex instead > > of ifname (due to recent xsk.h refactoring) > > Applied with the minor changes in the selftests discussed in patch 11 and 17. > Thanks! Awesome, thanks! I was gonna resend around Wed, but thank you for taking care of that!