Searched refs:port_modify (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 619 struct ib_port_modify port_modify; in srpt_refresh_port() local 644 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port() 645 port_modify.set_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port() 646 port_modify.clr_port_cap_mask = 0; in srpt_refresh_port() 648 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify); in srpt_refresh_port() 674 memset(&port_modify, 0, sizeof(port_modify)); in srpt_refresh_port() 675 port_modify.clr_port_cap_mask = IB_PORT_DEVICE_MGMT_SUP; in srpt_refresh_port() 677 &port_modify); in srpt_refresh_port() 696 struct ib_port_modify port_modify = { in srpt_unregister_mad_agent() local 706 ib_modify_port(sdev->device, i, 0, &port_modify); in srpt_unregister_mad_agent()
|