Home
last modified time | relevance | path

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

/linux-6.6.21/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.c3519 u32 rxpktsize, txpktsize, txpbthresh; in ixgbe_set_rxpba_generic() local
3535 rxpktsize = ((pbsize * 5 * 2) / (num_pb * 8)); in ixgbe_set_rxpba_generic()
3536 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic()
3537 rxpktsize <<= IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()
3539 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_generic()
3543 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()
3545 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_generic()
/linux-6.6.21/drivers/net/ethernet/wangxun/libwx/
Dwx_hw.c1057 u32 rxpktsize, txpktsize, txpbthresh; in wx_set_rxpba() local
1059 rxpktsize = wx->mac.rx_pb_size << WX_RDB_PB_SZ_SHIFT; in wx_set_rxpba()
1060 wr32(wx, WX_RDB_PB_SZ(0), rxpktsize); in wx_set_rxpba()