Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/infiniband/ulp/srpt/
Dib_srpt.c555 struct ib_port_modify port_modify; in srpt_refresh_port() local
559 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port()
560 port_modify.set_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
561 port_modify.clr_port_cap_mask = 0; in srpt_refresh_port()
563 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port()
612 port_modify.set_port_cap_mask = 0; in srpt_refresh_port()
613 port_modify.clr_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port()
614 ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port()
629 struct ib_port_modify port_modify = { in srpt_unregister_mad_agent() local
638 if (ib_modify_port(sdev->device, i, 0, &port_modify) < 0) in srpt_unregister_mad_agent()
/Linux-v5.4/drivers/infiniband/core/
Dcm.c4330 struct ib_port_modify port_modify = { in cm_add_one() local
4378 ret = ib_modify_port(ib_device, i, 0, &port_modify); in cm_add_one()
4400 port_modify.set_port_cap_mask = 0; in cm_add_one()
4401 port_modify.clr_port_cap_mask = IB_PORT_CM_SUP; in cm_add_one()
4408 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_add_one()
4423 struct ib_port_modify port_modify = { in cm_remove_one() local
4445 ib_modify_port(ib_device, port->port_num, 0, &port_modify); in cm_remove_one()
Ddevice.c2389 struct ib_port_modify *port_modify) in ib_modify_port() argument
2399 port_modify); in ib_modify_port()
/Linux-v5.4/include/rdma/
Dib_verbs.h2296 struct ib_port_modify *port_modify);
3318 struct ib_port_modify *port_modify);