From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 80A287D04 for ; Thu, 30 Nov 2017 19:42:08 +0100 (CET) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Nov 2017 10:42:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,341,1508828400"; d="scan'208";a="182109628" Received: from dpdk06.sh.intel.com ([10.67.110.196]) by fmsmga005.fm.intel.com with ESMTP; 30 Nov 2017 10:42:05 -0800 From: Jianfeng Tan To: dev@dpdk.org Cc: anatoly.burakov@intel.com, bruce.richardson@intel.com, konstantin.ananyev@intel.com, thomas@monjalon.net, Jianfeng Tan Date: Thu, 30 Nov 2017 18:44:07 +0000 Message-Id: <1512067450-59203-1-git-send-email-jianfeng.tan@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [dpdk-dev] [PATCH 0/3] generic channel for multi-process communication 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: , X-List-Received-Date: Thu, 30 Nov 2017 18:42:09 -0000 This patchset adds a generic channel for multi-process (primary/secondary) communication. Patch 1: addess the purpose and howto; Patch 2: add a syncrhonous way for those messages which need a response immediately. Patch 3: Rework vfio to use this generic communication channel. Jianfeng Tan (3): eal: add channel for multi-process communication eal: add synchronous multi-process communication vfio: use the generic multi-process channel lib/librte_eal/common/eal_common_proc.c | 546 +++++++++++++++++++++++++ lib/librte_eal/common/eal_filesystem.h | 18 + lib/librte_eal/common/eal_private.h | 10 + lib/librte_eal/common/include/rte_eal.h | 71 ++++ lib/librte_eal/linuxapp/eal/eal.c | 23 +- lib/librte_eal/linuxapp/eal/eal_vfio.c | 139 ++----- lib/librte_eal/linuxapp/eal/eal_vfio.h | 15 +- lib/librte_eal/linuxapp/eal/eal_vfio_mp_sync.c | 416 +++---------------- lib/librte_eal/rte_eal_version.map | 22 + 9 files changed, 785 insertions(+), 475 deletions(-) -- 2.7.4