Lines Matching refs:dest_idx
471 int attr_idx, int dest_idx, bool pkt_reformat)
473 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_VPORT;
474 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].vport;
476 dest[dest_idx].vport.vhca_id =
478 dest[dest_idx].vport.flags |= MLX5_FLOW_DEST_VPORT_VHCA_ID;
479 if (dest[dest_idx].vport.num == MLX5_VPORT_UPLINK &&
481 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_UPLINK;
488 dest[dest_idx].vport.flags |= MLX5_FLOW_DEST_VPORT_REFORMAT_ID;
489 dest[dest_idx].vport.pkt_reformat = esw_attr->dests[attr_idx].pkt_reformat;
496 int attr_idx, int dest_idx, bool pkt_reformat)
498 dest[dest_idx].ft = esw->offloads.ft_ipsec_tx_pol;
499 dest[dest_idx].type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE;
510 int attr_idx, int dest_idx, bool pkt_reformat)
514 attr_idx, dest_idx, pkt_reformat);
517 attr_idx, dest_idx, pkt_reformat);