Skip to content

Commit

Permalink
Fix ice-zc LM support
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Oct 11, 2023
1 parent 54f989e commit 1c8eaa3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/intel/ice/ice-1.12.7-zc/src/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@ endif
# HAVE_PF_RING_NO_RDMA
#obj-m += auxiliary.o

# LM support is only enabled if the kernel has features for LM v1 protocol.
# If the kernel lacks the necessary infrastructure, LM support will be disabled.
ifeq ($(call is_kcompat_defined,HAVE_LMV1_SUPPORT),1)
export ENABLE_LM_SUPPORT := 1
endif

EXTRA_CFLAGS += -DHAVE_PF_RING
KBUILD_EXTRA_SYMBOLS=${PF_RING_PATH}/Module.symvers

Expand Down

0 comments on commit 1c8eaa3

Please sign in to comment.