Home
last modified time | relevance | path

Searched refs:pbsize (Results 1 – 6 of 6) sorted by relevance

/dpdk/drivers/net/txgbe/
H A Dtxgbe_fdir.c365 uint32_t fdirctrl, flex, pbsize; in txgbe_fdir_configure() local
386 pbsize = rd32(hw, TXGBE_PBRXSIZE(0)); in txgbe_fdir_configure()
387 pbsize -= TXGBD_FDIRCTL_BUF_BYTE(fdirctrl); in txgbe_fdir_configure()
388 wr32(hw, TXGBE_PBRXSIZE(0), pbsize); in txgbe_fdir_configure()
H A Dtxgbe_rxtx.c3077 uint16_t pbsize; in txgbe_vmdq_dcb_configure() local
3096 pbsize = (uint16_t)(NIC_RX_BUFFER_SIZE / nb_tcs); in txgbe_vmdq_dcb_configure()
3102 rxpbsize |= (pbsize << 10); /* set value */ in txgbe_vmdq_dcb_configure()
3463 uint16_t pbsize, rx_buffer_size; in txgbe_dcb_hw_configure() local
3572 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in txgbe_dcb_hw_configure()
3573 uint32_t rxpbsize = pbsize << 10; in txgbe_dcb_hw_configure()
3638 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in txgbe_dcb_hw_configure()
3644 hw->fc.high_water[i] = (pbsize * 3) / 4; in txgbe_dcb_hw_configure()
3645 hw->fc.low_water[i] = pbsize / 4; in txgbe_dcb_hw_configure()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_fdir.c640 uint32_t fdirctrl, pbsize; in ixgbe_fdir_configure() local
670 pbsize = (1 << (PBALLOC_SIZE_SHIFT + (fdirctrl & FDIRCTRL_PBALLOC_MASK))); in ixgbe_fdir_configure()
672 (IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(0)) - pbsize)); in ixgbe_fdir_configure()
H A Dixgbe_rxtx.c3688 uint16_t pbsize; in ixgbe_vmdq_dcb_configure() local
3712 pbsize = (uint16_t)(X550_RX_BUFFER_SIZE / nb_tcs); in ixgbe_vmdq_dcb_configure()
3715 pbsize = (uint16_t)(NIC_RX_BUFFER_SIZE / nb_tcs); in ixgbe_vmdq_dcb_configure()
3723 rxpbsize |= (pbsize << IXGBE_RXPBSIZE_SHIFT); /* set value */ in ixgbe_vmdq_dcb_configure()
4128 uint16_t pbsize, rx_buffer_size; in ixgbe_dcb_hw_configure() local
4250 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in ixgbe_dcb_hw_configure()
4251 uint32_t rxpbsize = pbsize << IXGBE_RXPBSIZE_SHIFT; in ixgbe_dcb_hw_configure()
4309 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in ixgbe_dcb_hw_configure()
4315 hw->fc.high_water[i] = (pbsize * 3) / 4; in ixgbe_dcb_hw_configure()
4316 hw->fc.low_water[i] = pbsize / 4; in ixgbe_dcb_hw_configure()
/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c2010 u32 pbsize = hw->mac.rx_pb_size; in txgbe_set_pba() local
2017 pbsize -= headroom; in txgbe_set_pba()
2030 rxpktsize = (pbsize * 5) / (num_pb * 4); in txgbe_set_pba()
2031 pbsize -= rxpktsize * (num_pb / 2); in txgbe_set_pba()
2037 rxpktsize = (pbsize / (num_pb - i)); in txgbe_set_pba()
/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_common.c4704 u32 pbsize = hw->mac.rx_pb_size; in ixgbe_set_rxpba_generic() local
4709 pbsize -= headroom; in ixgbe_set_rxpba_generic()
4722 rxpktsize = (pbsize * 5) / (num_pb * 4); in ixgbe_set_rxpba_generic()
4723 pbsize -= rxpktsize * (num_pb / 2); in ixgbe_set_rxpba_generic()
4729 rxpktsize = (pbsize / (num_pb - i)) << IXGBE_RXPBSIZE_SHIFT; in ixgbe_set_rxpba_generic()