* Set the Rx queue flags (Mark/Flag and Tunnel Ptypes) for a flow * * @param[in] dev * Pointer to the Ethernet device structure. * @param[in] flow * Pointer to flow structure. */
| 1771 | * Pointer to flow structure. |
| 1772 | */ |
| 1773 | static void |
| 1774 | flow_rxq_flags_set(struct rte_eth_dev *dev, struct rte_flow *flow) |
| 1775 | { |
| 1776 | struct mlx5_priv *priv = dev->data->dev_private; |
| 1777 | uint32_t handle_idx; |
| 1778 | struct mlx5_flow_handle *dev_handle; |
| 1779 | struct mlx5_flow_workspace *wks = mlx5_flow_get_thread_workspace(); |
| 1780 | |
| 1781 | MLX5_ASSERT(wks); |
| 1782 | if (wks->mark) |
| 1783 | flow_rxq_mark_flag_set(dev); |
| 1784 | SILIST_FOREACH(priv->sh->ipool[MLX5_IPOOL_MLX5_FLOW], flow->dev_handles, |
| 1785 | handle_idx, dev_handle, next) |
| 1786 | flow_drv_rxq_flags_set(dev, dev_handle); |
| 1787 | } |
| 1788 | |
| 1789 | /** |
| 1790 | * Clear the Rx queue flags (Mark/Flag and Tunnel Ptype) associated with the |
no test coverage detected