Lines Matching refs:q_vector
116 struct fm10k_q_vector *q_vector = ring->q_vector; in fm10k_dbg_desc_open() local
120 if (ring < q_vector->rx.ring) in fm10k_dbg_desc_open()
150 void fm10k_dbg_q_vector_init(struct fm10k_q_vector *q_vector) in fm10k_dbg_q_vector_init() argument
152 struct fm10k_intfc *interface = q_vector->interface; in fm10k_dbg_q_vector_init()
160 snprintf(name, sizeof(name), "q_vector.%03d", q_vector->v_idx); in fm10k_dbg_q_vector_init()
162 q_vector->dbg_q_vector = debugfs_create_dir(name, interface->dbg_intfc); in fm10k_dbg_q_vector_init()
165 for (i = 0; i < q_vector->tx.count; i++) { in fm10k_dbg_q_vector_init()
166 struct fm10k_ring *ring = &q_vector->tx.ring[i]; in fm10k_dbg_q_vector_init()
171 q_vector->dbg_q_vector, ring, in fm10k_dbg_q_vector_init()
176 for (i = 0; i < q_vector->rx.count; i++) { in fm10k_dbg_q_vector_init()
177 struct fm10k_ring *ring = &q_vector->rx.ring[i]; in fm10k_dbg_q_vector_init()
182 q_vector->dbg_q_vector, ring, in fm10k_dbg_q_vector_init()
191 void fm10k_dbg_q_vector_exit(struct fm10k_q_vector *q_vector) in fm10k_dbg_q_vector_exit() argument
193 struct fm10k_intfc *interface = q_vector->interface; in fm10k_dbg_q_vector_exit()
196 debugfs_remove_recursive(q_vector->dbg_q_vector); in fm10k_dbg_q_vector_exit()
197 q_vector->dbg_q_vector = NULL; in fm10k_dbg_q_vector_exit()