Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c1124 u32_t rx_coal_usec,tx_coal_usec; in lm_pf_update_vf_ndsb() local
1147 rx_coal_usec = 1000000 / pdev->params.vf_int_per_sec_rx[LM_VF_INT_LOW_IDX]; in lm_pf_update_vf_ndsb()
1149 hc_rx_timeout = (u8_t)(rx_coal_usec / HC_TIMEOUT_RESOLUTION_IN_US); in lm_pf_update_vf_ndsb()
1150 hc_tx_timeout = (u8_t)(rx_coal_usec / HC_TIMEOUT_RESOLUTION_IN_US); in lm_pf_update_vf_ndsb()
1154 rx_coal_usec = 1000000 / pdev->params.vf_int_per_sec_rx[LM_VF_INT_MEDIUM_IDX]; in lm_pf_update_vf_ndsb()
1156 hc_rx_timeout = (u8_t)(rx_coal_usec / HC_TIMEOUT_RESOLUTION_IN_US); in lm_pf_update_vf_ndsb()
1157 hc_tx_timeout = (u8_t)(rx_coal_usec / HC_TIMEOUT_RESOLUTION_IN_US); in lm_pf_update_vf_ndsb()
1161 rx_coal_usec = 1000000 / pdev->params.vf_int_per_sec_rx[LM_VF_INT_HIGH_IDX]; in lm_pf_update_vf_ndsb()
1163 hc_rx_timeout = (u8_t)(rx_coal_usec / HC_TIMEOUT_RESOLUTION_IN_US); in lm_pf_update_vf_ndsb()
1164 hc_tx_timeout = (u8_t)(rx_coal_usec / HC_TIMEOUT_RESOLUTION_IN_US); in lm_pf_update_vf_ndsb()
H A Dlm_sb.c735 u32_t rx_coal_usec[HC_USTORM_SB_NUM_INDICES]; in lm_set_int_coal_info() local
742 rx_coal_usec[i] = 0; in lm_set_int_coal_info()
759 rx_coal_usec[i] = 1000000 / pdev->params.int_per_sec_rx[i]; in lm_set_int_coal_info()
761 if(rx_coal_usec[i] > 0x3ff) in lm_set_int_coal_info()
763 rx_coal_usec[i] = 0x3ff; /* min 1k us, i.e. 1k int per sec */ in lm_set_int_coal_info()
795 ic->hc_usec_u_sb[i] = rx_coal_usec[i]; in lm_set_int_coal_info()