Home
last modified time | relevance | path

Searched refs:ETHERMTU (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/sys/dev/neta/
H A Dif_mvnetavar.h85 #define MVNETA_LPI_TS (ETHERMTU * 8 / 1000) /* [us] */
86 #define MVNETA_LPI_TW (ETHERMTU * 8 / 1000) /* [us] */
87 #define MVNETA_LPI_LI (ETHERMTU * 8 / 1000) /* [us] */
/freebsd/sys/net/
H A Dethernet.h390 #define ETHERMTU (ETHER_MAX_LEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
391 #define ETHERMTU global() macro
H A Dif_ethersubr.c988 ifp->if_mtu = ETHERMTU;
1181 if (ifr->ifr_mtu > ETHERMTU) { in ether_ioctl()
H A Dif_vlan.c1919 ifp->if_mtu = ETHERMTU; in vlan_unconfig_locked()
/freebsd/sys/dev/e1000/
H A Dif_em.c1259 ETHERMTU + ETHER_HDR_LEN + ETHERNET_FCS_SIZE; in em_if_attach_pre()
3152 if ((hw->mac.type == e1000_82575) && (if_getmtu(ifp) > ETHERMTU)) { in em_reset()
3220 if (if_getmtu(ifp) > ETHERMTU) { in em_reset()
3242 if (if_getmtu(ifp) > ETHERMTU) in em_reset()
3264 if (if_getmtu(ifp) > ETHERMTU) { in em_reset()
3803 if (if_getmtu(ifp) > ETHERMTU) in em_initialize_receive_unit()
3910 hw->mac.type == e1000_ich10lan) && if_getmtu(ifp) > ETHERMTU) { in em_initialize_receive_unit()
3925 if (if_getmtu(ifp) > ETHERMTU) { in em_initialize_receive_unit()
3985 if (if_getmtu(ifp) > ETHERMTU) in em_initialize_receive_unit()
/freebsd/sys/dev/le/
H A Dam79900.c570 if (len > ETHERMTU + ETHER_HDR_LEN) in am79900_start_locked()
H A Dam7990.c534 if (len > ETHERMTU + ETHER_HDR_LEN) in am7990_start_locked()
/freebsd/sys/dev/hyperv/netvsc/
H A Dif_hn.c160 #define HN_LRO_LENLIM_MULTIRX_DEF (12 * ETHERMTU)
161 #define HN_LRO_LENLIM_DEF (25 * ETHERMTU)
1693 if (if_getmtu(ifp) != ETHERMTU) { in hn_xpnt_vf_setready()
1706 if (if_getmtu(ifp) > ETHERMTU) { in hn_xpnt_vf_setready()
1707 if_printf(ifp, "change MTU to %d\n", ETHERMTU); in hn_xpnt_vf_setready()
1715 if_setmtu(ifp, ETHERMTU); in hn_xpnt_vf_setready()
2242 error = hn_synth_attach(sc, ETHERMTU); in hn_attach()
2252 mtu = ETHERMTU; in hn_attach()
2431 hn_set_tso_maxsize(sc, hn_tso_maxlen, ETHERMTU); in hn_attach()
2443 if (mtu < ETHERMTU) { in hn_attach()
/freebsd/sys/powerpc/pseries/
H A Dphyp_llan.c227 if_setmtu(sc->ifp, ETHERMTU); /* XXX max-frame-size from OF? */ in llan_attach()
/freebsd/usr.sbin/bhyve/
H A Dpci_virtio_net.c563 unsigned long mtu = ETHERMTU; in pci_vtnet_init()
/freebsd/sys/dev/msk/
H A Dif_msk.c1070 if (ifr->ifr_mtu > ETHERMTU) { in msk_ioctl()
1159 if (if_getmtu(ifp) > ETHERMTU && in msk_ioctl()
3735 if (if_getmtu(ifp) > ETHERMTU) { in msk_set_tx_stfwd()
3784 if (if_getmtu(ifp) < ETHERMTU) in msk_init_locked()
3785 sc_if->msk_framesize = ETHERMTU; in msk_init_locked()
3789 if (if_getmtu(ifp) > ETHERMTU && in msk_init_locked()
3834 if (if_getmtu(ifp) > ETHERMTU) in msk_init_locked()
/freebsd/sys/dev/ale/
H A Dif_ale.c1956 ifr->ifr_mtu > ETHERMTU)) in ale_ioctl()
2703 if (if_getmtu(ifp) < ETHERMTU) in ale_init_locked()
2704 sc->ale_max_frame_size = ETHERMTU; in ale_init_locked()
2729 if (if_getmtu(ifp) < ETHERMTU) in ale_init_locked()
/freebsd/contrib/libpcap/
H A Dgencode.c131 #define ETHERMTU 1500 macro
1984 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
2038 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
2070 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
2101 if (ll_proto <= ETHERMTU) { in gen_ether_linktype()
2110 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_ether_linktype()
2314 if (ll_proto <= ETHERMTU) { in gen_linux_sll_linktype()
3728 b0 = gen_cmp_gt(cstate, OR_LINKTYPE, 0, BPF_H, ETHERMTU); in gen_llc_internal()
3989 if (ll_proto <= ETHERMTU) { in gen_llc_linktype()
/freebsd/sys/dev/igc/
H A Dif_igc.c613 ETHERMTU + ETHER_HDR_LEN + ETHERNET_FCS_SIZE; in igc_if_attach_pre()
2229 if (if_getmtu(ifp) > ETHERMTU) in igc_initialize_receive_unit()
2256 if (if_getmtu(ifp) > ETHERMTU) { in igc_initialize_receive_unit()
/freebsd/sys/netpfil/pf/
H A Dpflow.c405 pflow_setmtu(pflowif, ETHERMTU); in pflow_create()
1691 pflow_setmtu(sc, ETHERMTU); in pflow_set()
/freebsd/sys/dev/qlxgbe/
H A Dql_os.c859 if_setmtu(ifp, ETHERMTU); in qla_init_ifnet()
1086 if (if_getmtu(ifp) > ETHERMTU) in qla_ioctl()
/freebsd/sys/powerpc/ps3/
H A Dif_glc.c254 if_setmtu(sc->sc_ifp, ETHERMTU); in glc_attach()
/freebsd/sys/dev/netmap/
H A Dnetmap_freebsd.c620 if_setmtu(ifp, ETHERMTU); in nm_os_vi_persist()
/freebsd/sys/dev/ti/
H A Dif_ti.c2326 if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) in ti_gibinit()
2750 if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) in ti_rxeof()
3271 if (if_getmtu(ifp) > ETHERMTU + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN) { in ti_init2()
/freebsd/sys/dev/qlxgb/
H A Dqla_os.c663 if_setmtu(ifp, ETHERMTU); in qla_init_ifnet()
/freebsd/sys/dev/vnic/
H A Dnicvf_main.c346 if_setmtu(ifp, ETHERMTU); in nicvf_setup_ifnet()
/freebsd/sys/dev/enetc/
H A Dif_enetc.c425 error = enetc_mtu_set(ctx, ETHERMTU); in enetc_attach_pre()
/freebsd/sys/dev/age/
H A Dif_age.c2661 if (if_getmtu(ifp) < ETHERMTU) in age_init_locked()
2662 sc->age_max_frame_size = ETHERMTU; in age_init_locked()
/freebsd/sys/dev/xen/netback/
H A Dnetback.c1231 if_setmtu(ifp, ETHERMTU); in create_netdev()
/freebsd/sys/dev/rl/
H A Dif_rl.c799 if_setmtu(ifp, ETHERMTU); in rl_attach()

12