Home
last modified time | relevance | path

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

/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_fdir.c611 uint32_t fdirctrl, pbsize; in ixgbe_fdir_configure() local
641 pbsize = (1 << (PBALLOC_SIZE_SHIFT + (fdirctrl & FDIRCTRL_PBALLOC_MASK))); in ixgbe_fdir_configure()
643 (IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(0)) - pbsize)); in ixgbe_fdir_configure()
H A Dixgbe_rxtx.c3649 uint16_t pbsize; in ixgbe_vmdq_dcb_configure() local
3673 pbsize = (uint16_t)(X550_RX_BUFFER_SIZE / nb_tcs); in ixgbe_vmdq_dcb_configure()
3676 pbsize = (uint16_t)(NIC_RX_BUFFER_SIZE / nb_tcs); in ixgbe_vmdq_dcb_configure()
3684 rxpbsize |= (pbsize << IXGBE_RXPBSIZE_SHIFT); /* set value */ in ixgbe_vmdq_dcb_configure()
4089 uint16_t pbsize, rx_buffer_size; in ixgbe_dcb_hw_configure() local
4211 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in ixgbe_dcb_hw_configure()
4212 uint32_t rxpbsize = pbsize << IXGBE_RXPBSIZE_SHIFT; in ixgbe_dcb_hw_configure()
4271 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in ixgbe_dcb_hw_configure()
4277 hw->fc.high_water[i] = (pbsize * 3) / 4; in ixgbe_dcb_hw_configure()
4278 hw->fc.low_water[i] = pbsize / 4; in ixgbe_dcb_hw_configure()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c2933 uint16_t pbsize; in txgbe_vmdq_dcb_configure() local
2952 pbsize = (uint16_t)(NIC_RX_BUFFER_SIZE / nb_tcs); in txgbe_vmdq_dcb_configure()
2958 rxpbsize |= (pbsize << 10); /* set value */ in txgbe_vmdq_dcb_configure()
3319 uint16_t pbsize, rx_buffer_size; in txgbe_dcb_hw_configure() local
3428 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in txgbe_dcb_hw_configure()
3429 uint32_t rxpbsize = pbsize << 10; in txgbe_dcb_hw_configure()
3494 pbsize = (uint16_t)(rx_buffer_size / nb_tcs); in txgbe_dcb_hw_configure()
3500 hw->fc.high_water[i] = (pbsize * 3) / 4; in txgbe_dcb_hw_configure()
3501 hw->fc.low_water[i] = pbsize / 4; in txgbe_dcb_hw_configure()
/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_hw.c2130 u32 pbsize = hw->mac.rx_pb_size; in txgbe_set_pba() local
2137 pbsize -= headroom; in txgbe_set_pba()
2150 rxpktsize = (pbsize * 5) / (num_pb * 4); in txgbe_set_pba()
2151 pbsize -= rxpktsize * (num_pb / 2); in txgbe_set_pba()
2157 rxpktsize = (pbsize / (num_pb - i)); in txgbe_set_pba()
/f-stack/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()