common/mlx5: refactor IPC handling from net driver