Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp799908rwl; Wed, 29 Mar 2023 08:37:15 -0700 (PDT) X-Google-Smtp-Source: AKy350YDQNHL+RPsrOkb/nDiDdDmyaEXiGppSgYvRtI33ghz2EJwOG2l7aPZ8F8feKNI+rry8dbi X-Received: by 2002:a17:906:641:b0:8b1:77bf:3bdd with SMTP id t1-20020a170906064100b008b177bf3bddmr20854223ejb.36.1680104234927; Wed, 29 Mar 2023 08:37:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680104234; cv=none; d=google.com; s=arc-20160816; b=b+RzK7CZS/npSuH5+71ovLp82lcqg49tkXXDyKbk0q/jm7Dd1qwNRK6lhk2ZxppNvE JuiXACNXDZcnpMp+pFHuX+TLCBXHXOaIN3FJuAhhpNREfa89i3bI4ivW8VnRdQWls7HX 9cH0LULIP1yRwdfkpY1Adi30uOGP4SSQ7i2bKe45V9RGjU+5xtWDZLnQ1mgqlQ+lABNC U+nXEIuvPDSegt7JZnZzSc7+ussgDlyAUHi8HsevcV8aC3V3yG3DGa3TUT2prrahtlOd w/QWWFt6/MQ7969sCiJbUjuZwrBuBTH8coTyIoLHxT/RidPezPIPE2mV938X6Th2ovj2 PoQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Qgfm73gIETNl2zPIB+HRG6xi4vXnA98QP90kl6J3mWM=; b=Ki9OgQPKrA76AideTCTGk8h3Tnl//uybvqn+iyR7M6j2OlcSKicOI75UwY7Nqe62Wp CKUrv9bnKpaE/ZgjbUcwZ/KZZyyzyoYrQQsXqQOOYfUcyp5m3NQcfeA5IJixh+C69xWf KRKIWhYEZcJBv7UGDxRpYejjQVxXqi6fH3s9nRnfgocFurCbAQJ2DpvXqXuCSRRTioSO 6GO0gAVEEYZLFZkXgApSvc5KvF7jM9I2zRa3F63/JSOQvVmFydXAYuQKVQiMfh9Jianu mcCfH0ibaznY6szmNFG9Ek09+lNy1GR+V8/w7LrmVMrYzv+3RnZfd+Qtq76KRvke4D41 C6Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dectris.com header.s=google header.b=aTWP0Aae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dectris.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb7-20020a170907160700b00932e0e4cb59si17017062ejc.913.2023.03.29.08.36.50; Wed, 29 Mar 2023 08:37:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@dectris.com header.s=google header.b=aTWP0Aae; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dectris.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229834AbjC2Pgd (ORCPT + 99 others); Wed, 29 Mar 2023 11:36:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229638AbjC2Pg3 (ORCPT ); Wed, 29 Mar 2023 11:36:29 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6386B49FA for ; Wed, 29 Mar 2023 08:35:54 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id y4so65079117edo.2 for ; Wed, 29 Mar 2023 08:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dectris.com; s=google; t=1680104150; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Qgfm73gIETNl2zPIB+HRG6xi4vXnA98QP90kl6J3mWM=; b=aTWP0Aae6Of/VMbZvuC5nF+xa21oqeIpBUqvTswtT5wJWrf+oA/Q2xCk5McpObXCQ1 kuovw/S1qKplGqYSOfL6dDfFUwN2o84rt8XLEM7s881rSEy8WuljUq39d5y+VXpKSo3/ NNhiMyJHLK9xI5Zbog638fWBIA+eBFyny4CZI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680104150; 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=Qgfm73gIETNl2zPIB+HRG6xi4vXnA98QP90kl6J3mWM=; b=5Wwun7T99yUX7WC/tgpf/fUk+VW389kgPyR16bNzDPmWHng0XHpuJezbLS98ajRkj4 jiflNxKMyqk0/g1+exJymwJCRXwMEnw0jgD0DZMPIOLHP2vdg+lov81fNLWBP7eJGl4k Qe/QXR4t6Bcbey9Fezx1gCst3Ys70EVikvuVL4cmQ7hBAB+B+NCpZRysD3YTpX6rtRif RFeXpMNE2nVStNAyYWznAGcvceoeTWBzNNN37DjtJd9i4yAgXt4PXxYuRUq90UuYOYCg waIQfO2WcA36xGrDCi8QwbPmg8q2AwuX10OWZUFs7yEHMA7CPrZ9fVVYIeH3aVFmLU4F 3Jmg== X-Gm-Message-State: AAQBX9ejulRHPlvotou3RMjGSU96O7afVCnulyp/FKH7QnqnECTeHgt5 FWHVCidP/A8XpEGoYhMUamPc7rekl6vQPYpujeQ2RQ== X-Received: by 2002:a17:907:a49:b0:931:6f5b:d27d with SMTP id be9-20020a1709070a4900b009316f5bd27dmr10319862ejc.0.1680104150739; Wed, 29 Mar 2023 08:35:50 -0700 (PDT) MIME-Version: 1.0 References: <20230319195656.326701-1-kal.conley@dectris.com> <20230319195656.326701-2-kal.conley@dectris.com> In-Reply-To: From: Kal Cutter Conley Date: Wed, 29 Mar 2023 17:40:25 +0200 Message-ID: Subject: Re: [PATCH bpf-next 1/3] xsk: Support UMEM chunk_size > PAGE_SIZE To: Maciej Fijalkowski Cc: =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Jonathan Lemon , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > can you tell us a bit more about your environment setup - from what i can > tell mlx4 does not support xdp multi-buffer, so you were testing this > feature with XDP program attached in generic mode? This card uses the mlx5 driver. These numbers were taken from a slightly modified xdpsock example. XDP multi-buffer was not used. > > if you were using xdpsock -S or xdpsock -c? or maybe even something > different? > > what was your MTU size on NIC? I will update the table in the v2 patchset with more information. Kal