Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/ulp/srpt/
Dib_srpt.c559 struct ib_port_modify port_modify; in srpt_refresh_port() local
563 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port()
564 port_modify.set_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
565 port_modify.clr_port_cap_mask = 0; in srpt_refresh_port()
567 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port()
616 port_modify.set_port_cap_mask = 0; in srpt_refresh_port()
617 port_modify.clr_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
618 ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port()
633 struct ib_port_modify port_modify = { in srpt_unregister_mad_agent() local
642 if (ib_modify_port(sdev->device, i, 0, &port_modify) < 0) in srpt_unregister_mad_agent()
/Linux-v4.19/drivers/infiniband/core/
Ddevice.c1003 struct ib_port_modify *port_modify) in ib_modify_port() argument
1012 port_modify); in ib_modify_port()
Dcm.c4352 struct ib_port_modify port_modify = { in cm_add_one() local
4407 ret = ib_modify_port(ib_device, i, 0, &port_modify); in cm_add_one()
4429 port_modify.set_port_cap_mask = 0; in cm_add_one()
4430 port_modify.clr_port_cap_mask = IB_PORT_CM_SUP; in cm_add_one()
4436 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_add_one()
4451 struct ib_port_modify port_modify = { in cm_remove_one() local
4473 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_remove_one()
/Linux-v4.19/include/rdma/
Dib_verbs.h2351 struct ib_port_modify *port_modify);
3102 struct ib_port_modify *port_modify);