Searched refs:rnet (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ |
D | rionet.c | 96 struct rionet_private *rnet = netdev_priv(ndev); in rionet_rx_clean() local 99 i = rnet->rx_slot; in rionet_rx_clean() 102 if (!rnet->rx_skb[i]) in rionet_rx_clean() 105 if (!(data = rio_get_inb_message(rnet->mport, RIONET_MAILBOX))) in rionet_rx_clean() 108 rnet->rx_skb[i]->data = data; in rionet_rx_clean() 109 skb_put(rnet->rx_skb[i], RIO_MAX_MSG_SIZE); in rionet_rx_clean() 110 rnet->rx_skb[i]->protocol = in rionet_rx_clean() 111 eth_type_trans(rnet->rx_skb[i], ndev); in rionet_rx_clean() 112 error = netif_rx(rnet->rx_skb[i]); in rionet_rx_clean() 121 } while ((i = (i + 1) % RIONET_RX_RING_SIZE) != rnet->rx_slot); in rionet_rx_clean() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
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 267 err = netlink_unicast(rnet->nl_sock, skb, pid, MSG_DONTWAIT); in rdma_nl_unicast() 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 287 return nlmsg_multicast(rnet->nl_sock, skb, 0, group, flags); in rdma_nl_multicast() 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() [all …]
|
D | device.c | 869 struct rdma_dev_net *rnet) in add_one_compat_dev() argument 882 if (net_eq(read_pnet(&rnet->net), in add_one_compat_dev() 892 cdev = xa_load(&device->compat_devs, rnet->id); in add_one_compat_dev() 897 ret = xa_reserve(&device->compat_devs, rnet->id, GFP_KERNEL); in add_one_compat_dev() 908 rdma_init_coredev(cdev, device, read_pnet(&rnet->net)); in add_one_compat_dev() 921 ret = xa_err(xa_store(&device->compat_devs, rnet->id, in add_one_compat_dev() 936 xa_release(&device->compat_devs, rnet->id); in add_one_compat_dev() 967 struct rdma_dev_net *rnet; in add_compat_devs() local 974 xa_for_each (&rdma_nets, index, rnet) { in add_compat_devs() 975 ret = add_one_compat_dev(device, rnet); in add_compat_devs() [all …]
|
D | core_priv.h | 401 int rdma_nl_net_init(struct rdma_dev_net *rnet); 402 void rdma_nl_net_exit(struct rdma_dev_net *rnet);
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
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 53 …me proto esp spi $spi_in enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $rnet dst $lnet 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" [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
D | nft_flowtable.sh | 387 local rnet=$5 391 …$me proto esp spi $spi_in enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $rnet dst $lnet 392 …mote proto esp spi $spi_out enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $lnet dst $rnet 395 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu… 397 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
|