Searched refs:port_modify (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 560 struct ib_port_modify port_modify; in srpt_refresh_port() local 585 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port() 586 port_modify.set_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port() 587 port_modify.clr_port_cap_mask = 0; in srpt_refresh_port() 589 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port() 615 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port() 616 port_modify.clr_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port() 618 &port_modify); in srpt_refresh_port() 637 struct ib_port_modify port_modify = { in srpt_unregister_mad_agent() local 647 ib_modify_port(sdev->device, i, 0, &port_modify); in srpt_unregister_mad_agent()
|
/drivers/infiniband/core/ |
D | device.c | 2419 struct ib_port_modify *port_modify) in ib_modify_port() argument 2429 port_modify); in ib_modify_port() 2431 ((port_modify->set_port_cap_mask & ~IB_PORT_CM_SUP) == 0 || in ib_modify_port() 2432 (port_modify->clr_port_cap_mask & ~IB_PORT_CM_SUP) == 0)) in ib_modify_port()
|
D | cm.c | 4333 struct ib_port_modify port_modify = { in cm_add_one() local 4387 ret = ib_modify_port(ib_device, i, 0, &port_modify); in cm_add_one() 4409 port_modify.set_port_cap_mask = 0; in cm_add_one() 4410 port_modify.clr_port_cap_mask = IB_PORT_CM_SUP; in cm_add_one() 4416 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_add_one() 4430 struct ib_port_modify port_modify = { in cm_remove_one() local 4452 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_remove_one()
|