sw_field 1197 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c dr_action_modify_get_hw_info(u16 sw_field) sw_field 1201 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c if (sw_field >= ARRAY_SIZE(dr_action_conv_arr)) sw_field 1204 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c hw_action_info = &dr_action_conv_arr[sw_field]; sw_field 1222 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c u16 sw_field; sw_field 1230 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field = MLX5_GET(set_action_in, sw_action, field); sw_field 1234 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c hw_action_info = dr_action_modify_get_hw_info(sw_field); sw_field 1288 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c u16 sw_field; sw_field 1291 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field = MLX5_GET(set_action_in, sw_action, field); sw_field 1296 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_A) { sw_field 1299 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field); sw_field 1304 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c if (sw_field == MLX5_ACTION_IN_FIELD_METADATA_REG_B) { sw_field 1307 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field); sw_field 1312 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c if (sw_field != MLX5_ACTION_IN_FIELD_OUT_IP_TTL && sw_field 1313 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field != MLX5_ACTION_IN_FIELD_OUT_IPV6_HOPLIMIT && sw_field 1314 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field != MLX5_ACTION_IN_FIELD_OUT_TCP_SEQ_NUM && sw_field 1315 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c sw_field != MLX5_ACTION_IN_FIELD_OUT_TCP_ACK_NUM) { sw_field 1316 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c mlx5dr_dbg(dmn, "Unsupported field %d for add action\n", sw_field); sw_field 1330 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c u16 sw_field = MLX5_GET(set_action_in, sw_action, field); sw_field 1332 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c return sw_field == MLX5_ACTION_IN_FIELD_OUT_IP_TTL;