Searched refs:new_frm (Results 1 – 1 of 1) sorted by relevance
487 u32 new_frm = new_mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; in hns_mac_set_mtu() local489 if (new_frm > HNS_RCB_RING_MAX_BD_PER_PKT * buf_size) in hns_mac_set_mtu()496 if (new_frm < (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN)) in hns_mac_set_mtu()497 new_frm = (ETH_FRAME_LEN + ETH_FCS_LEN + VLAN_HLEN); in hns_mac_set_mtu()499 drv->config_max_frame_length(drv, new_frm); in hns_mac_set_mtu()501 mac_cb->max_frm = new_frm; in hns_mac_set_mtu()