Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7066731ybp; Wed, 16 Oct 2019 03:20:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxAc8lAOr6hUH5t8EwMGcm8hJSMAXnSW8YidLx0oM5+lq64FA/pARCyNQtK2rJ33YBLxS9g X-Received: by 2002:a17:906:6a54:: with SMTP id n20mr39367014ejs.30.1571221200176; Wed, 16 Oct 2019 03:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571221200; cv=none; d=google.com; s=arc-20160816; b=Xy/AceLkaGZKs+0dv4c32rdk25lCMoIODcw8lAStg3MwzLIecYKqVwHilYGUqlvMER OwjIN4wfbflnhs2a6zUY/aX+YDMTMx3x9a+v6UlMjW+3VWKFLTXrsKub2wL7Wi1r+ofJ XXW55oz6tP39vvt0s1INsZP3Ee6owmg/mDBvQSIKWcdmM8vX392W28JTYsFoj8FVsvpG phSFnDHf9nPuExlvG3knYf8DolqlEideY+yprTzewIy5Atvd5lm2nrzVM3Zxvxz0u75P wuJy4DvMAFfT4OpMH5EFIGZ52fTMVO26ejuDuS4EMXe7h8yNj4/LGOj/1EwK/Asw/7Z8 e0cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=aFi1462hfuasOiwnMkcC9QUsM1rJSNV4GHeM0PM6KnQ=; b=REvRQKK1SZrGdToQyHvNgHG3NgZquzpa9CUuN0fQCNWRFJ08Dp2AatYHyIaLg1kx4e nCxlWS7uwVSZ5gdkcF5oxg0I0Pz9zSfWl2PqajIeF7jFjREpuSnL+s57yy9chG2S5Ykr ZpamEccXPfPL8JAfviZAtfY7jJ6k7SgiBR5WhoJkyiGoWLGPtrGJbmWCXgAm3ZASCcYq ppPLX6FTwsOtALxTpbiMV34xzvmN7ssgqfUMZ2vMtlP4RGU686UsyPCi+oceWjGG3Ojb TLJpv0z+Va+klHkTNXKiBTcYzhsMYnLutLtS6blLSTB3d5eFAeqEayHa9/2UGGrQnKUc 15ow== 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 w26si16567807edd.305.2019.10.16.03.19.36; Wed, 16 Oct 2019 03:20:00 -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 S2390695AbfJPBgX (ORCPT + 99 others); Tue, 15 Oct 2019 21:36:23 -0400 Received: from mga11.intel.com ([192.55.52.93]:13265 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389359AbfJPBgT (ORCPT ); Tue, 15 Oct 2019 21:36:19 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Oct 2019 18:36:19 -0700 X-IronPort-AV: E=Sophos;i="5.67,302,1566889200"; d="scan'208";a="189532104" Received: from lingshan-mobl5.ccr.corp.intel.com (HELO [10.249.68.79]) ([10.249.68.79]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Oct 2019 18:36:12 -0700 Subject: Re: [RFC 0/2] Intel IFC VF driver for vdpa To: Zhu Lingshan , mst@redhat.com, jasowang@redhat.com, alex.williamson@redhat.com Cc: linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.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 References: <20191016013050.3918-1-lingshan.zhu@intel.com> From: Zhu Lingshan Message-ID: <37503c7d-c07d-e584-0b6f-3733d2ad1dc7@linux.intel.com> Date: Wed, 16 Oct 2019 09:36:06 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <20191016013050.3918-1-lingshan.zhu@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org failed to send to kvm list, resend, sorry for the inconvenience. THanks, BR Zhu Lingshan On 10/16/2019 9:30 AM, Zhu Lingshan wrote: > 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 >