Home
last modified time | relevance | path

Searched refs:rxpktsize (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82598.c1086 u32 rxpktsize = IXGBE_RXPBSIZE_64KB; in ixgbe_set_rxpba_82598() local
1096 rxpktsize = IXGBE_RXPBSIZE_80KB; in ixgbe_set_rxpba_82598()
1098 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_82598()
1100 rxpktsize = IXGBE_RXPBSIZE_48KB; in ixgbe_set_rxpba_82598()
1106 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_82598()
Dixgbe_common.c3518 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-6.12.1/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c1149 u32 rxpktsize, txpktsize, txpbthresh; in wx_set_rxpba() local
1158 rxpktsize = pbsize << WX_RDB_PB_SZ_SHIFT; in wx_set_rxpba()
1159 wr32(wx, WX_RDB_PB_SZ(0), rxpktsize); in wx_set_rxpba()