From patchwork Wed Apr 29 17:45:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1279545 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=OkUVh5bC; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49C5YJ13sXz9sRf for ; Thu, 30 Apr 2020 03:46:43 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5D48923223; Wed, 29 Apr 2020 17:46:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4oSmP2wHf1V1; Wed, 29 Apr 2020 17:46:36 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id 17C412043C; Wed, 29 Apr 2020 17:46:36 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id E05D5C0864; Wed, 29 Apr 2020 17:46:35 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8927EC0172 for ; Wed, 29 Apr 2020 17:46:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 689BC2043C for ; Wed, 29 Apr 2020 17:46:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eaMT3o2h1Pjx for ; Wed, 29 Apr 2020 17:46:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by silver.osuosl.org (Postfix) with ESMTPS id 4009A203A0 for ; Wed, 29 Apr 2020 17:46:33 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id x77so1435604pfc.0 for ; Wed, 29 Apr 2020 10:46:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=OZgtdeez9JZEDyXTA5j/19pPfh573+IKyKn2M4sv6jc=; b=OkUVh5bCOzqLB1oSSk1UOKqgym2X2ANusILDg7Gb+ENwYkQ/sWvT/4VlH+ArrilBHz cSBFyVMXtmHYP14F9SVkpGLDhDz+nvTAk8eqrNeVP/CjcIJWG7ZYUVrMYYRL8Xo2D6/4 hHwBK73gcun0wFT+JS4bUEwmdZh/jWUkrmRDNjrjE2EoQdFaB0bUG/eAIPI3z1Urner8 RSDZqf5vJ77spgQS2zMfyJ5Slpqf28WwIRyz+qvdiW35BDlZhTkM24sl0qmiyUH1bmGv h9AsTr0qIeAgZYotspF8ZFve5rAawmLNzHzVwekMganUcovJfJmMJgcfIAgVz1F4K8x9 APWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OZgtdeez9JZEDyXTA5j/19pPfh573+IKyKn2M4sv6jc=; b=Pd/2Qi92ysSz/j2ZoIz/k+bTU6IzyPUI88OuPB+R/KQ7SwWpZQ1QCaBL9nYu9pL7P6 wt5wDNBVmMMX8vibLGAZ5LT8EkGDWu/K+jeHyvgmyHqpeqNKcVk3TexGIw9HfdeQoSen fc3xsSjeC7wLiRo6rIpGKJdIfvKybsq9PX52sNurfak2Xs4m0mknAUl3dVxgTxBVm0zX cwnLVYCT5ICtrXTfr5f5BNREpYkOif64L3VIJSLADjTyaoVepas8TaYVuZxFce+87ew6 6I8loOWJMXmj2W6Zb6MTyUetC8RSwh1mmHhvJhqCEDH3BHDoOoJZjoeM1GlyFjxkal8l bzbg== X-Gm-Message-State: AGi0PuYOa+SB5IeA6gNXnvUj1im/nzhQZttZKONTY6GKyrxh2N1UrL50 cB9DAFTO+SQ9W88OZO+Ou67NqAUn X-Google-Smtp-Source: APiQypIMjcNZc8v1UIE/Cs+Vu4BrLxG9naClqqDNniyDjf/d9Am6GhqdUVceBgYn34U0ZT8njwyxGA== X-Received: by 2002:a62:81c1:: with SMTP id t184mr18409946pfd.236.1588182392375; Wed, 29 Apr 2020 10:46:32 -0700 (PDT) Received: from sc9-mailhost2.vmware.com (c-76-21-95-192.hsd1.ca.comcast.net. [76.21.95.192]) by smtp.gmail.com with ESMTPSA id q11sm1551761pfl.97.2020.04.29.10.46.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Apr 2020 10:46:31 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Wed, 29 Apr 2020 10:45:42 -0700 Message-Id: <1588182342-87336-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [ovs-dev] [PATCH] ovs-bugtool: Add ethtool -l for combined channel. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Users of netdev-afxdp has to setup the combined channel on physical NIC. This helps debugging related issues. Example output: $ ethtool -l enp3s0f0 Channel parameters for enp3s0f0: Pre-set maximums: RX: 0 TX: 0 Other: 1 Combined: 63 Current hardware settings: RX: 0 TX: 0 Other: 1 Combined: 1 Some previous discussion: https://mail.openvswitch.org/pipermail/ovs-dev/2020-January/366631.html Signed-off-by: William Tu Acked-by: Yi-Hung Wei --- utilities/bugtool/ovs-bugtool.in | 1 + 1 file changed, 1 insertion(+) diff --git a/utilities/bugtool/ovs-bugtool.in b/utilities/bugtool/ovs-bugtool.in index 47f3c4629f70..1a5170d8c78b 100755 --- a/utilities/bugtool/ovs-bugtool.in +++ b/utilities/bugtool/ovs-bugtool.in @@ -628,6 +628,7 @@ exclude those logs from the archive. cmd_output(CAP_NETWORK_INFO, [ETHTOOL, '-k', p]) cmd_output(CAP_NETWORK_INFO, [ETHTOOL, '-i', p]) cmd_output(CAP_NETWORK_INFO, [ETHTOOL, '-c', p]) + cmd_output(CAP_NETWORK_INFO, [ETHTOOL, '-l', p]) if int(t) == 1: cmd_output(CAP_NETWORK_INFO, [TC, '-s', '-d', 'class', 'show', 'dev', p])