Received: by 2002:a17:90a:37e8:0:0:0:0 with SMTP id v95csp7147705pjb; Wed, 16 Oct 2019 00:51:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpmD3jdN422fi3aCQJYV1/LdhL0xyyJUmuVUG3p4yD3KXw/EjPNpe0f4hqiJQ6sF1TRhiA X-Received: by 2002:a17:906:1651:: with SMTP id n17mr37841523ejd.220.1571212309263; Wed, 16 Oct 2019 00:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571212309; cv=none; d=google.com; s=arc-20160816; b=EiUhh6Hac4RKhLrlx8tZnznoKy3tDUMa6PPnh80BOpwlCuXl+YmolBwIDAigv/NCKs PaddekiwPqdQG8uTqtQdtM+g7LbvNWiCi3IxSpg/yLJdSKElpOIrK/LQIAVwo4I7LTvS GVCCRE4vOt3yP0lqq2ztMi4qFnq3pjnKCpfmhxwGBwkf3InV+ZhXex8YBk4ub366TowZ 4O+W/iJ0DewXtA5TPWwWA4Ysz/2So1GtllaUbEUd6KUG2LaJ4x/FSvB480yAnx7VRT4P NW52vSOduxcKEcpdQPTlX+j1f2l8zVbEF3RAZ8x8TMMOrz7M/Lj4glBaFDSUaTCc63O1 OsFQ== 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=HWskSFWFegIavaa8DeGo0zYWBCLtTsxui2U4GalSLCTE5jLEDrWBitgGPI4kK5vNpq l+Mo++rffGjLi1nOPzJ938RzVsubEegvdMHeQuqbSjHxCbUpUw4WCjtfyZklkoKSKkI4 Ot7Nh41u5nydbYLrWv4pbvKv33NXRRvoAklZept8oXTwqD9iFn4sf2ndIlE5W/AZGzqI VGkhuJBr07qYOXNNJ/7X+lQoHOhLQKgALDjL9t7eMjAChrbGNsq6xe8sc/H8up2vQAHH 1dpGrSSTAY7Cw9rlu0UlHFC7N8Tkgf6CjLOBPX4eXCqHXD/RUlxYdKn5MD0TopitWbOm Vvxw== 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 x25si15836029edr.128.2019.10.16.00.51.25; Wed, 16 Oct 2019 00:51:49 -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 S2390417AbfJPBDt (ORCPT + 99 others); Tue, 15 Oct 2019 21:03:49 -0400 Received: from mga12.intel.com ([192.55.52.136]:48293 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbfJPBDs (ORCPT ); Tue, 15 Oct 2019 21:03:48 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2019 18:03:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,301,1566889200"; d="scan'208";a="347268928" Received: from lingshan-mobl5.ccr.corp.intel.com (HELO localhost.localdomain) ([10.249.68.79]) by orsmga004.jf.intel.com with ESMTP; 15 Oct 2019 18:03:29 -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, 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:03:16 +0800 Message-Id: <20191016010318.3199-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