LCOV - code coverage report
Current view: top level - lib/env_dpdk - pci_vmd.c (source / functions) Hit Total Coverage
Test: ut_cov_unit.info Lines: 0 3 0.0 %
Date: 2024-12-16 00:23:21 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /*   SPDX-License-Identifier: BSD-3-Clause
       2             :  *   Copyright (C) 2019 Intel Corporation.
       3             :  *   All rights reserved.
       4             :  */
       5             : 
       6             : #include "env_internal.h"
       7             : 
       8             : #include "spdk/pci_ids.h"
       9             : 
      10             : static struct spdk_pci_id vmd_pci_driver_id[] = {
      11             :         { SPDK_PCI_DEVICE(SPDK_PCI_VID_INTEL, PCI_DEVICE_ID_INTEL_VMD_SKX) },
      12             :         { SPDK_PCI_DEVICE(SPDK_PCI_VID_INTEL, PCI_DEVICE_ID_INTEL_VMD_ICX) },
      13             :         { .vendor_id = 0, /* sentinel */ },
      14             : };
      15             : 
      16             : struct spdk_pci_driver *
      17           0 : spdk_pci_vmd_get_driver(void)
      18             : {
      19           0 :         return spdk_pci_get_driver("vmd");
      20             : }
      21             : 
      22           0 : SPDK_PCI_DRIVER_REGISTER(vmd, vmd_pci_driver_id,
      23             :                          SPDK_PCI_DRIVER_NEED_MAPPING | SPDK_PCI_DRIVER_WC_ACTIVATE);

Generated by: LCOV version 1.15