Searched refs:port_counter (Results 1 – 2 of 2) sorted by relevance
13 static int __counter_set_mode(struct rdma_port_counter *port_counter, in __counter_set_mode() argument20 if (port_counter->num_counters) in __counter_set_mode()24 port_counter->mode.mode = new_mode; in __counter_set_mode()25 port_counter->mode.mask = new_mask; in __counter_set_mode()46 struct rdma_port_counter *port_counter; in rdma_counter_set_auto_mode() local50 port_counter = &dev->port_data[port].port_counter; in rdma_counter_set_auto_mode()51 if (!port_counter->hstats) in rdma_counter_set_auto_mode()54 mutex_lock(&port_counter->lock); in rdma_counter_set_auto_mode()58 mode = (port_counter->num_counters) ? RDMA_COUNTER_MODE_MANUAL : in rdma_counter_set_auto_mode()61 if (port_counter->mode.mode == mode && in rdma_counter_set_auto_mode()[all …]
2207 struct rdma_port_counter port_counter; member