cxgbe(4): Display pkt-size and burst-size in traffic class parameters.
This commit is contained in:
parent
ca3f43f5cc
commit
9add158a6f
@ -650,6 +650,10 @@ sysctl_tc_params(SYSCTL_HANDLER_ARGS)
|
|||||||
break;
|
break;
|
||||||
case SCHED_CLASS_MODE_FLOW:
|
case SCHED_CLASS_MODE_FLOW:
|
||||||
sbuf_printf(sb, " per-flow");
|
sbuf_printf(sb, " per-flow");
|
||||||
|
if (tc.pktsize > 0)
|
||||||
|
sbuf_printf(sb, " pkt-size %u", tc.pktsize);
|
||||||
|
if (tc.burstsize > 0)
|
||||||
|
sbuf_printf(sb, " burst-size %u", tc.burstsize);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
rc = ENXIO;
|
rc = ENXIO;
|
||||||
|
Loading…
Reference in New Issue
Block a user