Home
last modified time | relevance | path

Searched refs:MAXVIFS (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Dmroute.h44 #define MAXVIFS 32 macro
84 unsigned char mfcc_ttls[MAXVIFS]; /* Where it is going */
/openbmc/linux/include/linux/
H A Dmroute_base.h96 #ifndef MAXVIFS
100 #define MAXVIFS 32 macro
153 unsigned char ttls[MAXVIFS];
254 struct vif_device vif_table[MAXVIFS];
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr.c69 struct mlxsw_sp_mr_vif vifs[MAXVIFS];
216 erif_indices = kmalloc_array(MAXVIFS, sizeof(*erif_indices), in mlxsw_sp_mr_route_info_create()
320 for (i = 0; i < MAXVIFS; i++) { in mlxsw_sp_mr_route_create()
687 if (WARN_ON(vif_index >= MAXVIFS)) in mlxsw_sp_mr_vif_add()
698 if (WARN_ON(vif_index >= MAXVIFS)) in mlxsw_sp_mr_vif_del()
711 for (vif_index = 0; vif_index < MAXVIFS; vif_index++) in mlxsw_sp_mr_dev_vif_lookup()
928 for (i = 0; i < MAXVIFS; i++) { in mlxsw_sp_mr_table_create()
978 for (i = 0; i < MAXVIFS; i++) { in mlxsw_sp_mr_table_flush()
988 for (i = 0; i < MAXVIFS; i++) in mlxsw_sp_mr_table_empty()
/openbmc/linux/net/ipv4/
H A Dipmr.c793 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
795 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()
961 c->_c.mfc_un.res.minvif = MAXVIFS; in ipmr_cache_alloc()
1205 if (mfc->mfcc_parent >= MAXVIFS) in ipmr_mfc_add()
1433 if (vif.vifc_vifi >= MAXVIFS) { in ip_mroute_setsockopt()
2394 skb = nlmsg_new(mroute_msgsize(mfc->_c.mfc_parent >= MAXVIFS, in mroute_netlink_event()
2647 if (++vifi == MAXVIFS) in ipmr_nla_get_ttls()
H A Dipmr_base.c219 if (c->mfc_parent >= MAXVIFS) { in mr_fill_mroute()