diff options
| author | Leon Romanovsky <leon@kernel.org> | 2023-03-23 11:22:32 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2023-03-23 11:22:32 +0300 |
| commit | 602fb420572e5f0011b6fe71bead02e558143d96 (patch) | |
| tree | 0dc5c32ee131c78608991d35f22da11665546c0f /scripts/check-git | |
| parent | 6dddd93938b3651cfeba7158ac179b4e6d3c1553 (diff) | |
| parent | f4244e55e4c3a14374ea319b680f33d97cf6ba7e (diff) | |
| download | linux-602fb420572e5f0011b6fe71bead02e558143d96.tar.xz | |
Enable IB out-of-order by default in mlx5
This series from Or changes default of IB out-of-order feature and
allows to the RDMA users to decide if they need to wait for completion
for all segments or it is enough to wait for last segment completion only.
Thanks
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'scripts/check-git')
| -rwxr-xr-x | scripts/check-git | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/check-git b/scripts/check-git new file mode 100755 index 000000000000..2ca6c5df10dd --- /dev/null +++ b/scripts/check-git @@ -0,0 +1,14 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only +# +# succeed if we are in a git repository + +srctree="$(dirname $0)/.." + +if ! git -C "${srctree}" rev-parse --verify HEAD >/dev/null 2>/dev/null; then + exit 1 +fi + +if ! test -z $(git -C "${srctree}" rev-parse --show-cdup 2>/dev/null); then + exit 1 +fi |
