hw_mtu 1011 drivers/net/ethernet/broadcom/bcm63xx_enet.c enet_writel(priv, priv->hw_mtu, ENET_RXMAXLEN_REG); hw_mtu 1012 drivers/net/ethernet/broadcom/bcm63xx_enet.c enet_writel(priv, priv->hw_mtu, ENET_TXMAXLEN_REG); hw_mtu 1623 drivers/net/ethernet/broadcom/bcm63xx_enet.c priv->hw_mtu = actual_mtu; hw_mtu 326 drivers/net/ethernet/broadcom/bcm63xx_enet.h unsigned int hw_mtu; hw_mtu 415 drivers/net/ethernet/mellanox/mlx5/core/en.h unsigned int hw_mtu; hw_mtu 538 drivers/net/ethernet/mellanox/mlx5/core/en.h unsigned int hw_mtu; hw_mtu 674 drivers/net/ethernet/mellanox/mlx5/core/en.h unsigned int hw_mtu; hw_mtu 31 drivers/net/ethernet/mellanox/mlx5/core/en/params.c u32 hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); hw_mtu 34 drivers/net/ethernet/mellanox/mlx5/core/en/params.c return linear_rq_headroom + hw_mtu; hw_mtu 258 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c if (unlikely(xdptxd->len > sq->hw_mtu)) { hw_mtu 319 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c if (unlikely(dma_len < MLX5E_XDP_MIN_INLINE || sq->hw_mtu < dma_len)) { hw_mtu 101 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/rx.c if (unlikely(cqe_bcnt > rq->hw_mtu)) { hw_mtu 105 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls.h (nfrags + DIV_ROUND_UP(sync_len, sq->hw_mtu)); hw_mtu 397 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c fsz = min_t(unsigned int, sq->hw_mtu, orig_fsz - frag_offset); hw_mtu 401 drivers/net/ethernet/mellanox/mlx5/core/en_main.c rq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); hw_mtu 1005 drivers/net/ethernet/mellanox/mlx5/core/en_main.c sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); hw_mtu 1151 drivers/net/ethernet/mellanox/mlx5/core/en_main.c sq->hw_mtu = MLX5E_SW2HW_MTU(params, params->sw_mtu); hw_mtu 2819 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u16 hw_mtu = MLX5E_SW2HW_MTU(params, mtu); hw_mtu 2822 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_set_port_mtu(mdev, hw_mtu, 1); hw_mtu 2827 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5_modify_nic_vport_mtu(mdev, hw_mtu); hw_mtu 2834 drivers/net/ethernet/mellanox/mlx5/core/en_main.c u16 hw_mtu = 0; hw_mtu 2837 drivers/net/ethernet/mellanox/mlx5/core/en_main.c err = mlx5_query_nic_vport_mtu(mdev, &hw_mtu); hw_mtu 2838 drivers/net/ethernet/mellanox/mlx5/core/en_main.c if (err || !hw_mtu) /* fallback to port oper mtu */ hw_mtu 2839 drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5_query_port_oper_mtu(mdev, &hw_mtu, 1); hw_mtu 2841 drivers/net/ethernet/mellanox/mlx5/core/en_main.c *mtu = MLX5E_HW2SW_MTU(params, hw_mtu); hw_mtu 1295 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if (unlikely(cqe_bcnt > rq->hw_mtu)) { hw_mtu 5789 drivers/net/ethernet/micrel/ksz884x.c int hw_mtu; hw_mtu 5799 drivers/net/ethernet/micrel/ksz884x.c hw_mtu = new_mtu + ETHERNET_HEADER_SIZE + 4; hw_mtu 5800 drivers/net/ethernet/micrel/ksz884x.c if (hw_mtu > REGULAR_RX_BUF_SIZE) { hw_mtu 5802 drivers/net/ethernet/micrel/ksz884x.c hw_mtu = MAX_RX_BUF_SIZE; hw_mtu 5805 drivers/net/ethernet/micrel/ksz884x.c hw_mtu = REGULAR_RX_BUF_SIZE; hw_mtu 5807 drivers/net/ethernet/micrel/ksz884x.c hw_mtu = (hw_mtu + 3) & ~3; hw_mtu 5808 drivers/net/ethernet/micrel/ksz884x.c hw_priv->mtu = hw_mtu;