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 EA97343059; Mon, 14 Aug 2023 06:39:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DDF8D40A7F; Mon, 14 Aug 2023 06:39:29 +0200 (CEST) Received: from mail-oi1-f173.google.com (mail-oi1-f173.google.com [209.85.167.173]) by mails.dpdk.org (Postfix) with ESMTP id F0DC8406A2 for ; Mon, 14 Aug 2023 06:39:28 +0200 (CEST) Received: by mail-oi1-f173.google.com with SMTP id 5614622812f47-3a7a180c3faso3242212b6e.2 for ; Sun, 13 Aug 2023 21:39:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691987968; x=1692592768; 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=Qd0NJs4RCdi8fq4VnPXR65EWIY5y3JUrkjCapVScRyQ=; b=Ck6Yywpl7hlsXb0KWKt/8Y6cNTQKazNQld1sOGr059/M+KUlQnZkNuqN0oOCosm/g7 JKx56QMIa44BDjmtQBFS1LhWhZNyDmBgS9lLQfDrPha2K7V9327e4d84a5SjdIEdHZGs h51bhH8xDTGp6sRu24hEuvrAiWYDrrlzBTrw3kZmnnhY6CjmOTFMPZUOjAyCkOg8DrxY NzaOSlK3R5cQYHTTKg0v9fq/eFWeAWKJanE8mmotcSa+wCB38+r1AcxxePcTg/k/F6DP dZ9un8aRvlKPSAsVU+sydndXOFFn4KGDaDctffuoVBXhvEYzRp1iARtF9ylGimz9EeY/ WgWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691987968; x=1692592768; 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=Qd0NJs4RCdi8fq4VnPXR65EWIY5y3JUrkjCapVScRyQ=; b=Jt5qcFRG5QPxL0tM0safFcKWHphtK9zzJGu86/rKiCOSuTa+mwJQYvdqN+Twu579S2 pg3iJfEzSpE0bgeS/ajUksG1FJFuAUjQImBms3sqJSYgyUW/lHcFn2N/Olh0b8rs6GFl wyFz8O/AnqXvNqELUm5+8KFM4ibo5KVNVyg317cGGENo7dt/10YUDFwVrs/uqyPXUY7l bIsq5ypaUZpMj+xXSic+P7LxmanqfddTjwmFtx6ZhjUBEblTETHDnzn4kCDCEdn8oMrX 6jpfoUGxiBO0bpvCT4/HTSc7u0hiLihA2f8HAu9vcHYNC36Eq92r8zp/rQ5T1QPEIE43 gm5A== X-Gm-Message-State: AOJu0YyeZv7zO3ZKaY1Xy9mSf5hWS4ru7fI4hCQVe0fvYnDi99jol7Q8 hdi8wgpbetZ4J9mIZt6wZn/ZyiqNUgfaajQUdPk= X-Google-Smtp-Source: AGHT+IHVg6WTfum/OrN+hLl5u0+Enk2fB6YBCjKuWvH44prWPWTI2EcBwPcdApV5KCgBcYtm+FRSPTMhGIOD6q+wcRw= X-Received: by 2002:a05:6808:288c:b0:3a7:a548:d92a with SMTP id eu12-20020a056808288c00b003a7a548d92amr7998842oib.5.1691987968125; Sun, 13 Aug 2023 21:39:28 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jerin Jacob Date: Mon, 14 Aug 2023 10:09:02 +0530 Message-ID: Subject: Re: [PATCH v1 3/3] dma/idxd: add API to create and attach to window To: Anatoly Burakov Cc: dev@dpdk.org, Bruce Richardson , Kevin Laatz , Vladimir Medvedkin 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 Fri, Aug 11, 2023 at 9:45=E2=80=AFPM Anatoly Burakov wrote: > > This commit implements functions necessary to use inter-domain > operations with idxd driver. > > The process is as follows: > > 1. Process A that wishes to share its memory with others, shall call > `rte_idxd_window_create()`, which will return a file descriptor > 2. Process A is to send above mentioned file descriptor to any > recipient process (usually over kernel IPC) that wishes to attach to > that window > 3. Process B, after receiving above mentioned file descriptor from > process A over IPC, shall call `rte_idxd_window_attach()` and > receive an inter-pasid handle > 4. Process B shall use this handle as an argument for inter-domain > operations using DMA device API > +}; > + > + > +EXPERIMENTAL { > + global: > + > + rte_idxd_window_create; > + rte_idxd_window_attach; PMD specific API starts with rte_pmd_ > +}; > -- > 2.37.2 >