add for support cmake with netdev_notify_recvcpu.c
Signed-off-by: daichuan <daichuan@xiaomi.com>
This commit is contained in:
parent
b5753d06f2
commit
e48d5d8271
@ -64,6 +64,9 @@ config NETDEV_RSS
|
||||
bool "Using hardware RSS (Receive Side Scaling) with network card"
|
||||
default n
|
||||
depends on SMP && NETDEV_IOCTL && NETDEV_WORK_THREAD
|
||||
---help---
|
||||
When the hardware supports RSS/aRFS function, provide the
|
||||
hash value and CPU ID to the hardware driver.
|
||||
|
||||
comment "General Ethernet MAC Driver Options"
|
||||
|
||||
|
@ -50,4 +50,8 @@ if(CONFIG_NETDEV_STATISTICS)
|
||||
list(APPEND SRCS netdev_stats.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_NETDEV_RSS)
|
||||
list(APPEND SRCS netdev_notify_recvcpu.c)
|
||||
endif()
|
||||
|
||||
target_sources(net PRIVATE ${SRCS})
|
||||
|
Loading…
Reference in New Issue
Block a user