Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1416152rwl; Wed, 5 Apr 2023 17:17:56 -0700 (PDT) X-Google-Smtp-Source: AKy350ZSgk0vKDt219NEbQKiQpJQevwz/XB6P4f4BPm+kXtB7BtpQLA+jlqZqokeBxkOVJRR1LLo X-Received: by 2002:a17:906:d209:b0:90b:167e:304b with SMTP id w9-20020a170906d20900b0090b167e304bmr4327489ejz.45.1680740276455; Wed, 05 Apr 2023 17:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680740276; cv=none; d=google.com; s=arc-20160816; b=dzEKufEEvJXMIeZRalYQ4eDKF8e+9GSHqGtK6K1G7a4s+aOVfx/VJGi2SLtPR3zMC1 SjgyhGwIGqdJQJvlDLfhGKNu8B2Vb0/Ak4ifnZkUllgbcrc/RYFQLodzhN0jIYWNOP11 XXOAJv99DqEZaSTxnhIDzeOGg1BqEoiCjHyVM1XT8sMMyzYO84p9OK3BeYo0KjEZK7yS vp2O9lp/15ayriCd4u1Xvig0Gd2s3U8fdSeAfiDIDs+WvUQb1dhvbubmy/ShhhRZaHrP 2DZzNE6nf/79k2pmn3ZAVkyYD9tksOL/81nP3No7FX+AQNHWnWnJwfSIOoQMpndryDMF IXZw== 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=QWqojSp8qeBF+mnrDb0v8Y1VEeoiQlSQ1yGGpxufYDs=; b=F+i7g2WFW6RdgSzJ6K079ys8bVhbP+7d/GR1wX+s2kQb32+dajLe/gv+zl+uHJeFws 9rEOjxmBJq1Fov2KQaY/ipWdgyydL7aNJdX/wf0vXoVTVJOp+lZFDyfi91XqSCB3yA/D bUUomfRNr7k9C/GkVsjAfYftF6EjAGYadyTv7Lc74AmE9+WgP0r2o+rKqBnpchfaJcVn K8QCIBsTLRz8VCXAI0n7wgIeYQu6tgjIDOOrDU2OTmFlDDG+xjMjo3A/gDZE0LE9jMU9 MjQHcmZUCkwDIA0d75AtiM8kZlHf7C3sZt6gOs14gTnENocM/POmjeaFa7WJk8pgOdSi 1T1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dectris.com header.s=google header.b=mmtf2Aay; 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 hq31-20020a1709073f1f00b00925e996c00fsi53426ejc.787.2023.04.05.17.17.29; Wed, 05 Apr 2023 17:17:56 -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=mmtf2Aay; 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 S234287AbjDFAMj (ORCPT + 99 others); Wed, 5 Apr 2023 20:12:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233501AbjDFAMh (ORCPT ); Wed, 5 Apr 2023 20:12:37 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EE236A4B for ; Wed, 5 Apr 2023 17:12:35 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-932277e003cso77595266b.3 for ; Wed, 05 Apr 2023 17:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dectris.com; s=google; t=1680739953; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QWqojSp8qeBF+mnrDb0v8Y1VEeoiQlSQ1yGGpxufYDs=; b=mmtf2AayBWm/z9sUCranjsDtUq8AxYpmX4yPfK4znmF2gMIODJ7tf13ZcvRf7XB84K AgOJLhfcSJpYEPHYwm5X0Fu3pt6ZBax5QjRsO69RzY2rTbyqiLNyDuId8qaErMGe3LMS iWF5PYWGarqFRVHJNktro71deVYVccaeWoaJw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680739953; 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=QWqojSp8qeBF+mnrDb0v8Y1VEeoiQlSQ1yGGpxufYDs=; b=C2Ko27EHGBZLLiVS99G2PCVHJqjKJjaa/89ii5NRT63GrNF9nktPjoOB0+qlicLxGf vrWfgOYRt3N0hYGpoQiN2yNJFnVybJOXpJbm3rUyfNAwkPhLUOx717BnzrRKVx5UEyDF RVbGCaWJQ5s36evXb4kVhizcNx3YVPJCGFejFafT5Q6VNGJKRsWlNYztIfTTMC6xgXk4 5sCZIBJEfYwp1e5Ez5lsnOh/vXbCs/AcxwWTaWQi4zBNz4bTJ+are6tZk6IYKANgsLnP yXugZOS+ROzufQiZXrDFRKMGQHNr09xI0v+PPYWo6NdRVhhHnxlzpLVQoVeXNRiv1UAS VAxA== X-Gm-Message-State: AAQBX9cZfPdcDknnMLhS0vTb32uKqtqGq+aw5un5YNoxgMLNlsoa+lpl Sk8BoCElOpvIz0WvxXRQ/yVCub5hfVwZYO+WXs8y6g== X-Received: by 2002:a50:8adc:0:b0:502:3c99:417f with SMTP id k28-20020a508adc000000b005023c99417fmr2041304edk.6.1680739953661; Wed, 05 Apr 2023 17:12:33 -0700 (PDT) MIME-Version: 1.0 References: <20230405235920.7305-1-kal.conley@dectris.com> <20230405235920.7305-3-kal.conley@dectris.com> In-Reply-To: <20230405235920.7305-3-kal.conley@dectris.com> From: Kal Cutter Conley Date: Thu, 6 Apr 2023 02:17:13 +0200 Message-ID: Subject: Re: [PATCH bpf-next v2 2/2] selftests: xsk: Add test UNALIGNED_INV_DESC_4K1_FRAME_SIZE To: Magnus Karlsson , Martin KaFai Lau , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Maciej Fijalkowski , Jonathan Lemon , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kselftest@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 > Add unaligned descriptor test for frame size of 4001. Using an odd frame > size ensures that the end of the UMEM is not near a page boundary. This > allows testing descriptors that staddle the end of the UMEM but not a > page. > > This test used to fail without the previous commit ("xsk: Add check for > unaligned descriptors that overrun UMEM"). Sorry I forgot to update the commit message with the new commit label. If accepted, please change the second paragraph to : This test used to fail without the previous commit ("xsk: Fix unaligned descriptor validation").