mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
98a998d5e7
include the following list of changes: - Added eswitch ACL table management Introduce API for managing ACL table. This API include the following features: 1) vlan filter - for VST/VGT+ support. 2) spoofcheck. 3) robust functionality to allow/drop general untagged/tagged traffic. 4) support for both ingress and egress ACL types. - Added loopback filter to the vacl table. - Added multicast list set in the vPort context - Added promiscuous mode set in the vPort context - Set the vlan list in vPort context 1) Check caps if VLAN list is not longer than FW supports 2) Set MODIFY_NIC_VPORT_CONTEXT command - Changed MLX5_EEPROM_MAX_BYTES from 48 to 32 so that a single EEPROM reading cannot cross the 128-byte boundary. Previously reading the MCIA register was done in batches of 48 bytes. The third reading would then by-pass the 127th byte, which means that part of the low page and part of the high page would be read at the same time, which created a bug: 1st: 0-47 bytes 2nd: 48-95 bytes 3rd: 96-143 bytes MFC after: 1 week Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4411
36 lines
663 B
Makefile
36 lines
663 B
Makefile
# $FreeBSD$
|
|
.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_core
|
|
|
|
KMOD=mlx5
|
|
SRCS= \
|
|
mlx5_alloc.c \
|
|
mlx5_cmd.c \
|
|
mlx5_cq.c \
|
|
mlx5_eq.c \
|
|
mlx5_eswitch_vacl.c \
|
|
mlx5_flow_table.c \
|
|
mlx5_fw.c \
|
|
mlx5_health.c \
|
|
mlx5_mad.c \
|
|
mlx5_main.c \
|
|
mlx5_mcg.c \
|
|
mlx5_mr.c \
|
|
mlx5_pagealloc.c \
|
|
mlx5_pd.c \
|
|
mlx5_port.c \
|
|
mlx5_qp.c \
|
|
mlx5_srq.c \
|
|
mlx5_transobj.c \
|
|
mlx5_uar.c \
|
|
mlx5_vport.c \
|
|
mlx5_wq.c \
|
|
device_if.h bus_if.h vnode_if.h pci_if.h \
|
|
opt_inet.h opt_inet6.h opt_random.h opt_rss.h
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include
|
|
CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
|