Home
last modified time | relevance | path

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

/linux-6.15/net/ipv4/
H A Dipmr_base.c86 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any_parent()
100 if (c->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()
105 if (proxy && proxy->mfc_un.res.ttls[vifi] < 255) in mr_mfc_find_any()
240 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_fill_mroute()
244 if (vif_dev && c->mfc_un.res.ttls[ct] < 255) { in mr_fill_mroute()
254 nhp->rtnh_hops = c->mfc_un.res.ttls[ct]; in mr_fill_mroute()
263 lastuse = READ_ONCE(c->mfc_un.res.lastuse); in mr_fill_mroute()
266 mfcs.mfcs_packets = atomic_long_read(&c->mfc_un.res.pkt); in mr_fill_mroute()
267 mfcs.mfcs_bytes = atomic_long_read(&c->mfc_un.res.bytes); in mr_fill_mroute()
285 for (ct = c->mfc_un.res.minvif; ct < c->mfc_un.res.maxvif; ct++) { in mr_mfc_uses_dev()
[all …]
H A Dipmr.c810 cache->mfc_un.res.minvif = MAXVIFS; in ipmr_update_thresholds()
811 cache->mfc_un.res.maxvif = 0; in ipmr_update_thresholds()
818 if (cache->mfc_un.res.minvif > vifi) in ipmr_update_thresholds()
819 cache->mfc_un.res.minvif = vifi; in ipmr_update_thresholds()
820 if (cache->mfc_un.res.maxvif <= vifi) in ipmr_update_thresholds()
821 cache->mfc_un.res.maxvif = vifi + 1; in ipmr_update_thresholds()
978 c->_c.mfc_un.res.minvif = MAXVIFS; in ipmr_cache_alloc()
1171 c->_c.mfc_un.unres.expires); in ipmr_cache_unresolved()
2058 for (ct = c->_c.mfc_un.res.maxvif - 1; in ip_mr_forward()
3025 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
[all …]
/linux-6.15/net/ipv6/
H A Dip6mr.c516 for (n = mfc->_c.mfc_un.res.minvif; in ipmr_mfc_seq_show()
519 mfc->_c.mfc_un.res.ttls[n] < 255) in ipmr_mfc_seq_show()
522 mfc->_c.mfc_un.res.ttls[n]); in ipmr_mfc_seq_show()
863 cache->mfc_un.res.minvif = MAXMIFS; in ip6mr_update_thresholds()
864 cache->mfc_un.res.maxvif = 0; in ip6mr_update_thresholds()
871 if (cache->mfc_un.res.minvif > vifi) in ip6mr_update_thresholds()
872 cache->mfc_un.res.minvif = vifi; in ip6mr_update_thresholds()
873 if (cache->mfc_un.res.maxvif <= vifi) in ip6mr_update_thresholds()
874 cache->mfc_un.res.maxvif = vifi + 1; in ip6mr_update_thresholds()
1005 c->_c.mfc_un.res.minvif = MAXMIFS; in ip6mr_cache_alloc()
[all …]
/linux-6.15/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-6.15/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()
1006 if (atomic_long_read(&mr_route->mfc->mfc_un.res.pkt) != packets) in mlxsw_sp_mr_route_stats_update()
1007 WRITE_ONCE(mr_route->mfc->mfc_un.res.lastuse, jiffies); in mlxsw_sp_mr_route_stats_update()
1008 atomic_long_set(&mr_route->mfc->mfc_un.res.pkt, packets); in mlxsw_sp_mr_route_stats_update()
1009 atomic_long_set(&mr_route->mfc->mfc_un.res.bytes, bytes); in mlxsw_sp_mr_route_stats_update()