Home
last modified time | relevance | path

Searched refs:MLX5E_GET_PFLAG (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c174 bool is_mpwqe = MLX5E_GET_PFLAG(params, MLX5E_PFLAG_SKB_TX_MPWQE); in mlx5e_calc_sq_stop_room()
325 MLX5E_GET_PFLAG(params, MLX5E_PFLAG_RX_CQE_COMPRESS)); in mlx5e_init_rq_type_params()
331 MLX5E_GET_PFLAG(params, MLX5E_PFLAG_RX_STRIDING_RQ) ? in mlx5e_set_rq_type()
466 if (MLX5E_GET_PFLAG(params, MLX5E_PFLAG_RX_CQE_COMPRESS)) { in mlx5e_build_rx_cq_param()
589 param->is_mpw = MLX5E_GET_PFLAG(params, MLX5E_PFLAG_SKB_TX_MPWQE); in mlx5e_build_sq_param()
675 param->is_mpw = MLX5E_GET_PFLAG(params, MLX5E_PFLAG_XDP_TX_MPWQE); in mlx5e_build_xdpsq_param()
Dptp.c586 if (MLX5E_GET_PFLAG(params, MLX5E_PFLAG_TX_PORT_TS)) in mlx5e_ptp_set_state()
Dqos.c133 bool is_ptp = MLX5E_GET_PFLAG(&chs->params, MLX5E_PFLAG_TX_PORT_TS); in mlx5e_qid_from_qos()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c627 u8 mode = MLX5E_GET_PFLAG(&new_params, in mlx5e_ethtool_set_coalesce()
633 u8 mode = MLX5E_GET_PFLAG(&new_params, in mlx5e_ethtool_set_coalesce()
1889 bool curr_val = MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS); in mlx5e_modify_rx_cqe_compression_locked()
1919 MLX5E_GET_PFLAG(&priv->channels.params, in mlx5e_modify_rx_cqe_compression_locked()
Den_main.c871 if (MLX5E_GET_PFLAG(params, MLX5E_PFLAG_RX_NO_CSUM_COMPLETE) || params->xdp_prog) in mlx5e_open_rq()
877 if (MLX5E_GET_PFLAG(params, MLX5E_PFLAG_RX_STRIDING_RQ) && in mlx5e_open_rq()
2117 if (MLX5E_GET_PFLAG(&chs->params, MLX5E_PFLAG_TX_PORT_TS) || chs->params.ptp_rx) { in mlx5e_open_channels()
2314 if (MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_TX_PORT_TS)) in mlx5e_update_tx_netdev_queues()
3264 if (enable && !MLX5E_GET_PFLAG(cur_params, MLX5E_PFLAG_RX_STRIDING_RQ)) { in set_feature_lro()
3511 if (!MLX5E_GET_PFLAG(params, MLX5E_PFLAG_RX_STRIDING_RQ)) { in mlx5e_fix_features()
3525 if (MLX5E_GET_PFLAG(params, MLX5E_PFLAG_RX_CQE_COMPRESS)) { in mlx5e_fix_features()
3663 if (!MLX5E_GET_PFLAG(&priv->channels.params, MLX5E_PFLAG_RX_CQE_COMPRESS)) in mlx5e_hwstamp_config_no_ptp_rx()
Den.h245 #define MLX5E_GET_PFLAG(params, pflag) (!!((params)->pflags & (BIT(pflag)))) macro