net/mlx5: add shared device context config structure