Searched refs:port_counter (Results 1 – 2 of 2) sorted by relevance
37 struct rdma_port_counter *port_counter; in rdma_counter_set_auto_mode() local40 port_counter = &dev->port_data[port].port_counter; in rdma_counter_set_auto_mode()41 if (!port_counter->hstats) in rdma_counter_set_auto_mode()44 mutex_lock(&port_counter->lock); in rdma_counter_set_auto_mode()46 ret = __counter_set_mode(&port_counter->mode, in rdma_counter_set_auto_mode()49 if (port_counter->mode.mode != RDMA_COUNTER_MODE_AUTO) { in rdma_counter_set_auto_mode()54 if (port_counter->num_counters) in rdma_counter_set_auto_mode()55 ret = __counter_set_mode(&port_counter->mode, in rdma_counter_set_auto_mode()58 ret = __counter_set_mode(&port_counter->mode, in rdma_counter_set_auto_mode()63 mutex_unlock(&port_counter->lock); in rdma_counter_set_auto_mode()[all …]
2177 struct rdma_port_counter port_counter; member