FreeBSD/sys/dev/vnic/thunder_bgx.c
/* Return number of LMAC configured for this BGX */
Return number of LMAC configured for this BGX
Return number of LMAC configured for this BGX
int
bgx_get_lmac_count(int node, int bgx_idx)
{
	struct bgx *bgx;
	bgx = bgx_vnic[(node * MAX_BGX_PER_CN88XX) + bgx_idx];
	if (bgx != NULL)
		return (bgx->lmac_count);
	return (0);
}
int bgx_get_lmac_count ( int node , int bgx_idx ) { struct bgx * bgx ; bgx = bgx_vnic [ ( node * MAX_BGX_PER_CN88XX ) + bgx_idx ] ; if ( bgx != NULL ) return ( bgx -> lmac_count ) ; return ( 0 ) ; }
Return number of LMAC configured for this BGX
Return number of LMAC configured for this BGX