Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. No conflicts. Adjacent changes: drivers/net/ethernet/intel/igc/igc_main.c06b412589e("igc: Add lock to safeguard global Qbv variables")d3750076d4("igc: Add TransmissionOverrun counter") drivers/net/ethernet/microsoft/mana/mana_en.ca7dfeda6fd("net: mana: Fix MANA VF unload when hardware is unresponsive")a9ca9f9cef("page_pool: split types and declarations from page_pool.h")92272ec410("eth: add missing xdp.h includes in drivers") net/mptcp/protocol.h511b90e392("mptcp: fix disconnect vs accept race")b8dc6d6ce9("mptcp: fix rcv buffer auto-tuning") tools/testing/selftests/net/mptcp/mptcp_join.shc8c101ae39("selftests: mptcp: join: fix 'implicit EP' test")03668c65d1("selftests: mptcp: join: rework detailed report") Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
@@ -30,6 +30,7 @@ REQUIRE_MZ=${REQUIRE_MZ:=yes}
|
||||
REQUIRE_MTOOLS=${REQUIRE_MTOOLS:=no}
|
||||
STABLE_MAC_ADDRS=${STABLE_MAC_ADDRS:=no}
|
||||
TCPDUMP_EXTRA_FLAGS=${TCPDUMP_EXTRA_FLAGS:=}
|
||||
TROUTE6=${TROUTE6:=traceroute6}
|
||||
|
||||
relative_path="${BASH_SOURCE%/*}"
|
||||
if [[ "$relative_path" == "${BASH_SOURCE}" ]]; then
|
||||
@@ -163,6 +164,17 @@ check_port_mab_support()
|
||||
fi
|
||||
}
|
||||
|
||||
skip_on_veth()
|
||||
{
|
||||
local kind=$(ip -j -d link show dev ${NETIFS[p1]} |
|
||||
jq -r '.[].linkinfo.info_kind')
|
||||
|
||||
if [[ $kind == veth ]]; then
|
||||
echo "SKIP: Test cannot be run with veth pairs"
|
||||
exit $ksft_skip
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "$(id -u)" -ne 0 ]]; then
|
||||
echo "SKIP: need root privileges"
|
||||
exit $ksft_skip
|
||||
@@ -225,6 +237,11 @@ create_netif_veth()
|
||||
for ((i = 1; i <= NUM_NETIFS; ++i)); do
|
||||
local j=$((i+1))
|
||||
|
||||
if [ -z ${NETIFS[p$i]} ]; then
|
||||
echo "SKIP: Cannot create interface. Name not specified"
|
||||
exit $ksft_skip
|
||||
fi
|
||||
|
||||
ip link show dev ${NETIFS[p$i]} &> /dev/null
|
||||
if [[ $? -ne 0 ]]; then
|
||||
ip link add ${NETIFS[p$i]} type veth \
|
||||
|
||||
Reference in New Issue
Block a user