Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 426CBC636CC for ; Wed, 15 Feb 2023 18:11:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbjBOSLf (ORCPT ); Wed, 15 Feb 2023 13:11:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229538AbjBOSLe (ORCPT ); Wed, 15 Feb 2023 13:11:34 -0500 X-Greylist: delayed 394 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 15 Feb 2023 10:11:33 PST Received: from out-248.mta1.migadu.com (out-248.mta1.migadu.com [95.215.58.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9CDEF3B3CE for ; Wed, 15 Feb 2023 10:11:33 -0800 (PST) Message-ID: <7629c295-fc74-41fe-fd2e-28fe3a6e0846@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1676484297; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NKm9gOUeXhfnihC/vGx+snLWS0EG0ToDKyRoLyPsITI=; b=sRSP1l63/qGTmM/Qa0+s6DVn0CrNu29yWMtLz07RdNpmu3zPnzNiOWXFTgfCOAS/Nio5Zv 1p+T+q5emZwHlzr5SaFnVyG4h92w0tJEr+mFReoj4iCzRrVunL9cT/ATIyaRk5LtL/cr+N eDm8O1cOwF5GyIUiD3obSFW5eGEmWR8= Date: Wed, 15 Feb 2023 10:04:51 -0800 MIME-Version: 1.0 Subject: Re: [PATCH v3 bpf] bpf, test_run: fix &xdp_frame misplacement for LIVE_FRAMES Content-Language: en-US To: Alexander Lobakin , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko Cc: =?UTF-8?Q?Toke_H=c3=b8iland-J=c3=b8rgensen?= , Song Liu , Jesper Dangaard Brouer , Jakub Kicinski , bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230215152141.3753548-1-aleksander.lobakin@intel.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: <20230215152141.3753548-1-aleksander.lobakin@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/15/23 7:21 AM, Alexander Lobakin wrote: > /* The maximum permissible size is: PAGE_SIZE - sizeof(struct xdp_page_head) - > - * sizeof(struct skb_shared_info) - XDP_PACKET_HEADROOM = 3368 bytes > + * sizeof(struct skb_shared_info) - XDP_PACKET_HEADROOM = 3408 bytes > */ > -#define MAX_PKT_SIZE 3368 > +#define MAX_PKT_SIZE 3408 s390 has a different cache line size: https://lore.kernel.org/all/20230128000650.1516334-11-iii@linux.ibm.com/ The above s390 fix is in bpf-next. It is better to target this patch for bpf-next also such that the CI can test it in s390.