From 750a2efeb2814623e1355885874e93cb7578ef73 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 20 Mar 2016 09:22:55 +0000 Subject: [ipoib] Allow external code to identify IPoIB network devices Signed-off-by: Michael Brown --- src/include/ipxe/ipoib.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/ipxe/ipoib.h b/src/include/ipxe/ipoib.h index b34dd32d0..065eeabb7 100644 --- a/src/include/ipxe/ipoib.h +++ b/src/include/ipxe/ipoib.h @@ -62,5 +62,6 @@ struct ipoib_remac { extern const char * ipoib_ntoa ( const void *ll_addr ); extern struct net_device * alloc_ipoibdev ( size_t priv_size ); +extern struct net_device * ipoib_netdev ( struct ib_device *ibdev ); #endif /* _IPXE_IPOIB_H */ -- cgit v1.2.3-55-g7522