Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c553 struct ib_port_modify port_modify; in srpt_refresh_port() local
581 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port()
582 port_modify.set_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
583 port_modify.clr_port_cap_mask = 0; in srpt_refresh_port()
585 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port()
611 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port()
612 port_modify.clr_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
614 &port_modify); in srpt_refresh_port()
631 struct ib_port_modify port_modify = { in srpt_unregister_mad_agent() local
641 ib_modify_port(sdev->device, i, 0, &port_modify); in srpt_unregister_mad_agent()
/Linux-v5.10/drivers/infiniband/core/
Ddevice.c2380 struct ib_port_modify *port_modify) in ib_modify_port() argument
2390 port_modify); in ib_modify_port()
2392 ((port_modify->set_port_cap_mask & ~IB_PORT_CM_SUP) == 0 || in ib_modify_port()
2393 (port_modify->clr_port_cap_mask & ~IB_PORT_CM_SUP) == 0)) in ib_modify_port()
Dcm.c4329 struct ib_port_modify port_modify = { in cm_add_one() local
4381 ret = ib_modify_port(ib_device, i, 0, &port_modify); in cm_add_one()
4405 port_modify.set_port_cap_mask = 0; in cm_add_one()
4406 port_modify.clr_port_cap_mask = IB_PORT_CM_SUP; in cm_add_one()
4413 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_add_one()
4429 struct ib_port_modify port_modify = { in cm_remove_one() local
4448 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_remove_one()
/Linux-v5.10/include/rdma/
Dib_verbs.h2322 struct ib_port_modify *port_modify);
3409 struct ib_port_modify *port_modify);