From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-179.mta1.migadu.com (out-179.mta1.migadu.com [95.215.58.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CDD22158873 for ; Mon, 6 May 2024 19:57:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715025447; cv=none; b=StmX8GwV0inKoo1r/HU9oCdBFqE4Z5e/WwYTQx6dgAD1nsMpyD6X/rlG7co9mX+fuh74e2igjs9oirfwNQuLZGEOEq6gtseBDlGcM5eyfu+egPNML8ImEgeXJ0+UIdExA1/dMBVnQ9QVa5BKRT9v7rmEhX6oa5GO/K57QQ+du2Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715025447; c=relaxed/simple; bh=4ZYTW7Do9GpVCRq9E2zT0gIOEdhhBazZQC++SPqyhjE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=XpH4SKWDSwochMOwA0LXaPZbPc+9qNrjzec1R/GaSXVBTddsZCTfAAfbYjt4rVZrOe2V/IIZWBWaw7rf4sFuns6VFrpiDLVOG8hsPnu6g+AtCPGGQ3da4UFUDseIz3JPINUr1t23biNjT7z67xxYoYfk/kE51ucwrduhsUGYTH0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=aO9wARQv; arc=none smtp.client-ip=95.215.58.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="aO9wARQv" Message-ID: <501bb46a-5b87-41f3-9192-01cf8a366a40@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1715025443; 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=4ZYTW7Do9GpVCRq9E2zT0gIOEdhhBazZQC++SPqyhjE=; b=aO9wARQvDDtCw3jaoeaq29Z8UNYHvuMKhAqB1PVlAMiRdQ5Xwzl1qVZRzyhbENvAoTIAuQ novYF5bi+mjHXpkhUF36ldl+FhXFemXZL8R57QgOiOxeGjd9dWZ6g3wtloTPMKwaQgUkrB LMwPHbZAHANmvuW13P/ZAjI9d1IlBbo= Date: Mon, 6 May 2024 12:57:16 -0700 Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next 2/2] selftests/bpf: Change functions definitions to support GCC Content-Language: en-GB To: Cupertino Miranda , bpf@vger.kernel.org Cc: Alexei Starovoitov , Andrii Nakryiko , Eduard Zingerman , David Faust , Jose Marchesi , Elena Zannoni References: <20240506151829.186607-1-cupertino.miranda@oracle.com> <20240506151829.186607-3-cupertino.miranda@oracle.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Yonghong Song In-Reply-To: <20240506151829.186607-3-cupertino.miranda@oracle.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 5/6/24 8:18 AM, Cupertino Miranda wrote: > The test_xdp_noinline.c contains 2 functions that use more then 5 > arguments. This patch collapses the 2 last arguments in an array. > Also in GCC and ipa_sra optimization increases the number of arguments > used in function encap_v4. This pass disables the optimization for that > particular file. > > Signed-off-by: Cupertino Miranda > Cc: Alexei Starovoitov > Cc: Andrii Nakryiko > Cc: Eduard Zingerman > Cc: Yonghong Song > Cc: David Faust > Cc: Jose Marchesi > Cc: Elena Zannoni Acked-by: Yonghong Song