From patchwork Tue Jun 1 06:57:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhu, Lingshan" X-Patchwork-Id: 12290525 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 0CED7C47080 for ; Tue, 1 Jun 2021 07:02:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D7CA6610C8 for ; Tue, 1 Jun 2021 07:02:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233025AbhFAHEd (ORCPT ); Tue, 1 Jun 2021 03:04:33 -0400 Received: from mga04.intel.com ([192.55.52.120]:1489 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229984AbhFAHE1 (ORCPT ); Tue, 1 Jun 2021 03:04:27 -0400 IronPort-SDR: PEjl+a1Rpb3pIvl/KhZUXb2ZYGQv6a+yga3028SpI6SpW3CLsYJdFRf85pENLQld3paUwlV4vQ Pdkn+Aby5/Eg== X-IronPort-AV: E=McAfee;i="6200,9189,10001"; a="201619813" X-IronPort-AV: E=Sophos;i="5.83,239,1616482800"; d="scan'208";a="201619813" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 00:02:46 -0700 IronPort-SDR: TpFA7Zl5EkJiXcEFW4CauoXkkmIg9YJIxIY7Ag3HkZSl+2CC8HaLc7yf/9kUs1UOwWoQQYt46a vaaQN2RXDWrQ== X-IronPort-AV: E=Sophos;i="5.83,239,1616482800"; d="scan'208";a="445224681" Received: from unknown (HELO localhost.localdomain.bj.intel.com) ([10.240.192.107]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2021 00:02:44 -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] virtio: update virtio id table Date: Tue, 1 Jun 2021 14:57:08 +0800 Message-Id: <20210601065710.224300-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 adds transitional device ids in virtio pci header. Then reuses the ids in ifcvf driver Zhu Lingshan (2): virtio-pci: add transitional device ids in virtio pci header 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_pci.h | 12 ++++++++++++ 3 files changed, 25 insertions(+), 22 deletions(-)