Home
last modified time | relevance | path

Searched refs:port_counter (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/infiniband/core/
Dcounters.c13 static int __counter_set_mode(struct rdma_port_counter *port_counter, in __counter_set_mode() argument
20 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() local
50 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 …]
/linux-6.1.9/include/rdma/
Dib_verbs.h2207 struct rdma_port_counter port_counter; member