Lines Matching refs:prot
158 u32 prot; in new_steering_entry() local
206 prot = be32_to_cpu(mgm->members_count) >> 30; in new_steering_entry()
221 mgm->members_count = cpu_to_be32(members_count | (prot << 30)); in new_steering_entry()
430 u32 prot; in add_promisc_qp() local
472 prot = be32_to_cpu(mgm->members_count) >> 30; in add_promisc_qp()
495 mgm->members_count = cpu_to_be32(members_count | (prot << 30)); in add_promisc_qp()
670 u8 *gid, enum mlx4_protocol prot, in find_entry() argument
679 u8 op_mod = (prot == MLX4_PROT_ETH) ? in find_entry()
716 be32_to_cpu(mgm->members_count) >> 30 == prot) in find_entry()
1008 int block_mcast_loopback, enum mlx4_protocol prot, in mlx4_qp_attach_common() argument
1028 err = find_entry(dev, port, gid, prot, in mlx4_qp_attach_common()
1071 mgm->members_count = cpu_to_be32(members_count | (u32) prot << 30); in mlx4_qp_attach_common()
1092 if (prot == MLX4_PROT_ETH) { in mlx4_qp_attach_common()
1117 enum mlx4_protocol prot, enum mlx4_steer_type steer) in mlx4_qp_detach_common() argument
1136 err = find_entry(dev, port, gid, prot, in mlx4_qp_detach_common()
1152 if (prot == MLX4_PROT_ETH && in mlx4_qp_detach_common()
1173 mgm->members_count = cpu_to_be32(--members_count | (u32) prot << 30); in mlx4_qp_detach_common()
1175 if (prot == MLX4_PROT_ETH) in mlx4_qp_detach_common()
1178 if (members_count && (prot != MLX4_PROT_ETH || !removed_entry)) { in mlx4_qp_detach_common()
1184 mgm->members_count = cpu_to_be32((u32) prot << 30); in mlx4_qp_detach_common()
1238 enum mlx4_protocol prot) in mlx4_QP_ATTACH() argument
1253 qpn |= (prot << 28); in mlx4_QP_ATTACH()
1268 enum mlx4_protocol prot, u64 *reg_id) in mlx4_trans_to_dmfs_attach() argument
1285 switch (prot) { in mlx4_trans_to_dmfs_attach()
1307 enum mlx4_protocol prot, u64 *reg_id) in mlx4_multicast_attach() argument
1314 if (prot == MLX4_PROT_ETH) in mlx4_multicast_attach()
1318 if (prot == MLX4_PROT_ETH) in mlx4_multicast_attach()
1323 block_mcast_loopback, prot); in mlx4_multicast_attach()
1325 block_mcast_loopback, prot, in mlx4_multicast_attach()
1331 prot, reg_id); in mlx4_multicast_attach()
1339 enum mlx4_protocol prot, u64 reg_id) in mlx4_multicast_detach() argument
1346 if (prot == MLX4_PROT_ETH) in mlx4_multicast_detach()
1350 if (prot == MLX4_PROT_ETH) in mlx4_multicast_detach()
1354 return mlx4_QP_ATTACH(dev, qp, gid, 0, 0, prot); in mlx4_multicast_detach()
1356 return mlx4_qp_detach_common(dev, qp, gid, prot, in mlx4_multicast_detach()
1428 int block_mcast_loopback, enum mlx4_protocol prot) in mlx4_unicast_attach() argument
1430 if (prot == MLX4_PROT_ETH) in mlx4_unicast_attach()
1435 block_mcast_loopback, prot); in mlx4_unicast_attach()
1438 prot, MLX4_UC_STEER); in mlx4_unicast_attach()
1443 u8 gid[16], enum mlx4_protocol prot) in mlx4_unicast_detach() argument
1445 if (prot == MLX4_PROT_ETH) in mlx4_unicast_detach()
1449 return mlx4_QP_ATTACH(dev, qp, gid, 0, 0, prot); in mlx4_unicast_detach()
1451 return mlx4_qp_detach_common(dev, qp, gid, prot, MLX4_UC_STEER); in mlx4_unicast_detach()