de871211fe
drivers can use it. This avoids some code duplication. Add missing default case to all switch statements while at it. Also move the hashing of the IPv6 flow field to layer 4 because the IPv6 flow field is constant on a per L4 connection basis and not on a per L3 network. Differential Revision: https://reviews.freebsd.org/D1987 Sponsored by: Mellanox Technologies MFC after: 1 month
15 lines
405 B
Makefile
15 lines
405 B
Makefile
# $FreeBSD$
|
|
.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
|
|
KMOD = mlxen
|
|
SRCS = device_if.h bus_if.h pci_if.h vnode_if.h
|
|
SRCS += en_cq.c en_main.c en_netdev.c en_port.c en_resources.c
|
|
SRCS += en_rx.c en_tx.c
|
|
SRCS += opt_inet.h opt_inet6.h
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include/
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|