Searched refs:rnet (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/net/ |
H A D | rionet.c | 99 i = rnet->rx_slot; in rionet_rx_clean() 131 i = rnet->rx_slot; in rionet_rx_fill() 142 rnet->rx_slot = i; in rionet_rx_fill() 151 rnet->tx_skb[rnet->tx_slot] = skb; in rionet_queue_tx_msg() 159 ++rnet->tx_slot; in rionet_queue_tx_msg() 294 while (rnet->tx_cnt && (rnet->ack_slot != slot)) { in rionet_outb_msg_event() 296 dev_kfree_skb_irq(rnet->tx_skb[rnet->ack_slot]); in rionet_outb_msg_event() 297 rnet->tx_skb[rnet->ack_slot] = NULL; in rionet_outb_msg_event() 300 rnet->tx_cnt--; in rionet_outb_msg_event() 348 rnet->tx_cnt = 0; in rionet_open() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | netlink.c | 55 struct rdma_dev_net *rnet = rdma_net_to_dev_net(&init_net); in rdma_nl_chk_listeners() local 57 return netlink_has_listeners(rnet->nl_sock, group); in rdma_nl_chk_listeners() 264 struct rdma_dev_net *rnet = rdma_net_to_dev_net(net); in rdma_nl_unicast() local 274 struct rdma_dev_net *rnet = rdma_net_to_dev_net(net); in rdma_nl_unicast_wait() local 277 err = netlink_unicast(rnet->nl_sock, skb, pid, 0); in rdma_nl_unicast_wait() 285 struct rdma_dev_net *rnet = rdma_net_to_dev_net(net); in rdma_nl_multicast() local 309 int rdma_nl_net_init(struct rdma_dev_net *rnet) in rdma_nl_net_init() argument 311 struct net *net = read_pnet(&rnet->net); in rdma_nl_net_init() 322 rnet->nl_sock = nls; in rdma_nl_net_init() 326 void rdma_nl_net_exit(struct rdma_dev_net *rnet) in rdma_nl_net_exit() argument [all …]
|
H A D | device.c | 921 struct rdma_dev_net *rnet) in add_one_compat_dev() argument 934 if (net_eq(read_pnet(&rnet->net), in add_one_compat_dev() 1019 struct rdma_dev_net *rnet; in add_compat_devs() local 1058 struct rdma_dev_net *rnet; in add_all_compat_devs() local 1086 struct rdma_dev_net *rnet; in rdma_compatdev_set() local 1152 rdma_nl_net_exit(rnet); in rdma_dev_exit_net() 1153 xa_erase(&rdma_nets, rnet->id); in rdma_dev_exit_net() 1163 write_pnet(&rnet->net, net); in rdma_dev_init_net() 1165 ret = rdma_nl_net_init(rnet); in rdma_dev_init_net() 1173 ret = xa_alloc(&rdma_nets, &rnet->id, rnet, xa_limit_32b, GFP_KERNEL); in rdma_dev_init_net() [all …]
|
H A D | core_priv.h | 361 int rdma_nl_net_init(struct rdma_dev_net *rnet); 362 void rdma_nl_net_exit(struct rdma_dev_net *rnet);
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | xfrm_policy.sh | 36 local rnet=$5 39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu… 49 local rnet=$5 54 …mote proto esp spi $spi_out enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $lnet dst $rnet 56 do_esp_policy $ns $me $remote $lnet $rnet 121 local rnet=$3 123 ip -net $ns xfrm policy get src $lnet dst $rnet dir out > /dev/null 126 echo "FAIL: ip -net $ns xfrm policy get src $lnet dst $rnet dir out" 130 ip -net $ns xfrm policy get src $rnet dst $lnet dir fwd > /dev/null [all …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | nft_flowtable.sh | 639 local rnet=$5 643 …$me proto esp spi $spi_in enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $rnet dst $lnet 644 …mote proto esp spi $spi_out enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $lnet dst $rnet 647 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 649 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
|