Lines Matching refs:ether_mtu
6929 u32 ether_mtu = 0; in bce_init_locked() local
6973 ether_mtu = if_getmtu(ifp); in bce_init_locked()
6977 ether_mtu = sc->rx_bd_mbuf_data_len + in bce_init_locked()
6980 ether_mtu = if_getmtu(ifp); in bce_init_locked()
6983 ether_mtu = sc->rx_bd_mbuf_data_len; in bce_init_locked()
6985 ether_mtu = if_getmtu(ifp); in bce_init_locked()
6989 ether_mtu += ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN + ETHER_CRC_LEN; in bce_init_locked()
6992 __FUNCTION__, ether_mtu); in bce_init_locked()
6995 if (ether_mtu > (ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN)) in bce_init_locked()
6997 min(ether_mtu, BCE_MAX_JUMBO_ETHER_MTU) | in bce_init_locked()
7000 REG_WR(sc, BCE_EMAC_RX_MTU_SIZE, ether_mtu); in bce_init_locked()