Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/ixgbe/
Dixgbe_sriov.c499 u32 bcnrc_val; in ixgbe_set_vf_rate_limit() local
507 bcnrc_val = IXGBE_RTTBCNRC_RS_ENA; in ixgbe_set_vf_rate_limit()
508 bcnrc_val |= ((rf_int<<IXGBE_RTTBCNRC_RF_INT_SHIFT) & in ixgbe_set_vf_rate_limit()
510 bcnrc_val |= (rf_dec & IXGBE_RTTBCNRC_RF_DEC_MASK); in ixgbe_set_vf_rate_limit()
512 bcnrc_val = 0; in ixgbe_set_vf_rate_limit()
516 IXGBE_WRITE_REG(hw, IXGBE_RTTBCNRC, bcnrc_val); in ixgbe_set_vf_rate_limit()
/linux-2.6.39/drivers/net/igb/
Digb_main.c6740 u32 bcnrc_val; in igb_set_vf_rate_limit() local
6748 bcnrc_val = E1000_RTTBCNRC_RS_ENA; in igb_set_vf_rate_limit()
6749 bcnrc_val |= ((rf_int<<E1000_RTTBCNRC_RF_INT_SHIFT) & in igb_set_vf_rate_limit()
6751 bcnrc_val |= (rf_dec & E1000_RTTBCNRC_RF_DEC_MASK); in igb_set_vf_rate_limit()
6753 bcnrc_val = 0; in igb_set_vf_rate_limit()
6757 wr32(E1000_RTTBCNRC, bcnrc_val); in igb_set_vf_rate_limit()