[PATCH 6.12 314/322] net/mlx5: Relocate function declarations from port.h to mlx5_core.h