Searched refs:rxpktsize (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_common.c | 3518 u32 rxpktsize, txpktsize, txpbthresh; in ixgbe_set_rxpba_generic() local 3534 rxpktsize = ((pbsize * 5 * 2) / (num_pb * 8)); in ixgbe_set_rxpba_generic() 3535 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic() 3536 rxpktsize <<= IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic() 3538 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_generic() 3542 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic() 3544 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_generic()
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_hw.c | 1147 u32 rxpktsize, txpktsize, txpbthresh; in wx_set_rxpba() local 1156 rxpktsize = pbsize << WX_RDB_PB_SZ_SHIFT; in wx_set_rxpba() 1157 wr32(wx, WX_RDB_PB_SZ(0), rxpktsize); in wx_set_rxpba()
|