Home
last modified time | relevance | path

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

/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()
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c2012 u32 rxpktsize, txpktsize, txpbthresh; in txgbe_set_pba() local
2030 rxpktsize = (pbsize * 5) / (num_pb * 4); in txgbe_set_pba()
2031 pbsize -= rxpktsize * (num_pb / 2); in txgbe_set_pba()
2032 rxpktsize <<= 10; in txgbe_set_pba()
2034 wr32(hw, TXGBE_PBRXSIZE(i), rxpktsize); in txgbe_set_pba()
2037 rxpktsize = (pbsize / (num_pb - i)); in txgbe_set_pba()
2038 rxpktsize <<= 10; in txgbe_set_pba()
2040 wr32(hw, TXGBE_PBRXSIZE(i), rxpktsize); in txgbe_set_pba()
/dpdk/drivers/net/ngbe/base/
H A Dngbe_hw.c1612 u32 rxpktsize = hw->mac.rx_pb_size; in ngbe_set_pba() local
1616 rxpktsize -= 256; in ngbe_set_pba()
1618 rxpktsize <<= 10; in ngbe_set_pba()
1619 wr32(hw, NGBE_PBRXSIZE, rxpktsize); in ngbe_set_pba()