Home
last modified time | relevance | path

Searched refs:mfl (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/freescale/fman/
Dfman.h365 int fman_set_mac_max_frame(struct fman *fman, u8 mac_id, u16 mfl);
Dfman.c2273 int fman_set_mac_max_frame(struct fman *fman, u8 mac_id, u16 mfl) in fman_set_mac_max_frame() argument
2279 (mfl <= fman->state->port_mfl[mac_id])) { in fman_set_mac_max_frame()
2280 fman->state->mac_mfl[mac_id] = mfl; in fman_set_mac_max_frame()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.c2647 int mfl, linear_mfl; in xdp_mtu_valid() local
2649 mfl = DPAA2_ETH_L2_MAX_FRM(mtu); in xdp_mtu_valid()
2653 if (mfl > linear_mfl) { in xdp_mtu_valid()
2664 int mfl, err; in dpaa2_eth_set_rx_mfl() local
2672 mfl = DPAA2_ETH_L2_MAX_FRM(mtu); in dpaa2_eth_set_rx_mfl()
2674 mfl = DPAA2_ETH_MFL; in dpaa2_eth_set_rx_mfl()
2676 err = dpni_set_max_frame_length(priv->mc_io, 0, priv->mc_token, mfl); in dpaa2_eth_set_rx_mfl()