Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbnad_ethtool.c545 int i, j, q_num; in bnad_get_strings() local
617 q_num = 0; in bnad_get_strings()
622 sprintf(string, "cq%d_producer_index", q_num); in bnad_get_strings()
624 sprintf(string, "cq%d_consumer_index", q_num); in bnad_get_strings()
627 q_num); in bnad_get_strings()
629 sprintf(string, "cq%d_intr", q_num); in bnad_get_strings()
631 sprintf(string, "cq%d_poll", q_num); in bnad_get_strings()
633 sprintf(string, "cq%d_schedule", q_num); in bnad_get_strings()
635 sprintf(string, "cq%d_keep_poll", q_num); in bnad_get_strings()
637 sprintf(string, "cq%d_complete", q_num); in bnad_get_strings()
[all …]
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_init.h200 #define BNX2X_PF_Q_NUM(q_num, port, vnic)\ argument
201 ((((port) << 1) | (vnic)) * 16 + (q_num))
205 static inline void bnx2x_map_q_cos(struct bnx2x *bp, u32 q_num, u32 new_cos) in bnx2x_map_q_cos() argument
208 u32 curr_cos = REG_RD(bp, QM_REG_QVOQIDX_0 + q_num * 4); in bnx2x_map_q_cos()
227 BNX2X_PF_Q_NUM(q_num, BP_PORT(bp), vnic); in bnx2x_map_q_cos()