net/bnxt: refactor for 1.5.1 HWRM API
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Mon, 26 Sep 2016 17:05:07 +0000 (12:05 -0500)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commiteba852e23ed87976763db4aab8c51308a9777a22
tree626b98cf3730b8c5f42bb2835ce64948759d51dd
parent6ca3a5e7227dd92757bd84e02efd8968bb02b0e6
net/bnxt: refactor for 1.5.1 HWRM API

Update the PMD to use the 1.5.1 HWRM API.
Most of the changes in this patch and the following patches are
white spaces and rearrangement of the lines - hopefully a onetime change
owing to the usage of a different auto generated file.

Other than that, the following fields have been renamed:
1) rx_err_pkts and tx_err_pkts are now rx_discard_pkts and tx_discard_pkts
in struct ctx_hw_stats64
2) the perm_mac_addr field in the response of bnxt_hwrm_func_qcaps has
changed to mac_addr.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c
drivers/net/bnxt/bnxt_stats.c
drivers/net/bnxt/hsi_struct_def_dpdk.h