On 15/06/2023 09:50, kernel test robot wrote: > config: riscv-buildonly-randconfig-r001-20230614 (https://download.01.org/0day-ci/archive/20230615/202306151656.yttECVTP-lkp@xxxxxxxxx/config) This has: # CONFIG_INET is not set > All errors (new ones prefixed by >>): > > riscv32-linux-ld: drivers/net/ethernet/sfc/tc_encap_actions.o: in function `.L0 ': >>> drivers/net/ethernet/sfc/tc_encap_actions.c:277: undefined reference to `ip_send_check' > riscv32-linux-ld: drivers/net/ethernet/sfc/tc_encap_actions.o: in function `.L0 ': > include/linux/rhashtable.h:648: undefined reference to `arp_tbl' > riscv32-linux-ld: drivers/net/ethernet/sfc/tc_encap_actions.o: in function `.L0 ': > drivers/net/ethernet/sfc/tc_encap_actions.c:135: undefined reference to `ip_route_output_flow' >From which these errors follow, since these symbols are in net/ipv4/*.o. Not sure whether to put ifdefs in tc_encap_actions.c, or just make CONFIG_SFC[_SRIOV?] depend on (or select?) CONFIG_INET. Because is there really a use case for putting an sfc NIC in a box without IP? -ed