From patchwork Mon May 31 07:27:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhu, Lingshan" X-Patchwork-Id: 12288795 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=ham 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 C1A1CC47082 for ; Mon, 31 May 2021 07:33:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9E49E611CA for ; Mon, 31 May 2021 07:33:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230321AbhEaHfa (ORCPT ); Mon, 31 May 2021 03:35:30 -0400 Received: from mga09.intel.com ([134.134.136.24]:35460 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230306AbhEaHf3 (ORCPT ); Mon, 31 May 2021 03:35:29 -0400 IronPort-SDR: wHt5vwHo5IjwWOv6pkLGWw11NDLjkuDSGsEgiCEdPGTZD3CLHX/XDBu1/AQTYIX6zw/4yMhxhr kqmgEJI7Rk5w== X-IronPort-AV: E=McAfee;i="6200,9189,10000"; a="203316610" X-IronPort-AV: E=Sophos;i="5.83,236,1616482800"; d="scan'208";a="203316610" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2021 00:33:49 -0700 IronPort-SDR: fUMce9IW/gAo8Bbyzk5PZneExi+5BSxd1qXloF9Hy0SUgNbl5ZfnmTASEe8oD/Tv82sgBaXlu/ VFRH17fJwOnA== X-IronPort-AV: E=Sophos;i="5.83,236,1616482800"; d="scan'208";a="478809795" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([10.240.192.107]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2021 00:33:47 -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 RESEND 0/2] update virtio id table Date: Mon, 31 May 2021 15:27:41 +0800 Message-Id: <20210531072743.363171-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(-)