Searched refs:hw_lro (Results 1 – 6 of 6) sorted by relevance
2275 softc->hw_lro.enable = min(softc->hw_lro.enable, 1); in bnxt_validate_hw_lro_settings()2277 softc->hw_lro.is_mode_gro = min(softc->hw_lro.is_mode_gro, 1); in bnxt_validate_hw_lro_settings()2279 softc->hw_lro.max_agg_segs = min(softc->hw_lro.max_agg_segs, in bnxt_validate_hw_lro_settings()2282 softc->hw_lro.max_aggs = min(softc->hw_lro.max_aggs, in bnxt_validate_hw_lro_settings()2285 softc->hw_lro.min_agg_len = min(softc->hw_lro.min_agg_len, BNXT_MAX_MTU); in bnxt_validate_hw_lro_settings()2303 if (softc->hw_lro.enable) { in bnxt_hwrm_vnic_tpa_cfg()2309 if (softc->hw_lro.is_mode_gro) in bnxt_hwrm_vnic_tpa_cfg()2320 req.max_agg_segs = htole16(softc->hw_lro.max_agg_segs); in bnxt_hwrm_vnic_tpa_cfg()2321 req.max_aggs = htole16(softc->hw_lro.max_aggs); in bnxt_hwrm_vnic_tpa_cfg()2322 req.min_agg_len = htole32(softc->hw_lro.min_agg_len); in bnxt_hwrm_vnic_tpa_cfg()
2604 softc->hw_lro.enable = 0; in bnxt_attach_pre()2605 softc->hw_lro.is_mode_gro = 0; in bnxt_attach_pre()2606 softc->hw_lro.max_agg_segs = 5; /* 2^5 = 32 segs */ in bnxt_attach_pre()2607 softc->hw_lro.max_aggs = HWRM_VNIC_TPA_CFG_INPUT_MAX_AGGS_MAX; in bnxt_attach_pre()2608 softc->hw_lro.min_agg_len = 512; in bnxt_attach_pre()
1672 val = softc->hw_lro.arg; \1683 softc->hw_lro.arg = val; \
1186 struct bnxt_hw_lro hw_lro; member
1119 case MLX5_PARAM_OFFSET(hw_lro): in mlx5e_ethtool_handler()1125 if (priv->params_ethtool.hw_lro != 0 && in mlx5e_ethtool_handler()1128 priv->params_ethtool.hw_lro = 1; in mlx5e_ethtool_handler()1131 if (priv->params_ethtool.hw_lro != 0) in mlx5e_ethtool_handler()1134 priv->params_ethtool.hw_lro = 0; in mlx5e_ethtool_handler()1447 priv->params_ethtool.hw_lro = priv->params.hw_lro_en; in mlx5e_create_ethtool()
705 m(+1, u64, hw_lro, "hw_lro", "set to enable hw_lro") \