Home
last modified time | relevance | path

Searched refs:max_frame_size (Results 1 – 24 of 24) sorted by relevance

/f-stack/dpdk/drivers/net/e1000/base/
H A De1000_api.h125 min_frame_size, max_frame_size) \ argument
131 ((length) <= ((max_frame_size) + 1))) : \
133 ((length) <= ((max_frame_size) + VLAN_TAG_SIZE + 1)))))
H A De1000_82543.h22 u32 max_frame_size);
H A De1000_82543.c379 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()
/f-stack/dpdk/drivers/net/ixgbe/base/
H A Dixgbe_dcb.c23 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()
/f-stack/dpdk/drivers/net/txgbe/base/
H A Dtxgbe_dcb.c163 u32 max_frame_size, u8 direction) in txgbe_dcb_calculate_tc_credits_cee() argument
184 min_credit = ((max_frame_size / 2) + TXGBE_DCB_CREDIT_QUANTUM - 1) / in txgbe_dcb_calculate_tc_credits_cee()
H A Dtxgbe_dcb.h100 u32 max_frame_size, u8 direction);
/f-stack/freebsd/mips/cavium/usb/
H A Doctusb.h71 uint16_t max_frame_size; member
H A Doctusb.c461 rem = OCTUSB_MAX_FIXUP % td->qh->max_frame_size; in octusb_non_control_data_tx()
473 if ((rem == 0) || (rem % td->qh->max_frame_size)) in octusb_non_control_data_tx()
588 rem = OCTUSB_MAX_FIXUP % td->qh->max_frame_size; in octusb_non_control_data_rx()
1762 qh->max_frame_size = xfer->max_frame_size; in octusb_xfer_setup()
/f-stack/dpdk/drivers/net/bnx2x/
H A Decore_mfw_req.h164 uint32_t max_frame_size; /* Max Frame Size. bytes */ member
/f-stack/dpdk/drivers/net/qede/
H A Dqede_rxtx.h299 uint16_t max_frame_size);
H A Dqede_rxtx.c98 uint16_t max_frame_size) in qede_calc_rx_buf_size() argument
110 (max_frame_size + QEDE_ETH_OVERHEAD)) { in qede_calc_rx_buf_size()
112 mbufsz, ETH_RX_MAX_BUFF_PER_PKT, max_frame_size); in qede_calc_rx_buf_size()
117 (max_frame_size + QEDE_ETH_OVERHEAD) / in qede_calc_rx_buf_size()
120 rx_buf_size = max_frame_size + QEDE_ETH_OVERHEAD; in qede_calc_rx_buf_size()
/f-stack/dpdk/drivers/net/ionic/
H A Dionic_ethdev.c356 uint32_t max_frame_size; in ionic_dev_mtu_set() local
370 max_frame_size = mtu + RTE_ETHER_HDR_LEN + 4 + 4; in ionic_dev_mtu_set()
372 if (eth_dev->data->dev_conf.rxmode.max_rx_pkt_len < max_frame_size) in ionic_dev_mtu_set()
H A Dionic_rxtx.c725 uint32_t max_frame_size = in ionic_rx_clean() local
760 if (cq_desc->len > max_frame_size || in ionic_rx_clean()
H A Dionic_if.h414 __le32 max_frame_size; member
2099 __le32 max_frame_size; member
/f-stack/dpdk/drivers/net/ice/base/
H A Dice_common.h165 ice_aq_set_mac_cfg(struct ice_hw *hw, u16 max_frame_size, struct ice_sq_cd *cd);
H A Dice_common.c430 li->max_frame_size = LE16_TO_CPU(link_data.max_frame_size); in ice_aq_get_link_info()
463 li->max_frame_size); in ice_aq_get_link_info()
522 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
529 if (max_frame_size == 0) in ice_aq_set_mac_cfg()
534 cmd->max_frame_size = CPU_TO_LE16(max_frame_size); in ice_aq_set_mac_cfg()
H A Dice_type.h247 u16 max_frame_size; member
H A Dice_adminq_cmd.h1388 __le16 max_frame_size; member
1482 __le16 max_frame_size; member
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.c878 uint32_t max_frame_size = hw->max_mtu + ether_hdr_len; in virtio_mtu_set() local
880 max_frame_size = RTE_MIN(max_frame_size, VIRTIO_MAX_RX_PKTLEN); in virtio_mtu_set()
882 if (mtu < RTE_ETHER_MIN_MTU || frame_size > max_frame_size) { in virtio_mtu_set()
884 RTE_ETHER_MIN_MTU, max_frame_size - ether_hdr_len); in virtio_mtu_set()
/f-stack/dpdk/drivers/net/i40e/base/
H A Di40e_adminq_cmd.h2110 __le16 max_frame_size; member
2196 __le16 max_frame_size; member
H A Di40e_common.c1907 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 Di40e_prototype.h122 u16 max_frame_size, bool crc_en, u16 pacing,
H A Di40e_type.h250 u16 max_frame_size; member
/f-stack/dpdk/drivers/net/ice/
H A Dice_ethdev.c3462 uint16_t max_frame_size; in ice_dev_start() local
3527 max_frame_size = pf->dev_data->dev_conf.rxmode.max_rx_pkt_len ? in ice_dev_start()
3532 ice_aq_set_mac_cfg(hw, max_frame_size, NULL); in ice_dev_start()