mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	selftests: ncdevmem: Move ncdevmem under drivers/net/hw
This is where all the tests that depend on the HW functionality live in and this is where the automated test is gonna be added in the next patch. Reviewed-by: Mina Almasry <almasrymina@google.com> Signed-off-by: Stanislav Fomichev <sdf@fomichev.me> Link: https://patch.msgid.link/20241107181211.3934153-12-sdf@fomichev.me Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
		
							parent
							
								
									77f870a000
								
							
						
					
					
						commit
						be43a6b238
					
				
					 5 changed files with 9 additions and 9 deletions
				
			
		
							
								
								
									
										1
									
								
								tools/testing/selftests/drivers/net/hw/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								tools/testing/selftests/drivers/net/hw/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					ncdevmem
 | 
				
			||||||
| 
						 | 
					@ -26,4 +26,12 @@ TEST_INCLUDES := \
 | 
				
			||||||
	../../../net/forwarding/tc_common.sh \
 | 
						../../../net/forwarding/tc_common.sh \
 | 
				
			||||||
	#
 | 
						#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# YNL files, must be before "include ..lib.mk"
 | 
				
			||||||
 | 
					YNL_GEN_FILES := ncdevmem
 | 
				
			||||||
 | 
					TEST_GEN_FILES += $(YNL_GEN_FILES)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
include ../../../lib.mk
 | 
					include ../../../lib.mk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# YNL build
 | 
				
			||||||
 | 
					YNL_GENS := ethtool netdev
 | 
				
			||||||
 | 
					include ../../../net/ynl.mk
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										1
									
								
								tools/testing/selftests/net/.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								tools/testing/selftests/net/.gitignore
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -18,7 +18,6 @@ ipv6_flowlabel_mgr
 | 
				
			||||||
log.txt
 | 
					log.txt
 | 
				
			||||||
msg_oob
 | 
					msg_oob
 | 
				
			||||||
msg_zerocopy
 | 
					msg_zerocopy
 | 
				
			||||||
ncdevmem
 | 
					 | 
				
			||||||
nettest
 | 
					nettest
 | 
				
			||||||
psock_fanout
 | 
					psock_fanout
 | 
				
			||||||
psock_snd
 | 
					psock_snd
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -98,10 +98,6 @@ TEST_PROGS += vlan_hw_filter.sh
 | 
				
			||||||
TEST_PROGS += bpf_offload.py
 | 
					TEST_PROGS += bpf_offload.py
 | 
				
			||||||
TEST_PROGS += ipv6_route_update_soft_lockup.sh
 | 
					TEST_PROGS += ipv6_route_update_soft_lockup.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# YNL files, must be before "include ..lib.mk"
 | 
					 | 
				
			||||||
YNL_GEN_FILES := ncdevmem
 | 
					 | 
				
			||||||
TEST_GEN_FILES += $(YNL_GEN_FILES)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
TEST_FILES := settings
 | 
					TEST_FILES := settings
 | 
				
			||||||
TEST_FILES += in_netns.sh lib.sh net_helper.sh setup_loopback.sh setup_veth.sh
 | 
					TEST_FILES += in_netns.sh lib.sh net_helper.sh setup_loopback.sh setup_veth.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -111,10 +107,6 @@ TEST_INCLUDES := forwarding/lib.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
include ../lib.mk
 | 
					include ../lib.mk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# YNL build
 | 
					 | 
				
			||||||
YNL_GENS := ethtool netdev
 | 
					 | 
				
			||||||
include ynl.mk
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
$(OUTPUT)/epoll_busy_poll: LDLIBS += -lcap
 | 
					$(OUTPUT)/epoll_busy_poll: LDLIBS += -lcap
 | 
				
			||||||
$(OUTPUT)/reuseport_bpf_numa: LDLIBS += -lnuma
 | 
					$(OUTPUT)/reuseport_bpf_numa: LDLIBS += -lnuma
 | 
				
			||||||
$(OUTPUT)/tcp_mmap: LDLIBS += -lpthread -lcrypto
 | 
					$(OUTPUT)/tcp_mmap: LDLIBS += -lpthread -lcrypto
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue