Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/nic/
H A Ddcb.c88 u8 tc2idx[IEEE_8021QAZ_MAX_TCS]; in nfp_refresh_tc2idx() local
96 tc2idx[i] = i; in nfp_refresh_tc2idx()
102 tc2idx[0] = maxstrict; in nfp_refresh_tc2idx()
103 tc2idx[maxstrict] = 0; in nfp_refresh_tc2idx()
107 if (dcb->tc2idx[j] != tc2idx[j]) { in nfp_refresh_tc2idx()
109 dcb->tc2idx[j] = tc2idx[j]; in nfp_refresh_tc2idx()
139 dcb->cfg_offset + NFP_DCB_DATA_OFF_RATE + dcb->tc2idx[i] * 2); in nfp_fill_maxrate()
165 writeb(dcb->tc2idx[dcb->prio2tc[dcb->dscp2prio[i]]], in update_dscp_maxrate()
242 writeb(dcb->tc2idx[dcb->prio2tc[i]], in nfp_nic_fill_ets()
245 dcb->cfg_offset + NFP_DCB_DATA_OFF_IDX_BW_PCT + dcb->tc2idx[i]); in nfp_nic_fill_ets()
[all …]
H A Dmain.h19 u8 tc2idx[IEEE_8021QAZ_MAX_TCS]; member