Home
last modified time | relevance | path

Searched refs:tc_priv (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dtc.h39 struct mlx5e_tc_update_priv *tc_priv);
40 void mlx5_rep_tc_post_napi_receive(struct mlx5e_tc_update_priv *tc_priv);
71 struct mlx5e_tc_update_priv *tc_priv) { return true; } in mlx5e_rep_tc_update_skb() argument
73 mlx5_rep_tc_post_napi_receive(struct mlx5e_tc_update_priv *tc_priv) {} in mlx5_rep_tc_post_napi_receive() argument
Dtc.c516 struct mlx5e_tc_update_priv *tc_priv, in mlx5e_restore_tunnel() argument
600 tc_priv->tun_dev = dev; in mlx5e_restore_tunnel()
610 struct mlx5e_tc_update_priv *tc_priv) in mlx5e_rep_tc_update_skb() argument
659 return mlx5e_restore_tunnel(priv, skb, tc_priv, tunnel_id); in mlx5e_rep_tc_update_skb()
665 void mlx5_rep_tc_post_napi_receive(struct mlx5e_tc_update_priv *tc_priv) in mlx5_rep_tc_post_napi_receive() argument
667 if (tc_priv->tun_dev) in mlx5_rep_tc_post_napi_receive()
668 dev_put(tc_priv->tun_dev); in mlx5_rep_tc_post_napi_receive()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c1283 struct mlx5e_tc_update_priv tc_priv = {}; in mlx5e_handle_rx_cqe_rep() local
1319 if (!mlx5e_rep_tc_update_skb(cqe, skb, &tc_priv)) in mlx5e_handle_rx_cqe_rep()
1324 mlx5_rep_tc_post_napi_receive(&tc_priv); in mlx5e_handle_rx_cqe_rep()
1341 struct mlx5e_tc_update_priv tc_priv = {}; in mlx5e_handle_rx_cqe_mpwrq_rep() local
1374 if (!mlx5e_rep_tc_update_skb(cqe, skb, &tc_priv)) in mlx5e_handle_rx_cqe_mpwrq_rep()
1379 mlx5_rep_tc_post_napi_receive(&tc_priv); in mlx5e_handle_rx_cqe_mpwrq_rep()