Lines Matching defs:dst

877 	struct mlx5_flow_destination dst;
945 dst.type = MLX5_FLOW_DESTINATION_TYPE_COUNTER;
946 dst.counter_id = mlx5_fc_id(opfc->fc);
953 &flow_act, &dst, 1);
1040 struct mlx5_flow_destination *dst,
1083 if (dst && !(flow_act.action & MLX5_FLOW_CONTEXT_ACTION_DROP)) {
1084 memcpy(&dest_arr[0], dst, sizeof(*dst));
1168 struct mlx5_flow_destination *dst)
1170 return _create_flow_rule(dev, ft_prio, flow_attr, dst, 0, NULL);
1181 struct mlx5_flow_destination *dst)
1218 dst);
1223 dst);
1240 struct mlx5_flow_destination *dst)
1251 handler_rx = create_flow_rule(dev, ft_rx, &flow_attr, dst);
1257 handler_tx = create_flow_rule(dev, ft_tx, &flow_attr, dst);
1282 struct mlx5_flow_destination *dst = NULL;
1339 dst = kzalloc(sizeof(*dst), GFP_KERNEL);
1340 if (!dst) {
1363 dst->type = MLX5_FLOW_DESTINATION_TYPE_PORT;
1365 dst->type = MLX5_FLOW_DESTINATION_TYPE_TIR;
1367 dst->tir_num = mqp->rss_qp.tirn;
1369 dst->tir_num = mqp->raw_packet_qp.rq.tirn;
1377 handler = _create_flow_rule(dev, ft_prio, flow_attr, dst,
1382 handler = create_leftovers_rule(dev, ft_prio, flow_attr, dst);
1385 handler = create_sniffer_rule(dev, ft_prio, ft_prio_tx, dst);
1399 kfree(dst);
1410 kfree(dst);
1516 struct mlx5_flow_destination *dst,
1544 flow_act, dst, dst_num);
1608 struct mlx5_flow_destination *dst;
1621 dst = kcalloc(2, sizeof(*dst), GFP_KERNEL);
1622 if (!dst)
1637 dst[dst_num].type = dest_type;
1638 dst[dst_num++].tir_num = dest_id;
1642 dst[dst_num].type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE_NUM;
1643 dst[dst_num++].ft_num = dest_id;
1647 dst[dst_num++].type = MLX5_FLOW_DESTINATION_TYPE_PORT;
1655 dst[dst_num].type = MLX5_FLOW_DESTINATION_TYPE_COUNTER;
1656 dst[dst_num].counter_id = counter_id;
1660 handler = _create_raw_flow_rule(dev, ft_prio, dst_num ? dst : NULL,
1673 kfree(dst);
1681 kfree(dst);