From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id CC5F9A0577; Mon, 6 Apr 2020 12:04:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C5E491BEE3; Mon, 6 Apr 2020 12:03:59 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id E2FF81BED8; Mon, 6 Apr 2020 12:03:57 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0369xt24004806; Mon, 6 Apr 2020 03:03:57 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=date : from : to : cc : subject : message-id : references : content-type : in-reply-to : mime-version; s=pfpt0818; bh=E/VF7XdA/1NZ9yoF76UENqwl+O4LEdu+NdfrbNNFRtk=; b=rLOCAGZ733xsVNZfgbYvGlthvt2yNjBz5F01YXyV7gG9IaPMy66pOZf2Lz5GndtsJbEY vw3Zp6Cm3Ja4i84znAGJZQR69IhavYz0lR0K8kvqo+NkGOOWzCf0g/bJELlZWOeSQB1Q CXU1DBOFcn/AMRG0wAQrcCMqCXGpPnAgTENz464YSlLT3vDtkw56GRGklTBC6C9jxI/W Fdne0tEbT+dDa8wDbrQWV4nilaVZbXGOGLlBLi9QgtClwIfkPdr5dZ6UtzLR0KjZufmq FEowbLW5QyLhrke+YUk0i5LwzAovybuw75AiLXqsWpQkq+wkyuhrF/HwYaA0ajcAKXwE VA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 306srm53bf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 06 Apr 2020 03:03:57 -0700 Received: from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Apr 2020 03:03:55 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 6 Apr 2020 03:03:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=baz4P70c8wQ9R3LueJYsVk6w04QjbX+rVLwlHt14pICYrp4HvUfv6GhJe6b2OFkqeCG296C6JqBPD025rqoAKKyJYGlK2LpC05iOKfrHkAYRFY9V6YMxvbt4Hm5K6KjA+tzVWIWMIgDRP2FJHSkezp+S2nLq23iFggpf4Wg6Xc3r+8xlygesme/2fdE2UC6H8sLo6kyuJrLMROK0Whq9HoWBmyCJilVSBlgPaWAJPduB6uwI2gwjLzNpY0XkbeLkYqsVb52D9vhcc8gowwPjVba4t3yJOp6X1jsavMOBYNTul/qPnn/9holth+uD5CorOem+ZYVTtnwYPPAl/ulGcQ== 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-SenderADCheck; bh=E/VF7XdA/1NZ9yoF76UENqwl+O4LEdu+NdfrbNNFRtk=; b=Jw09gZHjY2IALKZDzr+mcdSRZR7F9LNBFuQ5CUl5xJRjvF6Yl9xxhyJdKySPn0zr0qsLwUCcurWf/0qCWWwzO+tNLt/YX0HQp/SFc+J0b8qKxR8OItIsmQFlGaLURG/2XIz8i4T4p0f4tQeq+3UTAQTl/OwfcSRt3A6/l4iDX9bvBrnduQNy2+vUBWTiyntV5BiEc1/gWuKS2hevfswgq0mmRg5siOcFi1dasMuRLunMZBsipl4oO8vpSD9bjN76Mnh43vBJVKfNQJBdU4YJcpQSai6BGqnHUml9QUOqWVPKWw4s/tbZ5UAGMYR0cKfpkmWDFw79pS7BMcikqVcO7w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E/VF7XdA/1NZ9yoF76UENqwl+O4LEdu+NdfrbNNFRtk=; b=kSnUM2pB8BOE0wKt8YpTw590IGDzA+2i8J3LYJ1Tb7TY2QagzMZQ6zRdgIzh9dxJMSZWXw7kFDoiVlPNNJY4VAC3Ntr7iHRGjaaMP16vOq/4OH2QmlSTmoTYMpVEwbuEjv6d2T3UIcXulsGXV0GiwoNqIxhTvMjFfnG7MeDcZr8= Received: from MN2PR18MB2848.namprd18.prod.outlook.com (2603:10b6:208:38::19) by MN2PR18MB3261.namprd18.prod.outlook.com (2603:10b6:208:16c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15; Mon, 6 Apr 2020 10:03:53 +0000 Received: from MN2PR18MB2848.namprd18.prod.outlook.com ([fe80::a8b1:45c4:b84:9c02]) by MN2PR18MB2848.namprd18.prod.outlook.com ([fe80::a8b1:45c4:b84:9c02%7]) with mapi id 15.20.2878.021; Mon, 6 Apr 2020 10:03:53 +0000 Date: Mon, 6 Apr 2020 15:33:39 +0530 From: Harman Kalra To: CC: , Message-ID: <20200406100338.GA176417@outlook.office365.com> References: <1583130716-28360-1-git-send-email-agupta3@marvell.com> <1583300824-23635-1-git-send-email-agupta3@marvell.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1583300824-23635-1-git-send-email-agupta3@marvell.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-ClientProxiedBy: BMXPR01CA0063.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::27) To MN2PR18MB2848.namprd18.prod.outlook.com (2603:10b6:208:38::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from outlook.office365.com (115.113.156.2) by BMXPR01CA0063.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:2c::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15 via Frontend Transport; Mon, 6 Apr 2020 10:03:51 +0000 X-Originating-IP: [115.113.156.2] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 059fc6e9-e4a9-45dd-79b7-08d7da11cf95 X-MS-TrafficTypeDiagnostic: MN2PR18MB3261: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:386; X-Forefront-PRVS: 0365C0E14B X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR18MB2848.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(376002)(396003)(39860400002)(366004)(346002)(136003)(34206002)(316002)(66556008)(6506007)(26005)(55236004)(186003)(66946007)(86362001)(450100002)(5660300002)(4326008)(66476007)(478600001)(6666004)(8936002)(81156014)(16526019)(1076003)(956004)(81166006)(6636002)(55016002)(33656002)(9686003)(8676002)(7696005)(2906002)(52116002); DIR:OUT; SFP:1101; Received-SPF: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: VFuS96qWT91ZTwJlc9747502++YKQl8/Q+R68EVOQlQvpEANOhYRwPXh9DoLVYPdrWLYeLYZ5DgFFHSwXDkQt9a2VE+610/oOV8rF14EWVvgTD77CTKjK6BBrsqmdjt+aU2bTcidlpYkUPFZoyu2lhLLTwNqWeZtYTM182L7yCLhdxpQ+GqDEJhgj8e+NqrDGElZUHUvv+AY/+3XZcpodX2E2ATxqni76qBxoUwbTfzy2nqO6TU5NuVur6BjTKQ7nCLsB+bAl++4oXhhtNqVN+tAWaXK6TBMmXqGjSxmqqNKjAry0E68/G/R8LOu0alQmhhbMsK59ie3IHVD6+g4ig7xNxOqhwvYDGkXUekzFwariDvwJL8qjUvCaFsYLiTQXxO86ULNDLeFQ897Ic+VxjFA9n1ntyYWm8gCCRGHP0AWWJrtF+3rYg75TB/4uv3w X-MS-Exchange-AntiSpam-MessageData: lg4YM1k9Z1v7wR/tRwMIyiIUmG2WBMsyH2hj+w8TMrgeJMwV6hYzQzqh8fxuYDMF8PeSeiatY7sxDJnhLNG21wTnngUf0Fagd3gHcDv/Ea5XwfV6msq3/8ZGJl721HjEz/mM40ClBS5anF5b8JVZdg== X-MS-Exchange-CrossTenant-Network-Message-Id: 059fc6e9-e4a9-45dd-79b7-08d7da11cf95 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2020 10:03:53.0682 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wqVNCbRwoLNHL6Uj8iS1pNtuP4IqLjP8QI92+xsJ/77elZni5pJqaJ5bgehW8QdWJtnAr4iCrwah9sn1KM715Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB3261 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-06_05:2020-04-06, 2020-04-06 signatures=0 Subject: Re: [dpdk-dev] [PATCH v3 1/1] net/octeontx: fix meson build for disabled octeontx drivers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Mar 04, 2020 at 11:17:04AM +0530, agupta3@marvell.com wrote: > From: Amit Gupta > > Add a condition to check if octeontx drivers are disabled. > octeontx drivers are built only if dependent drivers i.e. > ethdev, mempool and common/octeontx are enabled. > > Bugzilla ID: 387 > > Fixes: 7f615033d64f ("drivers/net: build Cavium NIC PMDs with meson") > > Signed-off-by: Amit Gupta Acked-by: Harman Kalra > --- > drivers/net/octeontx/base/meson.build | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/octeontx/base/meson.build b/drivers/net/octeontx/base/meson.build > index a06a2c8..e1060fc 100644 > --- a/drivers/net/octeontx/base/meson.build > +++ b/drivers/net/octeontx/base/meson.build > @@ -10,7 +10,10 @@ sources = [ > depends = ['ethdev', 'mempool_octeontx'] > static_objs = [] > foreach d: depends > - static_objs += [get_variable('static_rte_' + d)] > + if not is_variable('shared_rte_' + d) > + subdir_done() > + endif > + static_objs += get_variable('static_rte_' + d) > endforeach > > c_args = cflags > -- > 1.8.3.1 >