From patchwork Mon Aug 15 15:08:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Toppins X-Patchwork-Id: 12943675 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36E10C00140 for ; Mon, 15 Aug 2022 15:08:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232841AbiHOPIr (ORCPT ); Mon, 15 Aug 2022 11:08:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230373AbiHOPIq (ORCPT ); Mon, 15 Aug 2022 11:08:46 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 681EA1402D for ; Mon, 15 Aug 2022 08:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660576124; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=nAgtT0Syw9r2IhDE8LiMcKruJXGXHfwKR2v/ZTv3Guc=; b=ixVpHmmj5AVDNYpjt6RpBs3qyCB5QzoQul1+K4DbjGmBvzt4SKDSUeBdxXRtEuyNrTEwWY quMpBL9VtnhXluYxZO9bwgoEwxh23QIeQrGNWY2aAofAlogUD9L2fqUcpSBO4BXKf+outJ 1Biuzfr43w9rrq0ZLZvUeRmiEGkdDGs= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-92-h8GHc1GPOxSUlKhkB9ceiA-1; Mon, 15 Aug 2022 11:08:41 -0400 X-MC-Unique: h8GHc1GPOxSUlKhkB9ceiA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1A567101A586; Mon, 15 Aug 2022 15:08:41 +0000 (UTC) Received: from jtoppins.rdu.csb (unknown [10.22.34.38]) by smtp.corp.redhat.com (Postfix) with ESMTP id EDAA6492C3B; Mon, 15 Aug 2022 15:08:40 +0000 (UTC) From: Jonathan Toppins To: netdev@vger.kernel.org Cc: liuhangbin@gmail.com Subject: [PATCH net v3 0/2] bonding: 802.3ad: fix no transmission of LACPDUs Date: Mon, 15 Aug 2022 11:08:33 -0400 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org The first patch adds some kselftest infrastructure and the reproducer that demonstrates the problem. The second patch fixes the issue. v3: * rebased to latest net/master * addressed comment from Hangbin Jonathan Toppins (2): selftests: include bonding tests into the kselftest infra bonding: 802.3ad: fix no transmission of LACPDUs MAINTAINERS | 1 + drivers/net/bonding/bond_3ad.c | 3 +- tools/testing/selftests/Makefile | 1 + .../selftests/drivers/net/bonding/Makefile | 6 ++ .../net/bonding/bond-break-lacpdu-tx.sh | 81 +++++++++++++++++++ .../selftests/drivers/net/bonding/config | 1 + .../selftests/drivers/net/bonding/settings | 1 + 7 files changed, 93 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/drivers/net/bonding/Makefile create mode 100755 tools/testing/selftests/drivers/net/bonding/bond-break-lacpdu-tx.sh create mode 100644 tools/testing/selftests/drivers/net/bonding/config create mode 100644 tools/testing/selftests/drivers/net/bonding/settings