From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (unknown [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 57279460A1; Fri, 17 Jan 2025 09:26:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 508F94270A; Fri, 17 Jan 2025 09:25:42 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 40FEB4029C for ; Fri, 17 Jan 2025 09:25:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737102340; 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=9D6SgyC9EnOzDDWwTuk1SEGqBCny/zxV3Eib76BcCGg=; b=VTFsrlKBcRGE6X4bQU2xCPMToHVvYOg6QKfeZmX2h6sId3BqRq96WPlZPB1KgZvlhaGimN IH2yZ5k1Jousy58aDh0O+rvwk2Pfrs1a7PR/ZaS71QQVupL/jQ3948qrC1B0deWfFM76eK 2xmikjSuKdVGHwxTSUt0w6Rk1HhFkJU= Received: from mail-lj1-f200.google.com (mail-lj1-f200.google.com [209.85.208.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-336-3Pocj2DbOyKnLjn8Z7NGcQ-1; Fri, 17 Jan 2025 03:25:39 -0500 X-MC-Unique: 3Pocj2DbOyKnLjn8Z7NGcQ-1 X-Mimecast-MFC-AGG-ID: 3Pocj2DbOyKnLjn8Z7NGcQ Received: by mail-lj1-f200.google.com with SMTP id 38308e7fff4ca-3021e171631so10722361fa.0 for ; Fri, 17 Jan 2025 00:25:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737102337; x=1737707137; h=content-transfer-encoding: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=9D6SgyC9EnOzDDWwTuk1SEGqBCny/zxV3Eib76BcCGg=; b=r46V/YhipHjKxvz98B9Yn33Zw1jEQqQHhFXGYLWdle01HfNSuCXOHSuuPMpUh4mJpM JSigmaOVnPLJSKbOb5PafpRK1JZw1ch/WorH2ri4j3iNuC/nL750Gi/lyaZW6VcbAkfh yiXDVCW2l1/ymTVNxrPpBPUm0X165dQyTldSpr5ClL/muPkMbHREO5W1CJ4gqpYeR+gB 8PxXjvoxc9yIeCqoyWCx2aaud3LGFpZWRh/FZLpvXlK4+kKNQWQgVMV3p29W/RY7T9JF fq9+thEyi9iH8wCc64CxEkgLw8GrUMqvf2I+Mk2Gm3TI3bs5pE6+b2ZRzd+PAZVza3Fk KbYg== X-Gm-Message-State: AOJu0YxKKqIBfG34Ij16S92dKVPTFnhdX9/SOX0jLA7iItCBlL+ZTDwK d0Vmx2wjZske21uzuINgDMkHbW0BNKBG6zHuqkqLVBYJXVSBls07Ekr49DU0AVaTRp9HBz8JOHT /gglblC/Zmoo3wru35pXKLuSWGTluxJN6alQT7DvRWp6wrNH1i8L4RZDJcySq2gZXCgWGRCe4Ig 7K3VekZ9TLCNGOWzU= X-Gm-Gg: ASbGncvKyWUWOp2JO2uPxbXDJvWIidAgUWvXI+2S2E9i9KKuhgBNx38T+YNk4pAiYft 4RJSeXX+jDZhgFJYN/5x/IHmevRXeDgQ//xv0x1hN X-Received: by 2002:a2e:a544:0:b0:302:4a8f:428b with SMTP id 38308e7fff4ca-3063068737cmr33167231fa.15.1737102337612; Fri, 17 Jan 2025 00:25:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IErKpThxTfqx9yRtTTQTsxHs3iQPAvU1C4ID+ulcsVolNAEf0SPb0BNh8xv/bnbGZ4vknOLw0qEDLShG6XCnk0= X-Received: by 2002:a2e:a544:0:b0:302:4a8f:428b with SMTP id 38308e7fff4ca-3063068737cmr33167181fa.15.1737102337238; Fri, 17 Jan 2025 00:25:37 -0800 (PST) MIME-Version: 1.0 References: <20250116172221.3814901-1-bruce.richardson@intel.com> In-Reply-To: <20250116172221.3814901-1-bruce.richardson@intel.com> From: David Marchand Date: Fri, 17 Jan 2025 09:25:25 +0100 X-Gm-Features: AbW1kvZgVB09gHZvDWXjwMWhcH1KX6mqo0b7p6U6ot-5dvf0jSIeMeqIdudYtuY Message-ID: Subject: Re: [RFC PATCH] net: move intel drivers to intel subdirectory To: Bruce Richardson Cc: dev@dpdk.org, Thomas Monjalon X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: OQ_R3pN5FiXREnYqzdkVUgkRaaOzCSipeftW1vmasuQ_1737102338 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Jan 16, 2025 at 6:22=E2=80=AFPM Bruce Richardson wrote: > diff --git a/drivers/meson.build b/drivers/meson.build > index 495e21b54a..89545e618e 100644 > --- a/drivers/meson.build > +++ b/drivers/meson.build > @@ -47,7 +47,7 @@ enable_drivers =3D run_command(list_dir_globs, enable_d= rivers, check: true).stdout > require_drivers =3D true > if enable_drivers.length() =3D=3D 0 > require_drivers =3D false > - enable_drivers =3D run_command(list_dir_globs, '*/*', check: true).s= tdout().split() > + enable_drivers =3D run_command(list_dir_globs, '*/*,*/*/*', check: t= rue).stdout().split() > endif > > # these drivers must always be enabled, otherwise the build breaks > @@ -143,6 +143,10 @@ foreach subpath:subdirs > testpmd_sources =3D [] > require_iova_in_mbuf =3D true > > + if name.contains('/') > + name =3D name.split('/')[1] > + endif > + > if not enable_drivers.contains(drv_path) > build =3D false > reason =3D 'not in enabled drivers build config' Nice trick. This makes this move transparent when it comes to library names, dependency object name, log prefix etc... We maintain consistency in git history, so check-git-log.sh may need some update to handle this special case (iow requiring, for example, net/i40e and not net/intel/i40e prefix for title of commits touching this driver). --=20 David Marchand