Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Drionet.c96 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 …]
/linux/drivers/infiniband/core/
H A Dnetlink.c55 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 …]
H A Dcore_priv.h358 int rdma_nl_net_init(struct rdma_dev_net *rnet);
359 void rdma_nl_net_exit(struct rdma_dev_net *rnet);
/linux/tools/testing/selftests/net/
H A Dxfrm_policy.sh35 local rnet=$5
38 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
40 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
48 local rnet=$5
52 …me proto esp spi $spi_in enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $rnet dst $lnet
53 …mote proto esp spi $spi_out enc aes $KEY_AES auth sha1 $KEY_SHA mode tunnel sel src $lnet dst $rnet
55 do_esp_policy $ns $me $remote $lnet $rnet
120 local rnet=$3
122 ip -net $ns xfrm policy get src $lnet dst $rnet dir out > /dev/null
125 echo "FAIL: ip -net $ns xfrm policy get src $lnet dst $rnet dir out"
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_flowtable.sh623 local rnet=$5
627 …esp spi "$spi_in" enc aes "$KEY_AES" auth sha1 "$KEY_SHA" mode tunnel sel src "$rnet" dst "$lnet"
628 … esp spi "$spi_out" enc aes "$KEY_AES" auth sha1 "$KEY_SHA" mode tunnel sel src "$lnet" dst "$rnet"
631 …ip -net "$ns" xfrm policy add src "$lnet" dst "$rnet" dir out tmpl src "$me" dst "$remote" proto e…
633 …ip -net "$ns" xfrm policy add src "$rnet" dst "$lnet" dir fwd tmpl src "$remote" dst "$me" proto e…