net/bnxt: support Tx loopback, set VF MAC and queues drop
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 1 Jun 2017 17:07:16 +0000 (12:07 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:28 +0000 (10:41 +0100)
commit49947a13ba9e2dfa37bc6c20c1a3313470493134
tree6486a0b741b3ede0ad4e0b24a458759b0b4ac1f1
parentbb81e07323bba83dfb4818a04519aa776ae0addb
net/bnxt: support Tx loopback, set VF MAC and queues drop

Add functions rte_pmd_bnxt_set_tx_loopback,
rte_pmd_bnxt_set_all_queues_drop_en and
rte_pmd_bnxt_set_vf_mac_addr to configure tx_loopback,
queue_drop and VF MAC address setting in the hardware.
It also adds the necessary functions to send the HWRM commands
to the firmware.

Signed-off-by: Steeven Li <steeven.li@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
app/test-pmd/Makefile
app/test-pmd/cmdline.c
drivers/net/bnxt/Makefile
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bnxt/bnxt_hwrm.h
drivers/net/bnxt/rte_pmd_bnxt.c [new file with mode: 0644]
drivers/net/bnxt/rte_pmd_bnxt.h [new file with mode: 0644]
drivers/net/bnxt/rte_pmd_bnxt_version.map