lbtp              186 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	struct mlx5e_lbt_priv *lbtp = pt->af_packet_priv;
lbtp              214 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp->loopback_ok = true;
lbtp              215 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	complete(&lbtp->comp);
lbtp              222 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 				     struct mlx5e_lbt_priv *lbtp)
lbtp              227 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	err = mlx5_nic_vport_query_local_lb(priv->mdev, &lbtp->local_lb);
lbtp              231 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	if (!lbtp->local_lb) {
lbtp              241 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp->loopback_ok = false;
lbtp              242 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	init_completion(&lbtp->comp);
lbtp              244 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp->pt.type = htons(ETH_P_IP);
lbtp              245 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp->pt.func = mlx5e_test_loopback_validate;
lbtp              246 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp->pt.dev = priv->netdev;
lbtp              247 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp->pt.af_packet_priv = lbtp;
lbtp              248 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	dev_add_pack(&lbtp->pt);
lbtp              253 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	if (!lbtp->local_lb)
lbtp              260 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 					struct mlx5e_lbt_priv *lbtp)
lbtp              262 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	if (!lbtp->local_lb)
lbtp              265 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	dev_remove_pack(&lbtp->pt);
lbtp              272 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	struct mlx5e_lbt_priv *lbtp;
lbtp              282 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp = kzalloc(sizeof(*lbtp), GFP_KERNEL);
lbtp              283 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	if (!lbtp)
lbtp              285 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	lbtp->loopback_ok = false;
lbtp              287 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	err = mlx5e_test_loopback_setup(priv, lbtp);
lbtp              306 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	wait_for_completion_timeout(&lbtp->comp, MLX5E_LB_VERIFY_TIMEOUT);
lbtp              307 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	err = !lbtp->loopback_ok;
lbtp              310 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	mlx5e_test_loopback_cleanup(priv, lbtp);
lbtp              312 drivers/net/ethernet/mellanox/mlx5/core/en_selftest.c 	kfree(lbtp);