Home
last modified time | relevance | path

Searched refs:mfc_un (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv4/
H A Dipmr_base.c100 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any_parent()
113 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()
118 if (proxy && proxy->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()
248 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_fill_mroute()
252 if (vif_dev && c->mfc_un.res.ttls[ct] < 255) { in mr_fill_mroute()
262 nhp->rtnh_hops = c->mfc_un.res.ttls[ct]; in mr_fill_mroute()
271 lastuse = READ_ONCE(c->mfc_un.res.lastuse); in mr_fill_mroute()
274 mfcs.mfcs_packets = atomic_long_read(&c->mfc_un.res.pkt); in mr_fill_mroute()
275 mfcs.mfcs_bytes = atomic_long_read(&c->mfc_un.res.bytes); in mr_fill_mroute()
276 mfcs.mfcs_wrong_if = atomic_long_read(&c->mfc_un.res.wrong_if); in mr_fill_mroute()
[all …]
H A Dipmr.c766 while ((skb = skb_dequeue(&c->_c.mfc_un.unres.unresolved))) { in ipmr_destroy_unres()
806 if (time_after(c->mfc_un.unres.expires, now)) { in ipmr_expire_process()
807 unsigned long interval = c->mfc_un.unres.expires - now; in ipmr_expire_process()
831 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
832 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
833 memset(cache->mfc_un.res.ttls, 255, MAXVIFS); in ipmr_update_thresholds()
838 cache->mfc_un.res.ttls[vifi] = ttls[vifi]; in ipmr_update_thresholds()
839 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()
840 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
841 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
[all …]
/linux/include/linux/
H A Dmroute_base.h156 } mfc_un; member
164 if (refcount_dec_and_test(&c->mfc_un.res.refcount)) in mr_cache_put()
170 refcount_inc(&c->mfc_un.res.refcount); in mr_cache_hold()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr.c115 return mr_route->mfc->mfc_un.res.ttls[ivif] != 255; in mlxsw_sp_mr_route_ivif_in_evifs()
321 if (mfc->mfc_un.res.ttls[i] != 255) { in mlxsw_sp_mr_route_create()
1008 if (atomic_long_read(&mr_route->mfc->mfc_un.res.pkt) != packets) in mlxsw_sp_mr_route_stats_update()
1009 WRITE_ONCE(mr_route->mfc->mfc_un.res.lastuse, jiffies); in mlxsw_sp_mr_route_stats_update()
1010 atomic_long_set(&mr_route->mfc->mfc_un.res.pkt, packets); in mlxsw_sp_mr_route_stats_update()
1011 atomic_long_set(&mr_route->mfc->mfc_un.res.bytes, bytes); in mlxsw_sp_mr_route_stats_update()