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.133.124]) by mail.toke.dk (Postfix) with ESMTPS id 40EA89E3236 for ; Tue, 24 Jan 2023 12:49:29 +0100 (CET) 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=gIm/tTjx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674560968; 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: in-reply-to:in-reply-to:references:references; bh=E+8CpAUiEMzDSueeZ/CcPXedjzkC+Vhi6CdGhcnqLlw=; b=gIm/tTjxeV8ig/L29V/ibTyQWLlQtGj9H6Z6PpehbYDPdm6eMAGJy/0CGy96zXij03PA0R 1EwSgWyy/TEGTfSOv6ChvdbIk0T88G0DB4I9iDPwqYC4noc3aDSAVs3E+aGmAXSwI/1hjm UYd2OHfFQkzH7px8HshaDWUiZG9kcEw= Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-512-dRhPF97lO8idRfVi-jC-IQ-1; Tue, 24 Jan 2023 06:49:27 -0500 X-MC-Unique: dRhPF97lO8idRfVi-jC-IQ-1 Received: by mail-ed1-f70.google.com with SMTP id y21-20020a056402359500b0049e171c4ad0so10437595edc.6 for ; Tue, 24 Jan 2023 03:49:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E+8CpAUiEMzDSueeZ/CcPXedjzkC+Vhi6CdGhcnqLlw=; b=K5nWfsFxK7jd/zkBI2Nb91CSKGuMODJm5BousObXSPAJDO/yjxd5mY6Uy9/Tvcp+Ld Q2Ja+S4qzQ8oSA+RXWo7xU0HFD0rG4MmtMIG0mYR2cFxuFZypT6SPERfBVh5r3v1Wu5m oAw3K+P4qqfQLpBUDoFfPMANQHPJpwBqroYEf+HZUn/dZmbSLiADXPlDdDYutyi2SH6W 58B6iUjoQUQq/fE88gpaBxpCeTumMeSa2Mr776WceJSlUKB8Pg944AChhIVNm2czwvff FGAefVgyAnO+5qYzV6eth5YlLfW2higCMOW9mHzWa8B3P6TY20SRFwfT+ai8t9T3BNHR Jwkw== X-Gm-Message-State: AFqh2kptb7OrjIyHnQubz9WP9W+7cBCfKVRpjKwF2SilmkOmND+dAJTS y/Ol8R5DtAyJVJnR9+yFyBiXIRAe+FSOQx7UFI3WBqz6PgV7bTjjEMt6dPpzWif7++aNnbeOv5h yjEsRsFmJT1xV6sXvGgSo X-Received: by 2002:a17:906:4e09:b0:86f:2cc2:7029 with SMTP id z9-20020a1709064e0900b0086f2cc27029mr28409496eju.38.1674560965310; Tue, 24 Jan 2023 03:49:25 -0800 (PST) X-Google-Smtp-Source: AMrXdXuFW42pOrJS5TdgBDaQkg1EwxDSUf3jHUle3aR/jouGbhcEhzEDRCQA583LajKdODxHNXcZZQ== X-Received: by 2002:a17:906:4e09:b0:86f:2cc2:7029 with SMTP id z9-20020a1709064e0900b0086f2cc27029mr28409417eju.38.1674560964159; Tue, 24 Jan 2023 03:49:24 -0800 (PST) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id vt4-20020a170907a60400b007e0e2e35205sm810924ejc.143.2023.01.24.03.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 03:49:23 -0800 (PST) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id E30DB942AEF; Tue, 24 Jan 2023 12:49:22 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Alexander Lobakin , Stanislav Fomichev In-Reply-To: <5b757a2a-86a7-346c-4493-9ab903de19e4@intel.com> References: <20230119221536.3349901-1-sdf@google.com> <901e1a7a-bb86-8d62-4bd7-512a1257d3b0@linux.dev> <5b757a2a-86a7-346c-4493-9ab903de19e4@intel.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 24 Jan 2023 12:49:22 +0100 Message-ID: <87lelsp2yl.fsf@toke.dk> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Message-ID-Hash: 3P63OJBR457NMLJGR66XGRXJUBTLSRII X-Message-ID-Hash: 3P63OJBR457NMLJGR66XGRXJUBTLSRII X-MailFrom: toke@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: Martin KaFai Lau , 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 , 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: Alexander Lobakin writes: > From: Stanislav Fomichev > Date: Mon, 23 Jan 2023 10:55:52 -0800 > >> 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! > Great stuff, congrats! :) Yeah! Thanks for carrying this forward, Stanislav! :) -Toke