net/ethtool: Add current supported tunable options
Add strings array of the current supported tunable options. Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com> Reviewed-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
					parent
					
						
							
								de84725403
							
						
					
				
			
			
				commit
				
					
						a4244b0cf5
					
				
			
		
					 2 changed files with 18 additions and 0 deletions
				
			
		|  | @ -215,6 +215,11 @@ enum tunable_id { | |||
| 	ETHTOOL_ID_UNSPEC, | ||||
| 	ETHTOOL_RX_COPYBREAK, | ||||
| 	ETHTOOL_TX_COPYBREAK, | ||||
| 	/*
 | ||||
| 	 * Add your fresh new tubale attribute above and remember to update | ||||
| 	 * tunable_strings[] in net/core/ethtool.c | ||||
| 	 */ | ||||
| 	__ETHTOOL_TUNABLE_COUNT, | ||||
| }; | ||||
| 
 | ||||
| enum tunable_type_id { | ||||
|  | @ -545,6 +550,7 @@ enum ethtool_stringset { | |||
| 	ETH_SS_NTUPLE_FILTERS, | ||||
| 	ETH_SS_FEATURES, | ||||
| 	ETH_SS_RSS_HASH_FUNCS, | ||||
| 	ETH_SS_TUNABLES, | ||||
| }; | ||||
| 
 | ||||
| /**
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hadar Hen Zion
				Hadar Hen Zion