Received: by 2002:a17:90a:37e8:0:0:0:0 with SMTP id v95csp7149192pjb; Wed, 16 Oct 2019 00:53:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyS61LtsoX2zT6N2J9WjLKwI0xPEueS1UOWUTaMnQpevODMtcihsX0nHd+YxIHB0VPhXUMp X-Received: by 2002:a17:907:429c:: with SMTP id ny20mr37497080ejb.234.1571212412829; Wed, 16 Oct 2019 00:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571212412; cv=none; d=google.com; s=arc-20160816; b=g369uf8XqwPaKId/Ei/P8ipSr+QUhiQBg5A2BW+CLO9MlXUW9hJHhN7faFf1LlDlhm YyviC4QmWUZetUb9mWDKR9Ckcuij8M/GOpnKKY7EJb9xE/pcKPiYK+IevUvAA1WNMZUv L6hgFYp1P/a2DY6ol2dfO6K2eYour9lwFpyRNBWKIfHp3VSySZbgDDA2quGSWVMKgt+I uDHia72Tt8zJF84Rk90vje9BBiJVAqBOZaP7DXojMJNbo22OyvNsiIGCnXDvb3T6FU3i 4MwRnr2qUvjnNeRfI7wTcnBv++63eLO2MdryINp+eH4bMwz2Y/ugLP8oqKaOrW9v+CKI hjnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=yDNbIjJkwQ/idZcE04shutjWQ/Mc5MzLiuifHmljpwU=; b=TmltEviaIf46M6bL5aP8ox6RAej60FaVDnI3e8eoLy87jn99CWoiPn5hnc6NcDwMHV wOODA0obTe0ChYTuN4A9b0LvnHB+G6lqcjD/e1AxWHmUZ4OgQsokk/zpFFKpyYWYEPPU o9GhkSWyxxgCDLEk8VhdnmMJdEp0tS0+63VZ9z2qpJxEekTNP5mMi+n0+ZHwgUjmhJkc Igu0oyLZwhAJ24QGsPihXYEGD3IDr3sYrl0/DfXu+CoUzwuG5uIwJgH7dzu5BZW8KaQq iF5ckEk7emkGm1QaPkXVGRWZzjgYFRtK1ZKu9RgPgZj2zK8WmQj/TAORFgEJ2I0RdmM7 bViQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fx14si14668675ejb.268.2019.10.16.00.53.09; Wed, 16 Oct 2019 00:53:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390496AbfJPBKw (ORCPT + 99 others); Tue, 15 Oct 2019 21:10:52 -0400 Received: from mga14.intel.com ([192.55.52.115]:43814 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730242AbfJPBKw (ORCPT ); Tue, 15 Oct 2019 21:10:52 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2019 18:10:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,301,1566889200"; d="scan'208";a="207749069" Received: from lingshan-mobl5.ccr.corp.intel.com (HELO localhost.localdomain) ([10.249.68.79]) by orsmga002.jf.intel.com with ESMTP; 15 Oct 2019 18:10:42 -0700 From: Zhu Lingshan To: mst@redhat.com, jasowang@redhat.com, alex.williamson@redhat.com Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernle.org, netdev@vger.kernel.org, dan.daly@intel.com, cunming.liang@intel.com, tiwei.bie@intel.com, jason.zeng@intel.com, zhiyuan.lv@intel.com, Zhu Lingshan Subject: [RFC 0/2] Intel IFC VF driver for vdpa Date: Wed, 16 Oct 2019 09:10:39 +0800 Message-Id: <20191016011041.3441-1-lingshan.zhu@intel.com> X-Mailer: git-send-email 2.16.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all: This series intends to introduce Intel IFC VF NIC driver for Vhost Data Plane Acceleration. Here comes two main parts, one is ifcvf_base layer, which handles hardware operations. The other is ifcvf_main layer handles VF initialization, configuration and removal, which depends on and complys to vhost_mdev https://lkml.org/lkml/2019/9/26/15 This is a first RFC try, please help review. Thanks! BR Zhu Lingshan Zhu Lingshan (2): vhost: IFC VF hardware operation layer vhost: IFC VF vdpa layer drivers/vhost/ifcvf/ifcvf_base.c | 390 ++++++++++++++++++++++++++++ drivers/vhost/ifcvf/ifcvf_base.h | 137 ++++++++++ drivers/vhost/ifcvf/ifcvf_main.c | 541 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 1068 insertions(+) create mode 100644 drivers/vhost/ifcvf/ifcvf_base.c create mode 100644 drivers/vhost/ifcvf/ifcvf_base.h create mode 100644 drivers/vhost/ifcvf/ifcvf_main.c -- 2.16.4