Lines Matching refs:netdev
33 qpn_from_mac(priv->netdev->dev_addr), in hfi1_ipoib_dev_init()
54 hfi1_netdev_remove_data(priv->dd, qpn_from_mac(priv->netdev->dev_addr)); in hfi1_ipoib_dev_uninit()
69 u32 qpn = qpn_from_mac(priv->netdev->dev_addr); in hfi1_ipoib_dev_open()
121 u32 qpn = (u32)qpn_from_mac(priv->netdev->dev_addr); in hfi1_ipoib_mcast_attach()
151 u32 qpn = (u32)qpn_from_mac(priv->netdev->dev_addr); in hfi1_ipoib_mcast_detach()
175 hfi1_ipoib_rxq_deinit(priv->netdev); in hfi1_ipoib_netdev_dtor()
194 struct net_device *netdev, in hfi1_ipoib_setup_rn() argument
198 struct rdma_netdev *rn = netdev_priv(netdev); in hfi1_ipoib_setup_rn()
209 rn->mtu = netdev->mtu; in hfi1_ipoib_setup_rn()
211 priv = hfi1_ipoib_priv(netdev); in hfi1_ipoib_setup_rn()
213 priv->netdev = netdev; in hfi1_ipoib_setup_rn()
216 priv->netdev_ops = netdev->netdev_ops; in hfi1_ipoib_setup_rn()
226 rc = hfi1_ipoib_rxq_init(netdev); in hfi1_ipoib_setup_rn()
233 netdev->netdev_ops = &hfi1_ipoib_netdev_ops; in hfi1_ipoib_setup_rn()
235 netdev->priv_destructor = hfi1_ipoib_netdev_dtor; in hfi1_ipoib_setup_rn()
236 netdev->needs_free_netdev = true; in hfi1_ipoib_setup_rn()