mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-05 20:30:41 +00:00

Add the initial idpf_idc.c file with the functions to kick off the IDC initialization, create and initialize a core RDMA auxiliary device, and destroy said device. The RDMA core has a dependency on the vports being created by the control plane before it can be initialized. Therefore, once all the vports are up after a hard reset (either during driver load a function level reset), the core RDMA device info will be created. It is populated with the function type (as distinguished by the IDC initialization function pointer), the core idc_ops function points (just stubs for now), the reserved RDMA MSIX table, and various other info the core RDMA auxiliary driver will need. It is then plugged on to the bus. During a function level reset or driver unload, the device will be unplugged from the bus and destroyed. Reviewed-by: Madhu Chittim <madhu.chittim@intel.com> Signed-off-by: Joshua Hay <joshua.a.hay@intel.com> Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
24 lines
520 B
Makefile
24 lines
520 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
# Copyright (C) 2023 Intel Corporation
|
|
|
|
# Makefile for Intel(R) Infrastructure Data Path Function Linux Driver
|
|
|
|
obj-$(CONFIG_IDPF) += idpf.o
|
|
|
|
idpf-y := \
|
|
idpf_controlq.o \
|
|
idpf_controlq_setup.o \
|
|
idpf_dev.o \
|
|
idpf_ethtool.o \
|
|
idpf_idc.o \
|
|
idpf_lib.o \
|
|
idpf_main.o \
|
|
idpf_txrx.o \
|
|
idpf_virtchnl.o \
|
|
idpf_vf_dev.o
|
|
|
|
idpf-$(CONFIG_IDPF_SINGLEQ) += idpf_singleq_txrx.o
|
|
|
|
idpf-$(CONFIG_PTP_1588_CLOCK) += idpf_ptp.o
|
|
idpf-$(CONFIG_PTP_1588_CLOCK) += idpf_virtchnl_ptp.o
|