MCPcopy Create free account
hub / github.com/F-Stack/f-stack / flow_rxq_flags_trim

Function flow_rxq_flags_trim

dpdk/drivers/net/mlx5/mlx5_flow.c:1862–1872  ·  view source on GitHub ↗

* Clear the Rx queue flags (Mark/Flag and Tunnel Ptype) associated with the * @p flow if no other flow uses it with the same kind of request. * * @param dev * Pointer to Ethernet device. * @param[in] flow * Pointer to the flow. */

Source from the content-addressed store, hash-verified

1860 * Pointer to the flow.
1861 */
1862static void
1863flow_rxq_flags_trim(struct rte_eth_dev *dev, struct rte_flow *flow)
1864{
1865 struct mlx5_priv *priv = dev->data->dev_private;
1866 uint32_t handle_idx;
1867 struct mlx5_flow_handle *dev_handle;
1868
1869 SILIST_FOREACH(priv->sh->ipool[MLX5_IPOOL_MLX5_FLOW], flow->dev_handles,
1870 handle_idx, dev_handle, next)
1871 flow_drv_rxq_flags_trim(dev, dev_handle);
1872}
1873
1874/**
1875 * Clear the Mark/Flag and Tunnel ptype information in all Rx queues.

Callers 1

flow_list_destroyFunction · 0.85

Calls 1

flow_drv_rxq_flags_trimFunction · 0.85

Tested by

no test coverage detected