net/hinic: support flow control
authorXiaoyun Wang <cloud.wangxiaoyun@huawei.com>
Tue, 17 Mar 2020 15:01:17 +0000 (23:01 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:04 +0000 (13:57 +0200)
commitef6f2f5cdbe2ef2e7bfd340a80652db91e894949
tree689e2db0ce8e61c738f0bcf29ef17ec6b04651b8
parent4f1af3cb5a97638cf56bdc0273e71c62b4f0e497
net/hinic: support flow control

The patch supports pause flow control, including getting or
setting rx_pasue, tx_pause and auto_neg, auto_neg is just
for Electric port type.

Signed-off-by: Xiaoyun Wang <cloud.wangxiaoyun@huawei.com>
drivers/net/hinic/base/hinic_pmd_niccfg.c
drivers/net/hinic/base/hinic_pmd_niccfg.h
drivers/net/hinic/hinic_pmd_ethdev.c
drivers/net/hinic/hinic_pmd_ethdev.h
drivers/net/hinic/hinic_pmd_tx.c