Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_82598.c1367 u32 rxpktsize = IXGBE_RXPBSIZE_64KB; in ixgbe_set_rxpba_82598() local
1378 rxpktsize = IXGBE_RXPBSIZE_80KB; in ixgbe_set_rxpba_82598()
1380 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_82598()
1382 rxpktsize = IXGBE_RXPBSIZE_48KB; in ixgbe_set_rxpba_82598()
1388 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_82598()
H A Dixgbe_common.c4706 u32 rxpktsize, txpktsize, txpbthresh; in ixgbe_set_rxpba_generic() local
4722 rxpktsize = (pbsize * 5) / (num_pb * 4); in ixgbe_set_rxpba_generic()
4723 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic()
4724 rxpktsize <<= IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()
4726 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_generic()
4729 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()
4731 IXGBE_WRITE_REG(hw, IXGBE_RXPBSIZE(i), rxpktsize); in ixgbe_set_rxpba_generic()
/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c2132 u32 rxpktsize, txpktsize, txpbthresh; in txgbe_set_pba() local
2150 rxpktsize = (pbsize * 5) / (num_pb * 4); in txgbe_set_pba()
2151 pbsize -= rxpktsize * (num_pb / 2); in txgbe_set_pba()
2152 rxpktsize <<= 10; in txgbe_set_pba()
2154 wr32(hw, TXGBE_PBRXSIZE(i), rxpktsize); in txgbe_set_pba()
2157 rxpktsize = (pbsize / (num_pb - i)); in txgbe_set_pba()
2158 rxpktsize <<= 10; in txgbe_set_pba()
2160 wr32(hw, TXGBE_PBRXSIZE(i), rxpktsize); in txgbe_set_pba()