summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2016-02-29 21:04:06 +0000
committernp <np@FreeBSD.org>2016-02-29 21:04:06 +0000
commitf0bc9a635efb74ac834f0014597b9aea77891178 (patch)
treeb3c17615994a248689f09c85ee6ec3d7830f5c9e /tools
parent30aae9157ecc519dc621e2fb2e10b80b62e96d52 (diff)
downloadFreeBSD-src-f0bc9a635efb74ac834f0014597b9aea77891178.zip
FreeBSD-src-f0bc9a635efb74ac834f0014597b9aea77891178.tar.gz
Fix some whitespace nits in cxgbetool.c. No functional change.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/cxgbetool/cxgbetool.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/tools/tools/cxgbetool/cxgbetool.c b/tools/tools/cxgbetool/cxgbetool.c
index da04099..d634af2 100644
--- a/tools/tools/cxgbetool/cxgbetool.c
+++ b/tools/tools/cxgbetool/cxgbetool.c
@@ -446,47 +446,47 @@ do_show_info_header(uint32_t mode)
{
uint32_t i;
- printf ("%4s %8s", "Idx", "Hits");
+ printf("%4s %8s", "Idx", "Hits");
for (i = T4_FILTER_FCoE; i <= T4_FILTER_IP_FRAGMENT; i <<= 1) {
switch (mode & i) {
case T4_FILTER_FCoE:
- printf (" FCoE");
+ printf(" FCoE");
break;
case T4_FILTER_PORT:
- printf (" Port");
+ printf(" Port");
break;
case T4_FILTER_VNIC:
- printf (" vld:VNIC");
+ printf(" vld:VNIC");
break;
case T4_FILTER_VLAN:
- printf (" vld:VLAN");
+ printf(" vld:VLAN");
break;
case T4_FILTER_IP_TOS:
- printf (" TOS");
+ printf(" TOS");
break;
case T4_FILTER_IP_PROTO:
- printf (" Prot");
+ printf(" Prot");
break;
case T4_FILTER_ETH_TYPE:
- printf (" EthType");
+ printf(" EthType");
break;
case T4_FILTER_MAC_IDX:
- printf (" MACIdx");
+ printf(" MACIdx");
break;
case T4_FILTER_MPS_HIT_TYPE:
- printf (" MPS");
+ printf(" MPS");
break;
case T4_FILTER_IP_FRAGMENT:
- printf (" Frag");
+ printf(" Frag");
break;
default:
@@ -866,7 +866,7 @@ get_filter_mode(void)
if (mode & T4_FILTER_IP_SADDR)
printf("sip ");
-
+
if (mode & T4_FILTER_IP_DADDR)
printf("dip ");
OpenPOWER on IntegriCloud