From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 271CD45BA3; Tue, 22 Oct 2024 17:31:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EFE134029B; Tue, 22 Oct 2024 17:31:01 +0200 (CEST) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id E1FC740272 for ; Tue, 22 Oct 2024 17:30:59 +0200 (CEST) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-20cb89a4e4cso40977505ad.3 for ; Tue, 22 Oct 2024 08:30:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1729611059; x=1730215859; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=/Kpb8W3TlIC1akHjAdEINROJX17d4I0JIModwI87xcw=; b=srLu76pw4CTXSZ1HPVVjNaGyosV6mbo8MnKipGjz18bX+UxTw3rAsIwgzIcPGQPfho iUfua+hKex4W+2ArNB1JhjDEGH1FSfjNtj5ucmVfu5LMF//hOABIYEzIKFqPVXHeG5g+ Welr0II6XF8IEYPf62/PUzhkY7e7WBuIjB5jcXmwfgL0gJqa8ttebF/BM08yN2z1aDkX JltKbDe/LVw5f6bIK5OSOhQfTYCTpezL2fzsg/sPKagBi2Am65k+qAsjpK53iSm+ZlBu 5uJYFpW9QE1dzMmIagsEnwpRFlxPXruPwzN4YE86p1v3dDANsadYIzQnQ3G/D2D+3pM7 WV+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729611059; x=1730215859; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/Kpb8W3TlIC1akHjAdEINROJX17d4I0JIModwI87xcw=; b=uFK+c0EmvtSjl6haWa9DmESCu+YU5xzDgopM1zD6TrZVbLswQYIb7V3tL1zcALBZSl JhVU5y2mqu5q6Ej97hbeqpenkFwpBz9Lor24CT9KDaoFH5RyA22GQc9a93F43Ns7y2YZ BXQWPhhZGDkXj4wZ2vseXN1/HeK74qXAPk6VRHbkmj1zhPsy0W6uw595PepACZ0xgUR6 8eipxVLFE28CbEQWjA4d/XaUYbk5gqwCZJV/AZKwboAklGvqgH0dGvKlCRl9mQIvsklI G73EVsdMh7PigWGq1UTjUyGO0bXsdqUNNSpIY4DFfthlbCaEY/4gFBQfzK3fssMB+TG4 rraw== X-Forwarded-Encrypted: i=1; AJvYcCUglTSROZ4QAoNe+rvs/w9cOgPEhUgLmYgJZShOLkNtc4fKIMW4+c4UMSyuClts/bHQz/4=@dpdk.org X-Gm-Message-State: AOJu0Yzzk0NiP0zOq/pv7VxqXfns+7kB/oqX1EuPbs0+szbY0XV6LK9W ah7cYfum7Xul6TEFDF88ldI3IgTCWDpXvvDi9m4BnrZidBYOtnJx7jSqx3tmBi4= X-Google-Smtp-Source: AGHT+IEc4ahyD3U1tIlX4uh0NHriwUEeskQlKXrcITejBOdxerZ1QH/SWvegOGR5h20ILum5ZE2suw== X-Received: by 2002:a17:903:98e:b0:20c:f648:e3a3 with SMTP id d9443c01a7336-20e5a94ca09mr183359375ad.60.1729611058975; Tue, 22 Oct 2024 08:30:58 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20e7ef0c5e4sm44288405ad.97.2024.10.22.08.30.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 08:30:58 -0700 (PDT) Date: Tue, 22 Oct 2024 08:30:57 -0700 From: Stephen Hemminger To: David Marchand Cc: Akhil Goyal , Jerin Jacob , Thomas Monjalon , "dev@dpdk.org" , Jerin Jacob , Harman Kalra , Bruce Richardson , Hemant Agrawal , Sachin Saxena , Ferruh Yigit Subject: Re: [EXTERNAL] Re: [PATCH v3 3/9] raw/cnxk_rvu_lf: add PMD API to get BAR addresses Message-ID: <20241022083057.184690ef@hermes.local> In-Reply-To: References: <20241008105415.1026962-1-gakhil@marvell.com> <20241008184915.1356089-1-gakhil@marvell.com> <20241008184915.1356089-4-gakhil@marvell.com> <86546386.BzKH3j3Lxt@thomas> MIME-Version: 1.0 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 Tue, 22 Oct 2024 12:08:22 +0200 David Marchand wrote: > On Tue, Oct 22, 2024 at 8:06=E2=80=AFAM Akhil Goyal = wrote: > > > The rational to NOT pull "Hardware abstraction library using the BAR > > > address" to DPDK are > > > -Yet another 200K of driver C++ code which does not make sense to keep > > > in dpdk.org > > > -It can not implemenent any of the current subsystems > > > > > > In this context, let me know what you think? =20 >=20 > This hardware abstraction library will have to call some driver > specific API (like the added raw/cnxk_rvu API). > Can this library directly use the PCI driver API, and call the cnxk > common driver? > If so, there is no need to add another driver API (that breaks > layers), and the rawdev driver is only about adding the mailbox > features. >=20 This seems related to the discussion of binary drivers in the TB. There was discussion that any/all use of binary drivers means that the any crashes in DPDK could be cause by that binary. Like the Linux kernel, we need a "tainted" policy. Where any bug reports on tainted use of DPDK are just rejected and forwarded to the binary driver vendor.