mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-15 05:56:41 +07:00
d99dc602e2
This patch implements the mechanism to accelerate the transmit side of a multiple transmit queue RDMA netdev by submitting the packets to the SDMA engine directly instead of sending through the verbs layer. This patch also changes the UD/SEND_ONLY op to output the entropy value in byte 0 of deth[1]. UD/SEND_ONLY_WITH_IMMEDIATE uses the previous behavior with no entropy value being output. The code in the ipoib rdma netdev which submits tx requests upon successful submission will call trace_sdma_output_ibhdr to output the ibhdr to the trace buffer. Link: https://lore.kernel.org/r/20200511160548.173205.45616.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: Gary Leshner <Gary.S.Leshner@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>
65 lines
869 B
Makefile
65 lines
869 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_tx.o \
|
|
mad.o \
|
|
mmu_rb.o \
|
|
msix.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
|