From patchwork Mon Jul 5 14:13:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhu Lingshan X-Patchwork-Id: 470402 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30F1FC07E9C for ; Mon, 5 Jul 2021 14:19:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F3A16195F for ; Mon, 5 Jul 2021 14:19:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231420AbhGEOV6 (ORCPT ); Mon, 5 Jul 2021 10:21:58 -0400 Received: from mga04.intel.com ([192.55.52.120]:44987 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230285AbhGEOV6 (ORCPT ); Mon, 5 Jul 2021 10:21:58 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10036"; a="207158040" X-IronPort-AV: E=Sophos;i="5.83,325,1616482800"; d="scan'208";a="207158040" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2021 07:19:21 -0700 X-IronPort-AV: E=Sophos;i="5.83,325,1616482800"; d="scan'208";a="485523454" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([10.240.192.107]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Jul 2021 07:19:19 -0700 From: Zhu Lingshan To: jasowang@redhat.com, mst@redhat.com Cc: virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, kvm@vger.kernel.org, Zhu Lingshan Subject: [PATCH V2 0/2] vDPA/ifcvf: implement management netlink framework Date: Mon, 5 Jul 2021 22:13:31 +0800 Message-Id: <20210705141333.9262-1-lingshan.zhu@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This series implements vDPA management netlink for ifcvf. Please help review Thanks! Changes from V1: (1)handle adapter related error handling in ifcvf_vdpa_dev_add (Jason and Michael) (2)relace vdpa_unregister_device() with vdpa_mgmtdev_unregister() in ifcvf_remove (Jason) (3)squash patch 3 to patch 2(Jason) Zhu Lingshan (2): vDPA/ifcvf: introduce get_dev_type() which returns virtio dev id vDPA/ifcvf: implement management netlink framework for ifcvf drivers/vdpa/ifcvf/ifcvf_base.h | 6 + drivers/vdpa/ifcvf/ifcvf_main.c | 188 +++++++++++++++++++++++--------- 2 files changed, 145 insertions(+), 49 deletions(-)