mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
6991abcb99
Ipoib netdev will share receive contexts with existing VNIC netdev. To achieve that, a dummy netdev is allocated with hfi1_devdata to own the receive contexts, and ipoib and VNIC netdevs will be put on top of it. Each receive context is associated with a single NAPI object. This patch adds the functions to receive incoming packets for accelerated ipoib. Link: https://lore.kernel.org/r/20200511160631.173205.54184.stgit@awfm-01.aw.intel.com Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Sadanand Warrier <sadanand.warrier@intel.com> Signed-off-by: Grzegorz Andrejczuk <grzegorz.andrejczuk@intel.com> Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
68 lines
914 B
Makefile
68 lines
914 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# HFI driver
|
|
#
|
|
#
|
|
#
|
|
# Called from the kernel module build system.
|
|
#
|
|
obj-$(CONFIG_INFINIBAND_HFI1) += hfi1.o
|
|
|
|
hfi1-y := \
|
|
affinity.o \
|
|
aspm.o \
|
|
chip.o \
|
|
device.o \
|
|
driver.o \
|
|
efivar.o \
|
|
eprom.o \
|
|
exp_rcv.o \
|
|
file_ops.o \
|
|
firmware.o \
|
|
init.o \
|
|
intr.o \
|
|
iowait.o \
|
|
ipoib_main.o \
|
|
ipoib_rx.o \
|
|
ipoib_tx.o \
|
|
mad.o \
|
|
mmu_rb.o \
|
|
msix.o \
|
|
netdev_rx.o \
|
|
opfn.o \
|
|
pcie.o \
|
|
pio.o \
|
|
pio_copy.o \
|
|
platform.o \
|
|
qp.o \
|
|
qsfp.o \
|
|
rc.o \
|
|
ruc.o \
|
|
sdma.o \
|
|
sysfs.o \
|
|
tid_rdma.o \
|
|
trace.o \
|
|
uc.o \
|
|
ud.o \
|
|
user_exp_rcv.o \
|
|
user_pages.o \
|
|
user_sdma.o \
|
|
verbs.o \
|
|
verbs_txreq.o \
|
|
vnic_main.o \
|
|
vnic_sdma.o
|
|
|
|
ifdef CONFIG_DEBUG_FS
|
|
hfi1-y += debugfs.o
|
|
ifdef CONFIG_FAULT_INJECTION
|
|
ifdef CONFIG_FAULT_INJECTION_DEBUG_FS
|
|
hfi1-y += fault.o
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
CFLAGS_trace.o = -I$(src)
|
|
ifdef MVERSION
|
|
CFLAGS_driver.o = -DHFI_DRIVER_VERSION_BASE=\"$(MVERSION)\"
|
|
endif
|