cxgbe(4): Display pkt-size and burst-size in traffic class parameters.

This commit is contained in:
np 2018-08-09 14:36:44 +00:00
parent ca3f43f5cc
commit 9add158a6f

View File

@ -650,6 +650,10 @@ sysctl_tc_params(SYSCTL_HANDLER_ARGS)
break;
case SCHED_CLASS_MODE_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;
default:
rc = ENXIO;