bonding: show Tx policy for 802.3AD mode
authorMin Hu (Connor) <humin29@huawei.com>
Mon, 25 Oct 2021 03:15:11 +0000 (11:15 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 2 Nov 2021 17:12:18 +0000 (18:12 +0100)
commitbd0241e2d5884bcece5f6b03191ca5388b7491e0
treebd8989716812cc6f386fa31ef598c127b6fc8799
parentae70cc6e893bdc9e2b3cec290a964ec80a45372a
bonding: show Tx policy for 802.3AD mode

As balance xmit policy is supported in bonding mode 4(802.3AD). This
patch adds balance xmit policy show in testpmd commands for mode 4. Like:
testpmd> show bonding config 2
        Bonding mode: 4
        Balance Xmit Policy: BALANCE_XMIT_POLICY_LAYER34
        IEEE802.3AD Aggregator Mode: stable
        Slaves (2): [0 1]
        Active Slaves (2): [1 0]
        Primary: [1]

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c