mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-29 05:04:50 +00:00
58983e4b02
Each channel gets its own DMA resources, cleanup and "bufferpool" tasks, and a separate cleanup taskqueue to isolate channels operation as much as possible to avoid various kernel panics under heavy network load. As a side-effect of this work, dpaa2_buf structure is simplified and all of the functions to re-seed those buffers are gathered now in dpaa2_buf.h and .c files; functions to work with channels are extracted into dpaa2_channel.h and .c files as well. Reported by: dch Reviewed by: bz Approved by: bz (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D41296
49 lines
905 B
Makefile
49 lines
905 B
Makefile
.PATH: ${SRCTOP}/sys/dev/dpaa2
|
|
|
|
KMOD= dpaa2
|
|
|
|
SRCS= dpaa2_mc.c
|
|
SRCS+= dpaa2_rc.c
|
|
SRCS+= dpaa2_io.c
|
|
SRCS+= dpaa2_bp.c
|
|
SRCS+= dpaa2_ni.c
|
|
SRCS+= dpaa2_mcp.c
|
|
SRCS+= dpaa2_swp.c
|
|
SRCS+= dpaa2_mac.c
|
|
SRCS+= dpaa2_con.c
|
|
SRCS+= dpaa2_buf.c
|
|
SRCS+= dpaa2_channel.c
|
|
SRCS+= dpaa2_types.c
|
|
|
|
SRCS+= dpaa2_cmd_if.c dpaa2_cmd_if.h
|
|
SRCS+= dpaa2_swp_if.c dpaa2_swp_if.h
|
|
SRCS+= dpaa2_mc_if.c dpaa2_mc_if.h
|
|
SRCS+= memac_mdio_common.c memac_mdio_if.c memac_mdio_if.h
|
|
|
|
SRCS+= dpaa2_console.c
|
|
|
|
SRCS+= bus_if.h device_if.h miibus_if.h
|
|
SRCS+= pcib_if.h pci_if.h
|
|
|
|
SRCS+= opt_acpi.h
|
|
SRCS+= opt_platform.h
|
|
SRCS+= opt_rss.h
|
|
|
|
SRCS.DEV_ACPI= dpaa2_mc_acpi.c \
|
|
memac_mdio_acpi.c \
|
|
acpi_if.h \
|
|
acpi_bus_if.h
|
|
|
|
.if !empty(OPT_FDT)
|
|
SRCS+= dpaa2_mc_fdt.c \
|
|
memac_mdio_fdt.c \
|
|
ofw_bus_if.h
|
|
.endif
|
|
|
|
MFILES= dev/dpaa2/dpaa2_cmd_if.m \
|
|
dev/dpaa2/dpaa2_swp_if.m \
|
|
dev/dpaa2/dpaa2_mc_if.m \
|
|
dev/dpaa2/memac_mdio_if.m
|
|
|
|
.include <bsd.kmod.mk>
|