mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	SMCD version 2 allows usage of ISM devices with hardware PNETID only, if an Ethernet net_device exists with the same hardware PNETID. This requires to maintain a list of pnetids belonging to Ethernet net_devices, which is covered by this patch. Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			381 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* SPDX-License-Identifier: GPL-2.0 */
 | 
						|
/* Shared Memory Communications
 | 
						|
 *
 | 
						|
 * Network namespace definitions.
 | 
						|
 *
 | 
						|
 * Copyright IBM Corp. 2018
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef SMC_NETNS_H
 | 
						|
#define SMC_NETNS_H
 | 
						|
 | 
						|
#include "smc_pnet.h"
 | 
						|
 | 
						|
extern unsigned int smc_net_id;
 | 
						|
 | 
						|
/* per-network namespace private data */
 | 
						|
struct smc_net {
 | 
						|
	struct smc_pnettable pnettable;
 | 
						|
	struct smc_pnetids_ndev pnetids_ndev;
 | 
						|
};
 | 
						|
#endif
 |