Searched refs:rnet (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ |
D | rionet.c | 100 struct rionet_private *rnet = netdev_priv(ndev); in rionet_rx_clean() local 103 i = rnet->rx_slot; in rionet_rx_clean() 106 if (!rnet->rx_skb[i]) in rionet_rx_clean() 109 if (!(data = rio_get_inb_message(rnet->mport, RIONET_MAILBOX))) in rionet_rx_clean() 112 rnet->rx_skb[i]->data = data; in rionet_rx_clean() 113 skb_put(rnet->rx_skb[i], RIO_MAX_MSG_SIZE); in rionet_rx_clean() 114 rnet->rx_skb[i]->protocol = in rionet_rx_clean() 115 eth_type_trans(rnet->rx_skb[i], ndev); in rionet_rx_clean() 116 error = netif_rx(rnet->rx_skb[i]); in rionet_rx_clean() 125 } while ((i = (i + 1) % RIONET_RX_RING_SIZE) != rnet->rx_slot); in rionet_rx_clean() [all …]
|
/drivers/staging/lustre/lnet/lnet/ |
D | router.c | 223 lnet_remotenet_t *rnet; in lnet_find_net_locked() local 231 rnet = list_entry(tmp, lnet_remotenet_t, lrn_list); in lnet_find_net_locked() 233 if (rnet->lrn_net == net) in lnet_find_net_locked() 234 return rnet; in lnet_find_net_locked() 271 lnet_add_route_to_rnet(lnet_remotenet_t *rnet, lnet_route_t *route) in lnet_add_route_to_rnet() argument 279 list_for_each(e, &rnet->lrn_routes) { in lnet_add_route_to_rnet() 285 list_for_each(e, &rnet->lrn_routes) { in lnet_add_route_to_rnet() 302 lnet_remotenet_t *rnet; in lnet_add_route() local 325 LIBCFS_ALLOC(rnet, sizeof(*rnet)); in lnet_add_route() 326 if (!route || !rnet) { in lnet_add_route() [all …]
|
D | router_proc.c | 175 lnet_remotenet_t *rnet = NULL; in proc_lnet_routes() local 194 rnet = list_entry(n, lnet_remotenet_t, in proc_lnet_routes() 197 r = rnet->lrn_routes.next; in proc_lnet_routes() 199 while (r != &rnet->lrn_routes) { in proc_lnet_routes() 217 __u32 net = rnet->lrn_net; in proc_lnet_routes()
|
D | lib-move.c | 998 lnet_remotenet_t *rnet; in lnet_find_route_locked() local 1010 rnet = lnet_find_net_locked(LNET_NIDNET(target)); in lnet_find_route_locked() 1011 if (!rnet) in lnet_find_route_locked() 1017 list_for_each_entry(route, &rnet->lrn_routes, lr_list) { in lnet_find_route_locked() 2290 lnet_remotenet_t *rnet; in LNetDist() local 2347 rnet = list_entry(e, lnet_remotenet_t, lrn_list); in LNetDist() 2349 if (rnet->lrn_net == dstnet) { in LNetDist() 2355 LASSERT(!list_empty(&rnet->lrn_routes)); in LNetDist() 2357 list_for_each_entry(route, &rnet->lrn_routes, in LNetDist()
|
D | api-ni.c | 1761 lnet_remotenet_t *rnet; in lnet_dyn_add_ni() local 1781 rnet = lnet_find_net_locked(LNET_NIDNET(ni->ni_nid)); in lnet_dyn_add_ni() 1787 if (rnet) { in lnet_dyn_add_ni()
|