Home
last modified time | relevance | path

Searched refs:us_ibdev (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/infiniband/hw/usnic/
A Dusnic_ib_main.c330 us_ibdev->netdev->ethtool_ops->get_drvinfo(us_ibdev->netdev, &info); in usnic_get_dev_fw_str()
380 if (!us_ibdev) { in usnic_ib_device_add()
396 us_ibdev->pdev = dev; in usnic_ib_device_add()
405 ret = ib_device_set_netdev(&us_ibdev->ib_dev, us_ibdev->netdev, 1); in usnic_ib_device_add()
413 usnic_fwd_set_mtu(us_ibdev->ufdev, us_ibdev->netdev->mtu); in usnic_ib_device_add()
414 usnic_fwd_set_mac(us_ibdev->ufdev, us_ibdev->netdev->dev_addr); in usnic_ib_device_add()
437 netdev_name(us_ibdev->netdev), us_ibdev->ufdev->mac, in usnic_ib_device_add()
438 us_ibdev->ufdev->link_up, us_ibdev->ufdev->mtu); in usnic_ib_device_add()
439 return us_ibdev; in usnic_ib_device_add()
504 us_ibdev = us_ibdev ? us_ibdev : ERR_PTR(-EFAULT); in usnic_ib_discover_pf()
[all …]
A Dusnic_ib_sysfs.c52 struct usnic_ib_dev *us_ibdev = in board_id_show() local
70 struct usnic_ib_dev *us_ibdev = in config_show() local
93 us_ibdev->ufdev->mac, in config_show()
122 struct usnic_ib_dev *us_ibdev = in iface_show() local
132 struct usnic_ib_dev *us_ibdev = in max_vf_show() local
142 struct usnic_ib_dev *us_ibdev = in qp_per_vf_show() local
257 &us_ibdev->ib_dev.dev.kobj); in usnic_ib_sysfs_register_usdev()
273 struct usnic_ib_dev *us_ibdev; in usnic_ib_sysfs_qpn_add() local
276 us_ibdev = qp_grp->vf->pf; in usnic_ib_sysfs_qpn_add()
289 struct usnic_ib_dev *us_ibdev; in usnic_ib_sysfs_qpn_remove() local
[all …]
A Dusnic_ib_verbs.c86 struct usnic_ib_dev *us_ibdev; in usnic_ib_fill_create_qp_resp() local
96 us_ibdev = qp_grp->vf->pf; in usnic_ib_fill_create_qp_resp()
207 us_ibdev->ufdev, in find_free_vf_and_create_qp_grp()
292 us_ibdev->netdev->ethtool_ops->get_drvinfo(us_ibdev->netdev, &info); in usnic_ib_query_device()
294 usnic_mac_ip_to_gid(us_ibdev->ufdev->mac, us_ibdev->ufdev->inaddr, in usnic_ib_query_device()
307 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
311 kref_read(&us_ibdev->vf_cnt); in usnic_ib_query_device()
359 if (!us_ibdev->ufdev->link_up) { in usnic_ib_query_port()
435 usnic_mac_ip_to_gid(us_ibdev->ufdev->mac, us_ibdev->ufdev->inaddr, in usnic_ib_query_gid()
465 struct usnic_ib_dev *us_ibdev; in usnic_ib_create_qp() local
[all …]
A Dusnic_ib_sysfs.h39 int usnic_ib_sysfs_register_usdev(struct usnic_ib_dev *us_ibdev);
40 void usnic_ib_sysfs_unregister_usdev(struct usnic_ib_dev *us_ibdev);

Completed in 7 milliseconds