| /dpdk/drivers/net/e1000/base/ |
| H A D | e1000_api.h | 125 min_frame_size, max_frame_size) \ argument 131 ((length) <= ((max_frame_size) + 1))) : \ 133 ((length) <= ((max_frame_size) + VLAN_TAG_SIZE + 1)))))
|
| H A D | e1000_82543.h | 22 u32 max_frame_size);
|
| H A D | e1000_82543.c | 379 u8 *mac_addr, u32 max_frame_size) in e1000_tbi_adjust_stats_82543() argument 415 if ((frame_len == max_frame_size) && (stats->roc > 0)) in e1000_tbi_adjust_stats_82543()
|
| /dpdk/drivers/net/ixgbe/base/ |
| H A D | ixgbe_dcb.c | 23 int max_frame_size) in ixgbe_dcb_calculate_tc_credits() argument 29 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits() 66 u32 max_frame_size, u8 direction) in ixgbe_dcb_calculate_tc_credits_cee() argument 85 min_credit = ((max_frame_size / 2) + IXGBE_DCB_CREDIT_QUANTUM - 1) / in ixgbe_dcb_calculate_tc_credits_cee()
|
| /dpdk/examples/dma/ |
| H A D | dmafwd.c | 120 static uint32_t max_frame_size = RTE_ETHER_MAX_LEN; variable 659 max_frame_size = atoi(optarg); in dma_parse_args() 660 if (max_frame_size > RTE_ETHER_MAX_JUMBO_FRAME_LEN) { in dma_parse_args() 881 if (max_frame_size > local_port_conf.rxmode.mtu) in port_init() 882 local_port_conf.rxmode.mtu = max_frame_size; in port_init() 1041 sz = max_frame_size + RTE_PKTMBUF_HEADROOM; in main()
|
| /dpdk/drivers/net/txgbe/base/ |
| H A D | txgbe_dcb.c | 164 u32 max_frame_size, u8 direction) in txgbe_dcb_calculate_tc_credits_cee() argument 185 min_credit = ((max_frame_size / 2) + TXGBE_DCB_CREDIT_QUANTUM - 1) / in txgbe_dcb_calculate_tc_credits_cee()
|
| H A D | txgbe_dcb.h | 101 u32 max_frame_size, u8 direction);
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | ecore_mfw_req.h | 164 uint32_t max_frame_size; /* Max Frame Size. bytes */ member
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_rxtx.h | 280 uint16_t max_frame_size);
|
| H A D | qede_rxtx.c | 93 uint16_t max_frame_size) in qede_calc_rx_buf_size() argument 105 (max_frame_size + QEDE_ETH_OVERHEAD)) { in qede_calc_rx_buf_size() 107 mbufsz, ETH_RX_MAX_BUFF_PER_PKT, max_frame_size); in qede_calc_rx_buf_size() 112 (max_frame_size + QEDE_ETH_OVERHEAD) / in qede_calc_rx_buf_size() 115 rx_buf_size = max_frame_size + QEDE_ETH_OVERHEAD; in qede_calc_rx_buf_size()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_common.h | 184 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd);
|
| H A D | ice_common.c | 623 li->max_frame_size = LE16_TO_CPU(link_data.max_frame_size); in ice_aq_get_link_info() 657 li->max_frame_size); in ice_aq_get_link_info() 716 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd) in ice_aq_set_mac_cfg() argument 723 if (max_frame_size == 0) in ice_aq_set_mac_cfg() 728 cmd->max_frame_size = CPU_TO_LE16(max_frame_size); in ice_aq_set_mac_cfg()
|
| H A D | ice_adminq_cmd.h | 1459 __le16 max_frame_size; member 1555 __le16 max_frame_size; member
|
| H A D | ice_type.h | 249 u16 max_frame_size; member
|
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_ethdev.c | 979 uint32_t max_frame_size = hw->max_mtu + ether_hdr_len; in virtio_mtu_set() local 981 max_frame_size = RTE_MIN(max_frame_size, VIRTIO_MAX_RX_PKTLEN); in virtio_mtu_set() 983 if (mtu < RTE_ETHER_MIN_MTU || frame_size > max_frame_size) { in virtio_mtu_set() 985 RTE_ETHER_MIN_MTU, max_frame_size - ether_hdr_len); in virtio_mtu_set()
|
| /dpdk/drivers/net/ionic/ |
| H A D | ionic_rxtx.c | 772 uint32_t max_frame_size = in ionic_rx_clean() local 814 if (cq_desc->len > max_frame_size || in ionic_rx_clean()
|
| H A D | ionic_if.h | 437 __le32 max_frame_size; member 2484 __le32 max_frame_size; member
|
| /dpdk/drivers/net/mvpp2/ |
| H A D | mrvl_ethdev.c | 3059 uint16_t max_frame_size; in mrvl_priv_create() local 3072 &max_frame_size); in mrvl_priv_create() 3076 priv->max_mtu = max_frame_size + RTE_ETHER_CRC_LEN - in mrvl_priv_create()
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_adminq_cmd.h | 2139 __le16 max_frame_size; member 2225 __le16 max_frame_size; member
|
| H A D | i40e_common.c | 1907 u16 max_frame_size, in i40e_aq_set_mac_config() argument 1917 if (max_frame_size == 0) in i40e_aq_set_mac_config() 1923 cmd->max_frame_size = CPU_TO_LE16(max_frame_size); in i40e_aq_set_mac_config() 2051 hw_link_info->max_frame_size = LE16_TO_CPU(resp->max_frame_size); in i40e_aq_get_link_info()
|
| H A D | i40e_prototype.h | 129 u16 max_frame_size, bool crc_en, u16 pacing,
|
| H A D | i40e_type.h | 258 u16 max_frame_size; member
|
| /dpdk/drivers/net/ice/ |
| H A D | ice_ethdev.c | 3573 uint16_t max_frame_size; in ice_dev_start() local 3640 max_frame_size = pf->dev_data->mtu ? in ice_dev_start() 3645 ice_aq_set_mac_cfg(hw, max_frame_size, NULL); in ice_dev_start()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_ethdev.c | 2354 uint16_t max_frame_size; in i40e_dev_start() local 2493 max_frame_size = dev->data->mtu + I40E_ETH_OVERHEAD; in i40e_dev_start() 2494 i40e_set_mac_max_frame(dev, max_frame_size); in i40e_dev_start()
|