• Home
  • Raw
  • Download

Lines Matching refs:mdev

412 	struct mlx5_core_dev   *mdev;  member
564 struct mlx5_core_dev *mdev; member
1053 void mlx5_core_uplink_netdev_set(struct mlx5_core_dev *mdev, struct net_device *netdev);
1054 void mlx5_core_uplink_netdev_event_replay(struct mlx5_core_dev *mdev);
1132 int mlx5_alloc_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg,
1134 void mlx5_free_bfreg(struct mlx5_core_dev *mdev, struct mlx5_sq_bfreg *bfreg);
1178 int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id);
1203 struct mlx5_uars_page *mlx5_get_uars_page(struct mlx5_core_dev *mdev);
1204 void mlx5_put_uars_page(struct mlx5_core_dev *mdev, struct mlx5_uars_page *up);
1212 void mlx5_vf_put_core_dev(struct mlx5_core_dev *mdev);
1214 int mlx5_sriov_blocking_notifier_register(struct mlx5_core_dev *mdev,
1217 void mlx5_sriov_blocking_notifier_unregister(struct mlx5_core_dev *mdev,
1220 int mlx5_rdma_rn_get_params(struct mlx5_core_dev *mdev,
1350 static inline bool mlx5e_is_macsec_device(const struct mlx5_core_dev *mdev) in mlx5e_is_macsec_device() argument
1352 if (!(MLX5_CAP_GEN_64(mdev, general_obj_types) & in mlx5e_is_macsec_device()
1356 if (!MLX5_CAP_GEN(mdev, log_max_dek)) in mlx5e_is_macsec_device()
1359 if (!MLX5_CAP_MACSEC(mdev, log_max_macsec_offload)) in mlx5e_is_macsec_device()
1362 if (!MLX5_CAP_FLOWTABLE_NIC_RX(mdev, macsec_decrypt) || in mlx5e_is_macsec_device()
1363 !MLX5_CAP_FLOWTABLE_NIC_RX(mdev, reformat_remove_macsec)) in mlx5e_is_macsec_device()
1366 if (!MLX5_CAP_FLOWTABLE_NIC_TX(mdev, macsec_encrypt) || in mlx5e_is_macsec_device()
1367 !MLX5_CAP_FLOWTABLE_NIC_TX(mdev, reformat_add_macsec)) in mlx5e_is_macsec_device()
1370 if (!MLX5_CAP_MACSEC(mdev, macsec_crypto_esp_aes_gcm_128_encrypt) && in mlx5e_is_macsec_device()
1371 !MLX5_CAP_MACSEC(mdev, macsec_crypto_esp_aes_gcm_256_encrypt)) in mlx5e_is_macsec_device()
1374 if (!MLX5_CAP_MACSEC(mdev, macsec_crypto_esp_aes_gcm_128_decrypt) && in mlx5e_is_macsec_device()
1375 !MLX5_CAP_MACSEC(mdev, macsec_crypto_esp_aes_gcm_256_decrypt)) in mlx5e_is_macsec_device()
1383 static inline bool mlx5_is_macsec_roce_supported(struct mlx5_core_dev *mdev) in mlx5_is_macsec_roce_supported() argument
1385 if (((MLX5_CAP_GEN_2(mdev, flow_table_type_2_type) & in mlx5_is_macsec_roce_supported()
1387 !MLX5_CAP_FLOWTABLE_RDMA_TX(mdev, max_modify_header_actions) || in mlx5_is_macsec_roce_supported()
1388 !mlx5e_is_macsec_device(mdev) || !mdev->macsec_fs) in mlx5_is_macsec_roce_supported()
1399 bool mlx5_wc_support_get(struct mlx5_core_dev *mdev);