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 B7CAD43249; Sun, 5 Nov 2023 06:48:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64A2E402A3; Sun, 5 Nov 2023 06:48:38 +0100 (CET) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) by mails.dpdk.org (Postfix) with ESMTP id 42EF540278 for ; Sun, 5 Nov 2023 06:48:37 +0100 (CET) Received: by mail-qt1-f170.google.com with SMTP id d75a77b69052e-41e58a33ec9so21533691cf.1 for ; Sat, 04 Nov 2023 22:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699163316; x=1699768116; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vIW0vqXM9WhE7dAVI7Mmul8WZlRpS4H57fwb+OWIuuk=; b=J1ePFPoYl1HckpIejLWLG3t50rROA8HBLhAIXL9lNibGZxSW/fUYzJBDqRksQjVVK2 AYlYzMIKlTEup2KB2f5RRpycuEtKvuBTS3Te5RsOtnhe7nKl2eXqWASi3Iuz5J4Hlk4T Xzit9JSNDlW8a74LodsDLGAU0bEPG0HkouMsrtBCmPmh2sK5vRSKS7QZLfLJJ/Ed3PKk XvuCwY4WKmYfpaxRyHeMbdI83zkYNI422uy/uETSzQjpFFEvXvXDI5n/17Re6skpOm5H 2HEQg03Uz4IoLSdvA88Xki85ZAMU/vgu6z9PJFsSHsPjAWBDrWHrD7nY5DRw5JmzXuyG /f3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699163316; x=1699768116; 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=vIW0vqXM9WhE7dAVI7Mmul8WZlRpS4H57fwb+OWIuuk=; b=i3HOT466G+FW9vyZejpyK/okwegyRJ3OVVwrsBZTrP19326B2YsRlGEf+Wdx3Bft5v dKhpOPCk48vdz8BqMQd18TZjwo6EaE+JPE5Wfo2JisbxH94h/cEEyXLvSkLlqc0+EThE SLpJrocZAuWzHbs/RquD8DABcCLRLf4w9LktizrXTPYXe0EuxbejxK6gYSJniy1J13Lk 3xIJW31UGgWlI+i0R3+1k/aERWKsupgplMPc1shFre/sWmtpphDSnQTGVOnMkfXI7C4F X6mRMT7Nvphp0k9XoYgHoHhT8P+I7+2X99ar0LdmQDh+bqg7w4IpNn2WMcVlCe22WulP 6N+Q== X-Gm-Message-State: AOJu0Yz1B+bB93wNXFmnAsSK0PoAWKtGUVmQelYSqlG9IZr6bj3XhirK /QhN7YHp8LXVbo7aKUg3h1HZFGAX9j0G08HdcKg= X-Google-Smtp-Source: AGHT+IHcvnHJC/D+tyX87QWJkw3C/XnkWIQrbgs8OR9utGY+YbdsBZvG8ryQVhH/WGFDwqljEkxvwSAZL58MZwoC0DA= X-Received: by 2002:ac8:7f4e:0:b0:41c:d1cf:23e1 with SMTP id g14-20020ac87f4e000000b0041cd1cf23e1mr31335803qtk.62.1699163316497; Sat, 04 Nov 2023 22:48:36 -0700 (PDT) MIME-Version: 1.0 References: <20231103182933.2831662-1-abdullah.sevincer@intel.com> <20231103182933.2831662-2-abdullah.sevincer@intel.com> <13815314.RDIVbhacDa@thomas> In-Reply-To: <13815314.RDIVbhacDa@thomas> From: Jerin Jacob Date: Sun, 5 Nov 2023 11:18:10 +0530 Message-ID: Subject: Re: [PATCH v6 1/2] bus/pci: add function to enable/disable PASID To: Thomas Monjalon Cc: Abdullah Sevincer , dev@dpdk.org, jerinj@marvell.com, mike.ximing.chen@intel.com, bruce.richardson@intel.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 Sat, Nov 4, 2023 at 2:49=E2=80=AFPM Thomas Monjalon wrote: > > 04/11/2023 08:32, Jerin Jacob: > > On Sat, Nov 4, 2023 at 4:47=E2=80=AFAM Abdullah Sevincer > > wrote: > > > > > > This commit implements an internal api to enable and disable PASID fo= r > > > a device e.g. device driver event/dlb2. > > > > git comment can be reworded when apply. > > What do you mean Jerin? Since I am not applying this patch, I thought you can reword something like following bus/pci: support PASID control Add an internal API to control PASID for a given PCIe device. > > > > > For kernels when PASID enabled by default it breaks DLB functionality= , > > > hence disabling PASID is required for DLB to function properly. > > > > > > PASID capability is not exposed to users hence offset can not be > > > retrieved by rte_pci_find_ext_capability() api. Therefore, api > > > implemented in this commit accepts an offset for PASID with an enable > > > flag which is used to enable/disable PASID. > > > > > > Signed-off-by: Abdullah Sevincer > > > > Acked-by: Jerin Jacob > > >