From nobody Thu Feb 02 07:39:36 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P6rK5031Yz3c8vd; Thu, 2 Feb 2023 07:39:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P6rK46fnkz3CLS; Thu, 2 Feb 2023 07:39:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675323576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/AUTF5xZaN6/6+uih3BHnNObn3JFRXkPodFtUlBSnMk=; b=YPvXaL/Dc4NuefED91JvKkxfK7EG8FEqC3xqyiUr/Cp1HWbH13OIRHEzvZE8c1/ILbZ1Yc zBX9ZeaRqEv1qt1gud6N4KUfVFA9wHlY2RMP+HtDuTluKNfUooGvFL37sFYcf6fD+R9oMI vsxlQUF8PTS3OgI9r0dBRBIAGW2dfWmG/htoc0d0tOv9sXNWyX2EcEgvIEI5hLuDhtx1Q9 3aGgCt3K5Ureo0O5D4K2uHNeAH8WUVgl7xG89SA4H6w+7Dgwxvc3uOFITpUfRV1IRUlY+U VNxcqXxEbIJb+5Yj14spQN3yQoYXbCnbMgwE+JF1+aP++APa6JgHSgihMnYLrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675323576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/AUTF5xZaN6/6+uih3BHnNObn3JFRXkPodFtUlBSnMk=; b=l9rP+KeNf31G8n2BtO1diVbKxtLuCQI2fAy+UjqyaYFxb+B7/UadiKUfi6n4sMArVzumEx avIdb05NAqLRloEcTblRT69TSgB9UxpCar2kivF5j95s/9L0dn9ebL+iEfyhgWb5fUaiGr WEqg1OzMHQV3CT7d9NGu9nGafCIpH8B881hdsKxxQ4sx+0r6R1VtiVtj8Ktxmym+uqiM// 2/KaTn1MiO6Y7nwMmq3wUTonyfkJOMRuUJgCJLOwltDkJC0i0iWiS/MIpopF3HUra8BWnJ UB/kA3w7dwyaENJvKIn4Ycm8jOpJP4H1BbGmPWV0HSBhVRSXtQfnj0pi62vm3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675323576; a=rsa-sha256; cv=none; b=Josujf1fzXSj/5yKYC7foXCMDwQuZsUTR5gWPkS8vUAnrWqMpy3ND+HeXO1wWfmiUDV+Lu 4Li9FO0FsQqcBUtmqRagXZ/jqegMeJJj8m265Z2R+W1/Imss6P3tzxLuQcZVAiCxsNagNw +RDIa0UsO0BjDPZ9733i2TblsQWR54gVoBempJKSFFlJJm4WVubQ96VOsmBiLT/nB9G8re vGxAR9YBtU7FvXV5wERSwyyUlAYD4DrdeX123bTw66PuJRKsZY4Yk+2XKeLuwzgxF9Lftt VL/hmL8DufbiSIN7Sz3CijItHXx5C5KbZ0lpdFfS7l2zYD+Qd5TLfoB/jAzo7g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P6rK45hjqzmJV; Thu, 2 Feb 2023 07:39:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3127daGJ062134; Thu, 2 Feb 2023 07:39:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3127dadl062133; Thu, 2 Feb 2023 07:39:36 GMT (envelope-from git) Date: Thu, 2 Feb 2023 07:39:36 GMT Message-Id: <202302020739.3127dadl062133@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Navdeep Parhar Subject: git: 5d57964698e8 - stable/13 - cxgbetool: remove unnecessary vertical whitespace. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: np X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 5d57964698e89fe45e75f2293b03fa96b69b89f0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=5d57964698e89fe45e75f2293b03fa96b69b89f0 commit 5d57964698e89fe45e75f2293b03fa96b69b89f0 Author: Navdeep Parhar AuthorDate: 2022-08-19 19:46:32 +0000 Commit: Navdeep Parhar CommitDate: 2023-02-02 07:16:38 +0000 cxgbetool: remove unnecessary vertical whitespace. No functional change. (cherry picked from commit f6cc21e8e14344ca698c19a2931c04867249dd60) --- usr.sbin/cxgbetool/cxgbetool.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) diff --git a/usr.sbin/cxgbetool/cxgbetool.c b/usr.sbin/cxgbetool/cxgbetool.c index f93c28da8e16..43707df0b47a 100644 --- a/usr.sbin/cxgbetool/cxgbetool.c +++ b/usr.sbin/cxgbetool/cxgbetool.c @@ -544,46 +544,36 @@ do_show_info_header(uint32_t mode) case T4_FILTER_FCoE: printf(" FCoE"); break; - case T4_FILTER_PORT: printf(" Port"); break; - case T4_FILTER_VNIC: if (mode & T4_FILTER_IC_VNIC) printf(" VFvld:PF:VF"); else printf(" vld:oVLAN"); break; - case T4_FILTER_VLAN: printf(" vld:VLAN"); break; - case T4_FILTER_IP_TOS: printf(" TOS"); break; - case T4_FILTER_IP_PROTO: printf(" Prot"); break; - case T4_FILTER_ETH_TYPE: printf(" EthType"); break; - case T4_FILTER_MAC_IDX: printf(" MACIdx"); break; - case T4_FILTER_MPS_HIT_TYPE: printf(" MPS"); break; - case T4_FILTER_IP_FRAGMENT: printf(" Frag"); break; - default: /* compressed filter field not enabled */ break; @@ -825,11 +815,9 @@ do_show_one_filter_info(struct t4_filter *t, uint32_t mode) case T4_FILTER_FCoE: printf(" %1d/%1d", t->fs.val.fcoe, t->fs.mask.fcoe); break; - case T4_FILTER_PORT: printf(" %1d/%1d", t->fs.val.iport, t->fs.mask.iport); break; - case T4_FILTER_VNIC: if (mode & T4_FILTER_IC_VNIC) { printf(" %1d:%1x:%02x/%1d:%1x:%02x", @@ -845,40 +833,32 @@ do_show_one_filter_info(struct t4_filter *t, uint32_t mode) t->fs.mask.ovlan_vld, t->fs.mask.vnic); } break; - case T4_FILTER_VLAN: printf(" %1d:%04x/%1d:%04x", t->fs.val.vlan_vld, t->fs.val.vlan, t->fs.mask.vlan_vld, t->fs.mask.vlan); break; - case T4_FILTER_IP_TOS: printf(" %02x/%02x", t->fs.val.tos, t->fs.mask.tos); break; - case T4_FILTER_IP_PROTO: printf(" %02x/%02x", t->fs.val.proto, t->fs.mask.proto); break; - case T4_FILTER_ETH_TYPE: printf(" %04x/%04x", t->fs.val.ethtype, t->fs.mask.ethtype); break; - case T4_FILTER_MAC_IDX: printf(" %03x/%03x", t->fs.val.macidx, t->fs.mask.macidx); break; - case T4_FILTER_MPS_HIT_TYPE: printf(" %1x/%1x", t->fs.val.matchtype, t->fs.mask.matchtype); break; - case T4_FILTER_IP_FRAGMENT: printf(" %1d/%1d", t->fs.val.frag, t->fs.mask.frag); break; - default: /* compressed filter field not enabled */ break; @@ -1010,43 +990,30 @@ get_filter_mode(int hashfilter) if (mode & T4_FILTER_IPv4) printf("ipv4 "); - if (mode & T4_FILTER_IPv6) printf("ipv6 "); - if (mode & T4_FILTER_IP_SADDR) printf("sip "); - if (mode & T4_FILTER_IP_DADDR) printf("dip "); - if (mode & T4_FILTER_IP_SPORT) printf("sport "); - if (mode & T4_FILTER_IP_DPORT) printf("dport "); - if (mode & T4_FILTER_IP_FRAGMENT) printf("frag "); - if (mode & T4_FILTER_MPS_HIT_TYPE) printf("matchtype "); - if (mode & T4_FILTER_MAC_IDX) printf("macidx "); - if (mode & T4_FILTER_ETH_TYPE) printf("ethtype "); - if (mode & T4_FILTER_IP_PROTO) printf("proto "); - if (mode & T4_FILTER_IP_TOS) printf("tos "); - if (mode & T4_FILTER_VLAN) printf("vlan "); - if (mode & T4_FILTER_VNIC) { if (mode & T4_FILTER_IC_VNIC) printf("vnic_id "); @@ -1055,13 +1022,10 @@ get_filter_mode(int hashfilter) else printf("ovlan "); } - if (mode & T4_FILTER_PORT) printf("iport "); - if (mode & T4_FILTER_FCoE) printf("fcoe "); - printf("\n"); return (0);