From nobody Fri Aug 19 22:39:12 2022 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 4M8cB86BMbz4ZMWn; Fri, 19 Aug 2022 22:39:12 +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 4M8cB85g4lz3rdG; Fri, 19 Aug 2022 22:39:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660948752; 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=PympbrmIm72Ynk73mkgHaQpF7gaPxLk5tcl/mtLeCZ8=; b=l4cX8YBS+DNIsXfkRozxvouVXi+x/kEbUiv8PyzBoTGvm7WeNNyv9qO9A4EOoyFFOew3OA 2fEPoHtGzD2CQw4u/i44xmmn2b5OnWjQV8bCpRArqSTXuyqkR9YQuwITh6b8mp4FKfK3DG y1VBv2e+TaIpfmq5NE6ZHvPDNAlA/AvFmAZbFvbhG0puzoAAoY8Vs64skGpuDDXjV3Qxc2 ITvRAiJropatdpjA3nH2JAj/X/kj/lNc+s7bA0cDO3ZLPel3QilT8wKomoikA8Eo4TyAMW EKERq+Etl9BSlgb5VFV1lU82+9hwdx58PehJhB7VR5PJHWARSlSOEIICUJ6Rcw== 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 4M8cB84Jyjz18bH; Fri, 19 Aug 2022 22:39:12 +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 27JMdCs5082893; Fri, 19 Aug 2022 22:39:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27JMdCSD082892; Fri, 19 Aug 2022 22:39:12 GMT (envelope-from git) Date: Fri, 19 Aug 2022 22:39:12 GMT Message-Id: <202208192239.27JMdCSD082892@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Navdeep Parhar Subject: git: f6cc21e8e143 - main - 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/main X-Git-Reftype: branch X-Git-Commit: f6cc21e8e14344ca698c19a2931c04867249dd60 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660948752; 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=PympbrmIm72Ynk73mkgHaQpF7gaPxLk5tcl/mtLeCZ8=; b=tXiOJJZpGHMe9X2LqBg647jMbkfVHjcy/Dedvyut8OmXgvcL087db2N8wX9JV6MPPSmYnt K5ilorm5PfNlAiw4oEJmaN0wVDqQf4jYIPDL+Sgz2zLxdl2HaUCMRDJMp6h7fRtE0bcZGC O8DB0SBXKp4jpBRf341yoChkN6YGbB9vozrXZ+HGB9ulDVxlDvSjo2C7k7QfETv0CC2vxP hRM4jc5/ZLIU4kQlNOPSM83V1rG6kW2Kyy/3DYVYhGma55YAP4LS23587r44qjY/ZT5C7O nt3WJyMICz2aDAFPRj8jtlS14D7jIPhFNtiWd4As4O0viL6oMTWpYZgLDMDRog== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660948752; a=rsa-sha256; cv=none; b=raws37IYTaqHfYu6hvHfNy2USJxy1z5N1oZGVX33i519x6UE5DFKW2F9Q4qiByPMKrQR6I qp+mjoIWs1MY7gfgiZWqvI3qLasl2rctaNzJdqu2ZkP/kGfkLwn6CancSnK8ouDxOSs4ef pcHLKJDQl4KFQa1hhK08AchEq2caONYO5dqKl2RmMIl4rDAJgCi0wc4q2E56sSMgquPJwl Xnf+gS5W5iPArRCqlCLVtl0ZunURotSmxpA3MqJO2P8Vt5JQEt2SSQLEgH7/zPk91LkYPw P9i92FOQzKSsSWxFqi/dPtClLiMBWde5zQUcanNF7zUp0kmZInUeKDDAHRauxw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=f6cc21e8e14344ca698c19a2931c04867249dd60 commit f6cc21e8e14344ca698c19a2931c04867249dd60 Author: Navdeep Parhar AuthorDate: 2022-08-19 19:46:32 +0000 Commit: Navdeep Parhar CommitDate: 2022-08-19 22:38:13 +0000 cxgbetool: remove unnecessary vertical whitespace. No functional change. MFC after: 3 days --- 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 53de8f8ff89a..5cdebeb0f181 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);