Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c528 struct ib_port_modify port_modify; in srpt_refresh_port() local
532 memset(&port_modify, 0, sizeof port_modify); in srpt_refresh_port()
533 port_modify.set_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
534 port_modify.clr_port_cap_mask = 0; in srpt_refresh_port()
536 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port()
577 port_modify.set_port_cap_mask = 0; in srpt_refresh_port()
578 port_modify.clr_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
579 ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port()
593 struct ib_port_modify port_modify = { in srpt_unregister_mad_agent() local
602 if (ib_modify_port(sdev->device, i, 0, &port_modify) < 0) in srpt_unregister_mad_agent()
/linux-4.4.14/drivers/infiniband/core/
Ddevice.c810 struct ib_port_modify *port_modify) in ib_modify_port() argument
819 port_modify); in ib_modify_port()
Dcm.c3841 struct ib_port_modify port_modify = { in cm_add_one() local
3893 ret = ib_modify_port(ib_device, i, 0, &port_modify); in cm_add_one()
3915 port_modify.set_port_cap_mask = 0; in cm_add_one()
3916 port_modify.clr_port_cap_mask = IB_PORT_CM_SUP; in cm_add_one()
3922 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_add_one()
3935 struct ib_port_modify port_modify = { in cm_remove_one() local
3957 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_remove_one()
/linux-4.4.14/include/rdma/
Dib_verbs.h1661 struct ib_port_modify *port_modify);
2220 struct ib_port_modify *port_modify);