Searched refs:port_modify (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/infiniband/ulp/srpt/ |
H A 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()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | device.c | 2421 struct ib_port_modify *port_modify) in ib_modify_port() argument 2431 port_modify); in ib_modify_port() 2433 ((port_modify->set_port_cap_mask & ~IB_PORT_CM_SUP) == 0 || in ib_modify_port() 2434 (port_modify->clr_port_cap_mask & ~IB_PORT_CM_SUP) == 0)) in ib_modify_port()
|
H A D | cm.c | 4363 struct ib_port_modify port_modify = { in cm_add_one() local 4417 ret = ib_modify_port(ib_device, i, 0, &port_modify); in cm_add_one() 4439 port_modify.set_port_cap_mask = 0; in cm_add_one() 4440 port_modify.clr_port_cap_mask = IB_PORT_CM_SUP; in cm_add_one() 4446 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_add_one() 4460 struct ib_port_modify port_modify = { in cm_remove_one() local 4482 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_remove_one()
|
/openbmc/linux/include/rdma/ |
H A D | ib_verbs.h | 2377 struct ib_port_modify *port_modify); 3470 struct ib_port_modify *port_modify);
|