Lines Matching refs:max_rx_pktlen
205 uint32_t max_rx_pktlen; in dpaa_eth_dev_configure() local
241 max_rx_pktlen = eth_conf->rxmode.mtu + RTE_ETHER_HDR_LEN + in dpaa_eth_dev_configure()
243 if (max_rx_pktlen > DPAA_MAX_RX_PKT_LEN) { in dpaa_eth_dev_configure()
246 max_rx_pktlen, DPAA_MAX_RX_PKT_LEN); in dpaa_eth_dev_configure()
247 max_rx_pktlen = DPAA_MAX_RX_PKT_LEN; in dpaa_eth_dev_configure()
250 fman_if_set_maxfrm(dev->process_private, max_rx_pktlen); in dpaa_eth_dev_configure()
549 dev_info->max_rx_pktlen = DPAA_MAX_RX_PKT_LEN; in dpaa_eth_dev_info()
932 uint32_t max_rx_pktlen; in dpaa_eth_rx_queue_setup() local
974 max_rx_pktlen = dev->data->mtu + RTE_ETHER_HDR_LEN + RTE_ETHER_CRC_LEN + in dpaa_eth_rx_queue_setup()
977 if (max_rx_pktlen <= buffsz) { in dpaa_eth_rx_queue_setup()
981 if (max_rx_pktlen > buffsz * DPAA_SGT_MAX_ENTRIES) { in dpaa_eth_rx_queue_setup()
984 max_rx_pktlen, buffsz * DPAA_SGT_MAX_ENTRIES); in dpaa_eth_rx_queue_setup()
992 max_rx_pktlen, buffsz - RTE_PKTMBUF_HEADROOM); in dpaa_eth_rx_queue_setup()
1030 fman_if_get_sg_enable(fif), max_rx_pktlen); in dpaa_eth_rx_queue_setup()