Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp439365rdh; Tue, 19 Dec 2023 03:47:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IFfjSue627k2umls/N6lLJtUAZeQDyf3ZU1eN77eUs56RwKtb1el48xfa++sjDls5AkHzdv X-Received: by 2002:a05:622a:1a1f:b0:425:a508:a2c2 with SMTP id f31-20020a05622a1a1f00b00425a508a2c2mr24187504qtb.84.1702986443237; Tue, 19 Dec 2023 03:47:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1702986443; cv=pass; d=google.com; s=arc-20160816; b=RMBnKKDeLt5g6ynFb3tV5szgMSuHPn5Ua6XWgdoWP+dq2iKVt8Zbn1yW4KFeX7y0VG UeQdlMjISsq2hou3KvGQ89UI5VsVvYWzIPLtY/EEmbSFB7/WESd5HusnWg6fcS1CV9x+ R9NAi1+ScKhUIcLuitS01bTJrUK9oVc01Z1KY5ICnJiASQ4ZMnkw+hFlOjLEpbiJXbE9 q2vm5RKiHF2Gx+Zhs73Dk9GDzl00jd4rM431PmdqhSPzWZChkj6P67EX0igLVApqXCwy uy1yQZQR4RkDxYK54AZGbqEObpdaFcpmiDTuU+qHf3oxZ1Ev+hcm1zSxjEXEETEh1+F5 A4NA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:content-disposition:references:message-id:subject:cc:to :from:date:dkim-signature; bh=WMQOO80YdDGx5O0zr6sYZU/cGiUndPRkJeiWxA/3zOc=; fh=MuPfNreRGJD/Ql5Zzd7erUrsUC7wnEUpghYDyAZgdjY=; b=nrjUcl6J8sWDf/kZgRRrTHl9R7LDkWvbVofRP/v+M+Z9nkm1DrVIHlsQ/kgdxNfAur ueA38Y38RkNQJAewiqGLzTDAkn48fU6IPPCUahsnabieK7V9e9a6PHH5cTmk9EG8Dqg5 O2/L0dtwNpOv8D0wx7mNYzSNccO4y/AEz8UL0NHcrivBB6sNCdC3O3+U9WtryuSDyL/I W8RitIV8c7MJEcPBofv5l1BCeJF4YP7/Bg1LnUdSZ6OveZwihl6LZNvfj6w2qSmYuL0m ZheWx3TCrp8L/dIIz4Bz8aPDgCcrzq38bQLXDBlAF0h1Jx2NAybuffgOFh000J8UzEPi ibhg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=KzFUpD78; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-5101-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5101-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v31-20020a05622a189f00b004258286722csi26705195qtc.357.2023.12.19.03.47.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 03:47:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5101-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=KzFUpD78; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-5101-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5101-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E24711C2175F for ; Tue, 19 Dec 2023 11:47:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5089815E9D; Tue, 19 Dec 2023 11:47:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="KzFUpD78" X-Original-To: linux-kernel@vger.kernel.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2050.outbound.protection.outlook.com [40.107.20.50]) (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 A1F0518626; Tue, 19 Dec 2023 11:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MXcwS5NaS6c31dCpH0Gm/MZSfVR0D1XqGzRRe6ewYubq684JJ97PARYGWZ5yHyGctsxUuzdsn+q+YY+DG+lvRP1fCWMw4sRln6r4iAmvGkiUORyxX+a0Yo7ME+ytkh590JfBn26BUc0JxAwfB/0zTfWiwalGc7Ng9fVdHn+KGB+JvCNnWaeZGclahradHersDwbnM0+0LrQcro49mSxsm429geFeFcvqCbirw4cBoBh9APZlT3u4XBsvNbGo+s85znVvmnCz18/XqQIo6E0uDCGHde7upBFhZ+LkK9KoG2eLH9Oub2k/FcN24K+1Dz8MdWalNB6rzfZli44GYmzrJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=WMQOO80YdDGx5O0zr6sYZU/cGiUndPRkJeiWxA/3zOc=; b=jxjdTlsGrWFTo7476QpV/hP/ZQZ2r3oyEH66tKuVbR98a9F9LJLPLXw8I8loXnzQS7Wi4EGpCIVZLBfa8LGTIW6B+EyymDBcookc2v5+qc5yXX8RoJpvmS1uGgSDJ/2FhfWzMAvbC5Orrzplw1qRnLxUtJFXfAKOUJc8lNMD5viwhzJEwtKyNTG2mdBNQA2iJHfNBtfgpK9RuhtsECMYY5E3ex4x9Oho5izEUkpx/uCrOFWou0qh0RcLZPFk+jYhPhrhJ36JSnCx70YQBVBGV7i/w2q7QUj/Nxt8E7LK6JmVfIos4WaxF+xmijcHvFYa+luG60h5Bpa7QfqTbuIlAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WMQOO80YdDGx5O0zr6sYZU/cGiUndPRkJeiWxA/3zOc=; b=KzFUpD78jgVBFpe4rhnvvbiQEUysUMzJwdQdpNTzS5YUnkhWzP+BZXnmvUUmHsYZTP0XX3KWVYBg6bKPGPE2IOVoo2CSWjSL7KRMlnZSlyinxw8/RTJDVL6iikx2oVsZ2xraSu9NeHgcUul01Xzzr0LtX9HcVnazO7w9rV23Xo8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) by AM8PR04MB7425.eurprd04.prod.outlook.com (2603:10a6:20b:1d6::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7091.38; Tue, 19 Dec 2023 11:47:06 +0000 Received: from AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::dd33:f07:7cfd:afa4]) by AM0PR04MB6452.eurprd04.prod.outlook.com ([fe80::dd33:f07:7cfd:afa4%7]) with mapi id 15.20.7091.034; Tue, 19 Dec 2023 11:47:06 +0000 Date: Tue, 19 Dec 2023 13:47:01 +0200 From: Vladimir Oltean To: Larysa Zaremba Cc: netdev@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap , Tony Nguyen , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend Subject: Re: [PATCH net-next] xsk: make struct xsk_cb_desc available outside CONFIG_XDP_SOCKETS Message-ID: <20231219114701.5r5qoqkekfbvqtcy@skbuf> References: <20231219110205.1289506-1-vladimir.oltean@nxp.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: AS4PR09CA0007.eurprd09.prod.outlook.com (2603:10a6:20b:5e0::8) To AM0PR04MB6452.eurprd04.prod.outlook.com (2603:10a6:208:16d::21) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB6452:EE_|AM8PR04MB7425:EE_ X-MS-Office365-Filtering-Correlation-Id: 948ffa16-0e28-41da-73e0-08dc0088395f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /wQtR2FxXlGuPE5L/P/1PNcqnuTu/E6HM9X89EThVkYIpFJWpKRP+65aT3MO/L4WxjsWsfgAl+aopacNLWGgBpg7ZRhchi4ftFMfBs51OmKVoOqnPJrw5japhsRIxpy2cYDN8pJtjE8bx32P8yFYSKEZLlToOXurOvdMmr7LCWgEnHEaqrdeVIr9x6/LX85MZ593Bk9cyih6xWYOn4RO3FGM4xlfj+IbDN/F6sYH1JAwv+BgDf9ALkhqtYWBFJniBtJUwht20ymjDMRQJKrMMGs24vGzdwzlkR1qEEE0e54ceCzjFivMDd2QcMFzDHLEkgivP6gavUi92jrHOvTlLS+g+RyOv9+/6hvNX9XYlKcJGB5CNTJ2blYK5DiXHx6O2GbiMx/OdvcPLWSCqPiwrG8brC8qsx8Ipdz26/T/d4nG+WAm2eAUM5KkTT4FZ8BDLjyFn4A4xRjNeAYN1/rcd5YoAPxK4Bz1kgxxX0A6LAqzYYX1uHG1/cvInXXQXYhq3MB8xCDd7zxRl4tbHiT0JE12aGSCD/0nTrI7C5+CWP8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM0PR04MB6452.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7916004)(136003)(366004)(346002)(376002)(39860400002)(396003)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(4326008)(5660300002)(8936002)(41300700001)(8676002)(86362001)(6506007)(44832011)(66476007)(66556008)(54906003)(6916009)(66946007)(316002)(38100700002)(2906002)(7416002)(1076003)(83380400001)(66899024)(26005)(33716001)(6512007)(9686003)(478600001)(966005)(6486002)(6666004);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?+dlFd4/bQsKfjyznTbyhvmtXohsv6lPwwGPfee/IVlD89VMvktFXxPJDTuQE?= =?us-ascii?Q?sMZZStEi/j9xKuxeH1adI1dpuj7eJ7FUoVzNT894uIIIzUDkDrfooV2pDfnY?= =?us-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OVpmKzOuHIkjHGI5Hnx949A6Q5pxc+O?= =?us-ascii?Q?kjFOrPP3MlNjhAIlVRo8Dtyaxi6qbLApSyGNXBj4WehfKEZcr26zrNOjM72q?= =?us-ascii?Q?WNkTDJYbtcJ1rM+qyf3iTtZY8pBCn7UfZa8+BRfIGoxsqz09cw9+jN1snGk6?= =?us-ascii?Q?ChlmBNd0LYEjEfHOoEQ3WvP5zn0Cn8VwNihODaojAE5T+xmonqZxTXbHE+ZR?= =?us-ascii?Q?q26cLxni0NWdOCpJbqW8yyJT+ArXh35DV/6+YE4vz440H2HEK+xd01943eYy?= =?us-ascii?Q?jz8/fzaK5B5kDJDUA2rcBo5R0WjCdEjVFezLi1YLDI5lxnxTuMeZMWsF8bvs?= =?us-ascii?Q?vcXQjOEikX9G2teGY7U+secAm5yNm6Uk4mHaYoPPgmv1hll0iQe3mmXQtKFs?= =?us-ascii?Q?KbJoxE0j3UzUyVwpItDGaWXvMHrHduW2Pc8GVjtUzC2j0DbWE3RVEj4aR+kC?= =?us-ascii?Q?jr4GHagwFjZ636WsR1lOsaGeRNeRBohYZv0xerizuVqHhO5+pUTxVi7Zd5DJ?= =?us-ascii?Q?eqCVIvc+tTfALlJ11UdAP34MFZrRqQIRgGTx3zT3t+jpJVc/tslj4q49xm3O?= =?us-ascii?Q?e4o+vFBRkNJgTQ0zyG/Gd20vOhV+qwtChyz9f4TImCopk7IJ0PYCYQGYT5AK?= =?us-ascii?Q?Jw=3D=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 948ffa16-0e28-41da-73e0-08dc0088395f X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB6452.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Dec 2023 11:47:05.9421 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: n9XmYR4dVJzD6qMM1yAxmGPDoTdIT+kCjvJ/8Vaj1PDaobROhwXAvxyCVqjI9K9ChZvE2O4Xh+sthwpJGy7CUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7425 On Tue, Dec 19, 2023 at 12:26:50PM +0100, Larysa Zaremba wrote: > On Tue, Dec 19, 2023 at 01:02:05PM +0200, Vladimir Oltean wrote: > > The ice driver fails to build when CONFIG_XDP_SOCKETS is disabled. > > > > drivers/net/ethernet/intel/ice/ice_base.c:533:21: error: > > variable has incomplete type 'struct xsk_cb_desc' > > struct xsk_cb_desc desc = {}; > > ^ > > include/net/xsk_buff_pool.h:15:8: note: > > forward declaration of 'struct xsk_cb_desc' > > struct xsk_cb_desc; > > ^ > > > > Fixes: d68d707dcbbf ("ice: Support XDP hints in AF_XDP ZC mode") > > Closes: https://lore.kernel.org/netdev/8b76dad3-8847-475b-aa17-613c9c978f7a@infradead.org/ > > Signed-off-by: Vladimir Oltean > > This probably should go through bpf-next. Other than that, fix looks fine: > > Acked-by: Larysa Zaremba > > > --- > > Posting to net-next since this tree is broken at this stage, not only > > bpf-next. It was a conscious decision. Build fixes are more time critical than most other patches, and net-next is more likely to suffer from a failure with CONFIG_XDP_SOCKETS disabled than bpf-next is. But, sure, it's up to maintainers to figure out how to deal with it.