Lines Matching refs:vport

30 #include <dev/mlx5/vport.h>
37 u16 vport, u32 *out, int outlen)
45 MLX5_SET(query_vport_state_in, in, vport_number, vport);
46 if (vport)
56 u8 mlx5_query_vport_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport)
60 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out));
66 u8 mlx5_query_vport_admin_state(struct mlx5_core_dev *mdev, u8 opmod, u16 vport)
70 _mlx5_query_vport_state(mdev, opmod, vport, out, sizeof(out));
77 u16 vport, u8 state)
86 MLX5_SET(modify_vport_state_in, in, vport_number, vport);
88 if (vport)
101 static int mlx5_query_nic_vport_context(struct mlx5_core_dev *mdev, u16 vport,
109 MLX5_SET(query_nic_vport_context_in, in, vport_number, vport);
110 if (vport)
212 u16 vport, u8 *min_inline)
217 err = mlx5_query_nic_vport_context(mdev, vport, out, sizeof(out));
251 u16 vport, u8 min_inline)
259 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
272 u16 vport, u8 *addr)
286 err = mlx5_query_nic_vport_context(mdev, vport, out, outlen);
299 u16 vport, u8 *addr)
315 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
317 if (vport)
463 int mlx5_set_nic_vport_current_mac(struct mlx5_core_dev *mdev, int vport,
482 vport_number, vport);
508 u32 vport, u64 node_guid)
515 if (!vport)
530 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
547 u32 vport, u64 port_guid)
554 if (!vport)
569 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
585 int mlx5_set_nic_vport_vlan_list(struct mlx5_core_dev *dev, u16 vport,
607 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
608 if (vport)
633 int mlx5_set_nic_vport_mc_list(struct mlx5_core_dev *mdev, int vport,
655 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
656 if (vport)
684 int mlx5_set_nic_vport_promisc(struct mlx5_core_dev *mdev, int vport,
694 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
695 if (vport)
711 u16 vport,
747 MLX5_SET(query_nic_vport_context_in, in, vport_number, vport);
749 if (vport)
828 u16 vport,
860 MLX5_SET(query_nic_vport_context_in, in, vport_number, vport);
862 if (vport)
960 int mlx5_set_nic_vport_permanent_mac(struct mlx5_core_dev *mdev, int vport,
976 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
1294 u16 vport, void *in, int inlen)
1299 MLX5_SET(modify_esw_vport_context_in, in, vport_number, vport);
1300 if (vport)
1313 int mlx5_set_eswitch_cvlan_info(struct mlx5_core_dev *mdev, u8 vport,
1340 return mlx5_modify_eswitch_vport_context(mdev, vport, in, sizeof(in));
1411 u8 vport, int min_header)
1425 MLX5_SET(modify_nic_vport_context_in, in, vport_number, vport);
1451 u16 vport,
1464 err = mlx5_query_nic_vport_context(mdev, vport, out, outlen);