* Clear the Mark/Flag and Tunnel ptype information in all Rx queues. * * @param dev * Pointer to Ethernet device. */
| 1878 | * Pointer to Ethernet device. |
| 1879 | */ |
| 1880 | static void |
| 1881 | flow_rxq_flags_clear(struct rte_eth_dev *dev) |
| 1882 | { |
| 1883 | struct mlx5_priv *priv = dev->data->dev_private; |
| 1884 | unsigned int i; |
| 1885 | |
| 1886 | for (i = 0; i != priv->rxqs_n; ++i) { |
| 1887 | struct mlx5_rxq_priv *rxq = mlx5_rxq_get(dev, i); |
| 1888 | unsigned int j; |
| 1889 | |
| 1890 | if (rxq == NULL || rxq->ctrl == NULL) |
| 1891 | continue; |
| 1892 | rxq->ctrl->rxq.mark = 0; |
| 1893 | for (j = 0; j != MLX5_FLOW_TUNNEL; ++j) |
| 1894 | rxq->ctrl->flow_tunnels_n[j] = 0; |
| 1895 | rxq->ctrl->rxq.tunnel = 0; |
| 1896 | } |
| 1897 | priv->mark_enabled = 0; |
| 1898 | priv->sh->shared_mark_enabled = 0; |
| 1899 | } |
| 1900 | |
| 1901 | static uint64_t mlx5_restore_info_dynflag; |
| 1902 |
no test coverage detected