From patchwork Mon May 10 08:10:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhu, Lingshan" X-Patchwork-Id: 12247143 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 87C03C433ED for ; Mon, 10 May 2021 08:15:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 672F361364 for ; Mon, 10 May 2021 08:15:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230182AbhEJIQr (ORCPT ); Mon, 10 May 2021 04:16:47 -0400 Received: from mga18.intel.com ([134.134.136.126]:57585 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230045AbhEJIQr (ORCPT ); Mon, 10 May 2021 04:16:47 -0400 IronPort-SDR: K6IWrOaXO8+7cLdFCy0N9+uBhFsraVyytdFkPz8umDwvBgwpqbRlMy1K+tOT+jjmH7WpHzu+iy hd4IuULNyF2g== X-IronPort-AV: E=McAfee;i="6200,9189,9979"; a="186587919" X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="186587919" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 01:15:42 -0700 IronPort-SDR: vqby9qWuqvjiN0JM+XxyZ4LIXeNrUYf1nt9zotvqg9xSUy2mDUTmSBNHDDaDIIZmT2++aWYeK6 sHwCNEh+FROw== X-IronPort-AV: E=Sophos;i="5.82,287,1613462400"; d="scan'208";a="436040620" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([10.240.193.73]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 May 2021 01:15:40 -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 0/2] update virtio id table Date: Mon, 10 May 2021 16:10:13 +0800 Message-Id: <20210510081015.4212-1-lingshan.zhu@intel.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org This series updates virtio id table by adding transitional device ids. Then reuses the ids in ifcvf driver Zhu Lingshan (2): virtio: update virtio id table, add transitional ids vDPA/ifcvf: reuse pre-defined macros for device ids and vendor ids drivers/vdpa/ifcvf/ifcvf_base.h | 12 ------------ drivers/vdpa/ifcvf/ifcvf_main.c | 23 +++++++++++++---------- include/uapi/linux/virtio_ids.h | 12 ++++++++++++ 3 files changed, 25 insertions(+), 22 deletions(-)