mlx5dv_is_supported(3)

🌸 NAME 🌸

Okay bestie, welcome to the mlx5dv_is_supported(3) page πŸ’– β€” this is the vibe check for an RDMA device, specifically whether it’s implemented by the mlx5 provider. No cap.

✨ SYNOPSIS ✨

#include <infiniband/mlx5dv.h>

bool mlx5dv_is_supported(struct ibv_device *device);

πŸ’… DESCRIPTION πŸ’…

Here’s the whole rule, fr fr: mlx5dv functions may be called only if mlx5dv_is_supported() returns true for the RDMA device. If that function doesn’t return true for your device, you do not get to call the mlx5dv functions β€” that’s the boundary, periodt. πŸ›‘

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” the RDMA device to check. That’s the one you’re giving the vibe check to, bestie. πŸ‘€βœ¨

🌈 RETURN VALUE 🌈

Returns true if device is implemented by the mlx5 provider. Slay βœ… β€” that’s the whole return-value moment.

πŸ¦‹ SEE ALSO πŸ¦‹

  • mlx5dv(7) β€” go read that one too, iykyk. 🫢

πŸ‘‘ AUTHOR πŸ‘‘

Artemy Kovalyov <artemyko@mellanox.com> β€” iconic behavior, honestly. πŸ’œ


That’s a wrap on the mlx5dv_is_supported(3) page, bestie! πŸŽ€ The footer’s whole thing is just echoing mlx5dv_is_supported(3) β€” no extra source/version/date info in this one, so consider it signed off with main-character energy. πŸ’…βœ¨

πŸ“¦ where this page comes from