automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |FAILURE| pw24987 [PATCH v4 02/26] net/bnxt: code reorg to properly allocate resources for PF/VF
@ 2017-06-03  9:03 sys_stv
  0 siblings, 0 replies; only message in thread
From: sys_stv @ 2017-06-03  9:03 UTC (permalink / raw)
  To: test-report; +Cc: ajit.khaparde

[-- Attachment #1: Type: text/plain, Size: 685242 bytes --]

Test-Label: Intel-compilation
Test-Status: FAILURE

http://dpdk.org/patch/24987

_Compilation issues_

Submitter: Ajit Khaparde <ajit.khaparde@broadcom.com>
Date: Thu,  1 Jun 2017 12:06:59 -0500
DPDK git baseline: Repo:dpdk, Branch:master, CommitID:9d9949d67ca84501156bd26501bb168900f1c6e4

Patch24987-24987 --> compile error
Build Summary: 21 Builds Done, 0 Successful, 21 Failures

Test environment and configuration as below:
OS: RHEL7.2_64
    Kernel Version:3.10.0-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-shared
OS: UB1610_64
    Kernel Version:4.8.0-22-generic
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (Ubuntu 6.2.0-5ubuntu12) 6.2.0 20161005
    Clang Version:NA
    x86_64-native-linuxapp-icc
OS: RHEL7.3_64
    Kernel Version:3.10.0-514.16.1.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
    Clang Version:NA
    x86_64-native-linuxapp-icc
OS: FC25_64
    Kernel Version:4.8.6-300.fc25.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz
    GCC Version:gcc (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
    Clang Version:NA
    x86_64-native-linuxapp-icc
OS: FreeBSD10.3_64
    Kernel Version:10.3-RELEASE
    CPU info: Intel(R) Xeon(R) CPU E5-2699 v4 @ 2.20GHz (2194.98-MHz K8-class CPU)
    GCC Version:gcc (FreeBSD Ports Collection) 4.8.5
    Clang Version:3.4.1
    x86_64-native-bsdapp-clang
    x86_64-native-bsdapp-gcc
OS: CentOS7_64
    Kernel Version:3.10.0-514.10.2.el7.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-4)
    Clang Version:3.4.2
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
OS: FC24_64
    Kernel Version:4.9.13-100.fc24.x86_64
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)
    Clang Version:3.8.0
    x86_64-native-linuxapp-gcc-debug
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-clang
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-gcc
OS: UB1604_64
    Kernel Version:4.4.0-78-generic
    CPU info:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
    GCC Version:gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
    Clang Version:3.8.0
    i686-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc
    x86_64-native-linuxapp-gcc-shared
    x86_64-native-linuxapp-clang

Failed Build #1:
OS: RHEL7.2_64
Target: i686-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: dereferencing pointer to incomplete type
  vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                             ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: dereferencing pointer to incomplete type
  vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: dereferencing pointer to incomplete type
  vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: dereferencing pointer to incomplete type
  vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                       ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: dereferencing pointer to incomplete type
  vnic->mru = rte_le_to_cpu_16(resp->mru);
                                   ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: dereferencing pointer to incomplete type
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: dereferencing pointer to incomplete type
  vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                          ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: dereferencing pointer to incomplete type
  vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:989:41: error: dereferencing pointer to incomplete type
  vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:991:41: error: dereferencing pointer to incomplete type
  vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:993:43: error: dereferencing pointer to incomplete type
  vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
                                           ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1682:33: error: dereferencing pointer to incomplete type
  memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1684:27: error: dereferencing pointer to incomplete type
  qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1685:28: error: dereferencing pointer to incomplete type
  qcaps->max_rx_rings = fcfg->num_rx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1686:28: error: dereferencing pointer to incomplete type
  qcaps->max_tx_rings = fcfg->num_tx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1687:30: error: dereferencing pointer to incomplete type
  qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1688:28: error: dereferencing pointer to incomplete type
  qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1691:25: error: dereferencing pointer to incomplete type
  qcaps->max_vnics = fcfg->num_vnics;
                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1699:33: error: dereferencing pointer to incomplete type
  qcaps->max_mcast_filters = fcfg->num_mcast_filters;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1701:32: error: dereferencing pointer to incomplete type
  qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1758:5: error: dereferencing pointer to incomplete type
  req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1760:5: error: dereferencing pointer to incomplete type
  req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1762:5: error: dereferencing pointer to incomplete type
  req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1764:5: error: dereferencing pointer to incomplete type
  req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1765:5: error: dereferencing pointer to incomplete type
  req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1767:5: error: dereferencing pointer to incomplete type
  req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1768:5: error: dereferencing pointer to incomplete type
  req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1769:5: error: dereferencing pointer to incomplete type
  req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1771:5: error: dereferencing pointer to incomplete type
  req->num_vnics = rte_cpu_to_le_16(1);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1772:5: error: dereferencing pointer to incomplete type
  req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type
   if (rc || resp->error_code) {
                 ^
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:46:0,
                 from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_cycles.h:74,
                 from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cycles.h:71,
                 from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:38:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1931:13: error: dereferencing pointer to incomplete type
     rc, resp->error_code);
             ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors


Failed Build #2:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: dereferencing pointer to incomplete type
  vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: dereferencing pointer to incomplete type
  vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: dereferencing pointer to incomplete type
  vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: dereferencing pointer to incomplete type
  vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                       ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: dereferencing pointer to incomplete type
  vnic->mru = rte_le_to_cpu_16(resp->mru);
                                   ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: dereferencing pointer to incomplete type
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: dereferencing pointer to incomplete type
  vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                          ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: dereferencing pointer to incomplete type
  vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:989:41: error: dereferencing pointer to incomplete type
  vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:991:41: error: dereferencing pointer to incomplete type
  vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:993:43: error: dereferencing pointer to incomplete type
  vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
                                           ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1682:33: error: dereferencing pointer to incomplete type
  memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1684:27: error: dereferencing pointer to incomplete type
  qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1685:28: error: dereferencing pointer to incomplete type
  qcaps->max_rx_rings = fcfg->num_rx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1686:28: error: dereferencing pointer to incomplete type
  qcaps->max_tx_rings = fcfg->num_tx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1687:30: error: dereferencing pointer to incomplete type
  qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1688:28: error: dereferencing pointer to incomplete type
  qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1691:25: error: dereferencing pointer to incomplete type
  qcaps->max_vnics = fcfg->num_vnics;
                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1699:33: error: dereferencing pointer to incomplete type
  qcaps->max_mcast_filters = fcfg->num_mcast_filters;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1701:32: error: dereferencing pointer to incomplete type
  qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1758:5: error: dereferencing pointer to incomplete type
  req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1760:5: error: dereferencing pointer to incomplete type
  req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1762:5: error: dereferencing pointer to incomplete type
  req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1764:5: error: dereferencing pointer to incomplete type
  req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1765:5: error: dereferencing pointer to incomplete type
  req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1767:5: error: dereferencing pointer to incomplete type
  req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1768:5: error: dereferencing pointer to incomplete type
  req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1769:5: error: dereferencing pointer to incomplete type
  req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1771:5: error: dereferencing pointer to incomplete type
  req->num_vnics = rte_cpu_to_le_16(1);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1772:5: error: dereferencing pointer to incomplete type
  req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type
   if (rc || resp->error_code) {
                 ^
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_debug.h:46:0,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/generic/rte_cycles.h:74,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cycles.h:71,
                 from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:38:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1931:13: error: dereferencing pointer to incomplete type
     rc, resp->error_code);
             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors


Failed Build #3:
OS: RHEL7.2_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: dereferencing pointer to incomplete type
  vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: dereferencing pointer to incomplete type
  vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: dereferencing pointer to incomplete type
  vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: dereferencing pointer to incomplete type
  vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                       ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: dereferencing pointer to incomplete type
  vnic->mru = rte_le_to_cpu_16(resp->mru);
                                   ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: dereferencing pointer to incomplete type
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: dereferencing pointer to incomplete type
  vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                          ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: dereferencing pointer to incomplete type
  vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:989:41: error: dereferencing pointer to incomplete type
  vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:991:41: error: dereferencing pointer to incomplete type
  vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:993:43: error: dereferencing pointer to incomplete type
  vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
                                           ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1682:33: error: dereferencing pointer to incomplete type
  memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1684:27: error: dereferencing pointer to incomplete type
  qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1685:28: error: dereferencing pointer to incomplete type
  qcaps->max_rx_rings = fcfg->num_rx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1686:28: error: dereferencing pointer to incomplete type
  qcaps->max_tx_rings = fcfg->num_tx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1687:30: error: dereferencing pointer to incomplete type
  qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1688:28: error: dereferencing pointer to incomplete type
  qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1691:25: error: dereferencing pointer to incomplete type
  qcaps->max_vnics = fcfg->num_vnics;
                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1699:33: error: dereferencing pointer to incomplete type
  qcaps->max_mcast_filters = fcfg->num_mcast_filters;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1701:32: error: dereferencing pointer to incomplete type
  qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1758:5: error: dereferencing pointer to incomplete type
  req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1760:5: error: dereferencing pointer to incomplete type
  req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1762:5: error: dereferencing pointer to incomplete type
  req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1764:5: error: dereferencing pointer to incomplete type
  req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1765:5: error: dereferencing pointer to incomplete type
  req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1767:5: error: dereferencing pointer to incomplete type
  req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1768:5: error: dereferencing pointer to incomplete type
  req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1769:5: error: dereferencing pointer to incomplete type
  req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1771:5: error: dereferencing pointer to incomplete type
  req->num_vnics = rte_cpu_to_le_16(1);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1772:5: error: dereferencing pointer to incomplete type
  req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type
   if (rc || resp->error_code) {
                 ^
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_debug.h:46:0,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/generic/rte_cycles.h:74,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cycles.h:71,
                 from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:38:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1931:13: error: dereferencing pointer to incomplete type
     rc, resp->error_code);
             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors


Failed Build #4:
OS: UB1610_64
Target: x86_64-native-linuxapp-icc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(944): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(947): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(950): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(964): error: incomplete type is not allowed
  	struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
  	                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(967): error: identifier "HWRM_VNIC_QCFG" is undefined
  	HWRM_PREP(req, VNIC_QCFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(970): error: identifier "HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID" is undefined
  		rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
  		^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(976): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(976): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(978): error: pointer to incomplete class type is not allowed
  	vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(979): error: pointer to incomplete class type is not allowed
  	vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(980): error: pointer to incomplete class type is not allowed
  	vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(981): error: pointer to incomplete class type is not allowed
  	vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
  	                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(982): error: pointer to incomplete class type is not allowed
  	vnic->mru = rte_le_to_cpu_16(resp->mru);
  	            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(983): error: pointer to incomplete class type is not allowed
  	vnic->func_default = rte_le_to_cpu_32(
  	                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(984): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT" is undefined
  			resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
  			               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(985): error: pointer to incomplete class type is not allowed
  	vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
  	                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(986): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(987): error: pointer to incomplete class type is not allowed
  	vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(988): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(989): error: pointer to incomplete class type is not allowed
  	vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
  	                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(990): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(991): error: pointer to incomplete class type is not allowed
  	vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
  	                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(992): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(993): error: pointer to incomplete class type is not allowed
  	vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
  	                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(994): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1084): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1089): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR" is undefined
  	req.enables = rte_cpu_to_le_32(
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1094): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1097): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1097): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1678): error #274: declaration is not visible outside of function
  static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
                                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1681): error: pointer to incomplete class type is not allowed
  	qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
  	                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1682): error: pointer to incomplete class type is not allowed
  	memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1684): error: pointer to incomplete class type is not allowed
  	qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
  	                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1685): error: pointer to incomplete class type is not allowed
  	qcaps->max_rx_rings = fcfg->num_rx_rings;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1686): error: pointer to incomplete class type is not allowed
  	qcaps->max_tx_rings = fcfg->num_tx_rings;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1687): error: pointer to incomplete class type is not allowed
  	qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
  	                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1688): error: pointer to incomplete class type is not allowed
  	qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1691): error: pointer to incomplete class type is not allowed
  	qcaps->max_vnics = fcfg->num_vnics;
  	                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1699): error: pointer to incomplete class type is not allowed
  	qcaps->max_mcast_filters = fcfg->num_mcast_filters;
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1701): error: pointer to incomplete class type is not allowed
  	qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
  	                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1706): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MTU" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MRU" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1735): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1738): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1738): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1744): error #274: declaration is not visible outside of function
  				     struct hwrm_func_cfg_input *req,
  				            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: pointer to incomplete class type is not allowed
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MTU" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MRU" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1758): error: pointer to incomplete class type is not allowed
  	req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1760): error: pointer to incomplete class type is not allowed
  	req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1762): error: pointer to incomplete class type is not allowed
  	req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1764): error: pointer to incomplete class type is not allowed
  	req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1765): error: pointer to incomplete class type is not allowed
  	req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1767): error: pointer to incomplete class type is not allowed
  	req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1768): error: pointer to incomplete class type is not allowed
  	req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1769): error: pointer to incomplete class type is not allowed
  	req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1771): error: pointer to incomplete class type is not allowed
  	req->num_vnics = rte_cpu_to_le_16(1);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1772): error: pointer to incomplete class type is not allowed
  	req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1777): error #274: declaration is not visible outside of function
  				      struct hwrm_func_cfg_input *cfg_req,
  				             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1791): error #167: argument of type "struct hwrm_func_cfg_input *" is incompatible with parameter of type "struct hwrm_func_cfg_input *"
  		copy_func_cfg_to_qcaps(cfg_req, resp);
  		                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1795): error #167: argument of type "struct hwrm_func_cfg_input *" is incompatible with parameter of type "struct hwrm_func_cfg_input *"
  		copy_func_cfg_to_qcaps(cfg_req, resp);
  		                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1845): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE" is undefined
  		~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1846): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE" is undefined
  		  HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1855): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1885): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE" is undefined
  		~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1886): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE" is undefined
  		  HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1917): error: identifier "HWRM_FUNC_CFG" is undefined
  		HWRM_PREP(req, FUNC_CFG, -1, resp);
  		^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1923): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR" is undefined
  		req.enables &= ~rte_cpu_to_le_32(
  		                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1926): error: pointer to incomplete class type is not allowed
  		if (rc || resp->error_code) {
  		          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1929): error: pointer to incomplete class type is not allowed
  			RTE_LOG(ERR, PMD,
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1964): error: incomplete type is not allowed
  	struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
  	                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1967): error: identifier "HWRM_FUNC_BUF_RGTR" is undefined
  	HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1983): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1983): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1991): error: incomplete type is not allowed
  	struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
  	                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1994): error: identifier "HWRM_FUNC_BUF_UNRGTR" is undefined
  	HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1998): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1998): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2006): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2009): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2012): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR" is undefined
  	req.enables = rte_cpu_to_le_32(
  	              ^
compilation aborted for /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c (code 4)
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #5:
OS: RHEL7.3_64
Target: x86_64-native-linuxapp-icc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(944): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(947): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(950): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(964): error: incomplete type is not allowed
  	struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
  	                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(967): error: identifier "HWRM_VNIC_QCFG" is undefined
  	HWRM_PREP(req, VNIC_QCFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(970): error: identifier "HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID" is undefined
  		rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
  		^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(976): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(976): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(978): error: pointer to incomplete class type is not allowed
  	vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(979): error: pointer to incomplete class type is not allowed
  	vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(980): error: pointer to incomplete class type is not allowed
  	vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(981): error: pointer to incomplete class type is not allowed
  	vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
  	                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(982): error: pointer to incomplete class type is not allowed
  	vnic->mru = rte_le_to_cpu_16(resp->mru);
  	            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(983): error: pointer to incomplete class type is not allowed
  	vnic->func_default = rte_le_to_cpu_32(
  	                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(984): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT" is undefined
  			resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
  			               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(985): error: pointer to incomplete class type is not allowed
  	vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
  	                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(986): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(987): error: pointer to incomplete class type is not allowed
  	vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(988): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(989): error: pointer to incomplete class type is not allowed
  	vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
  	                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(990): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(991): error: pointer to incomplete class type is not allowed
  	vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
  	                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(992): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(993): error: pointer to incomplete class type is not allowed
  	vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
  	                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(994): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1084): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1089): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR" is undefined
  	req.enables = rte_cpu_to_le_32(
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1094): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1097): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1097): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1678): error #274: declaration is not visible outside of function
  static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
                                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1681): error: pointer to incomplete class type is not allowed
  	qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
  	                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1682): error: pointer to incomplete class type is not allowed
  	memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1684): error: pointer to incomplete class type is not allowed
  	qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
  	                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1685): error: pointer to incomplete class type is not allowed
  	qcaps->max_rx_rings = fcfg->num_rx_rings;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1686): error: pointer to incomplete class type is not allowed
  	qcaps->max_tx_rings = fcfg->num_tx_rings;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1687): error: pointer to incomplete class type is not allowed
  	qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
  	                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1688): error: pointer to incomplete class type is not allowed
  	qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1691): error: pointer to incomplete class type is not allowed
  	qcaps->max_vnics = fcfg->num_vnics;
  	                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1699): error: pointer to incomplete class type is not allowed
  	qcaps->max_mcast_filters = fcfg->num_mcast_filters;
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1701): error: pointer to incomplete class type is not allowed
  	qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
  	                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1706): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MTU" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MRU" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1735): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1738): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1738): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1744): error #274: declaration is not visible outside of function
  				     struct hwrm_func_cfg_input *req,
  				            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: pointer to incomplete class type is not allowed
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MTU" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MRU" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1758): error: pointer to incomplete class type is not allowed
  	req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1760): error: pointer to incomplete class type is not allowed
  	req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1762): error: pointer to incomplete class type is not allowed
  	req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1764): error: pointer to incomplete class type is not allowed
  	req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1765): error: pointer to incomplete class type is not allowed
  	req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1767): error: pointer to incomplete class type is not allowed
  	req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1768): error: pointer to incomplete class type is not allowed
  	req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1769): error: pointer to incomplete class type is not allowed
  	req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1771): error: pointer to incomplete class type is not allowed
  	req->num_vnics = rte_cpu_to_le_16(1);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1772): error: pointer to incomplete class type is not allowed
  	req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1777): error #274: declaration is not visible outside of function
  				      struct hwrm_func_cfg_input *cfg_req,
  				             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1791): error #167: argument of type "struct hwrm_func_cfg_input *" is incompatible with parameter of type "struct hwrm_func_cfg_input *"
  		copy_func_cfg_to_qcaps(cfg_req, resp);
  		                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1795): error #167: argument of type "struct hwrm_func_cfg_input *" is incompatible with parameter of type "struct hwrm_func_cfg_input *"
  		copy_func_cfg_to_qcaps(cfg_req, resp);
  		                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1845): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE" is undefined
  		~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1846): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE" is undefined
  		  HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1855): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1885): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE" is undefined
  		~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1886): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE" is undefined
  		  HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1917): error: identifier "HWRM_FUNC_CFG" is undefined
  		HWRM_PREP(req, FUNC_CFG, -1, resp);
  		^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1923): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR" is undefined
  		req.enables &= ~rte_cpu_to_le_32(
  		                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1926): error: pointer to incomplete class type is not allowed
  		if (rc || resp->error_code) {
  		          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1929): error: pointer to incomplete class type is not allowed
  			RTE_LOG(ERR, PMD,
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1964): error: incomplete type is not allowed
  	struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
  	                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1967): error: identifier "HWRM_FUNC_BUF_RGTR" is undefined
  	HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1983): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1983): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1991): error: incomplete type is not allowed
  	struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
  	                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1994): error: identifier "HWRM_FUNC_BUF_UNRGTR" is undefined
  	HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1998): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1998): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2006): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2009): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2012): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR" is undefined
  	req.enables = rte_cpu_to_le_32(
  	              ^
compilation aborted for /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c (code 4)


Failed Build #6:
OS: FC25_64
Target: x86_64-native-linuxapp-icc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(944): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(947): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(950): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE" is undefined
  		req.flags |= rte_cpu_to_le_32(
  		             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(964): error: incomplete type is not allowed
  	struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
  	                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(967): error: identifier "HWRM_VNIC_QCFG" is undefined
  	HWRM_PREP(req, VNIC_QCFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(970): error: identifier "HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID" is undefined
  		rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
  		^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(976): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(976): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(978): error: pointer to incomplete class type is not allowed
  	vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(979): error: pointer to incomplete class type is not allowed
  	vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(980): error: pointer to incomplete class type is not allowed
  	vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(981): error: pointer to incomplete class type is not allowed
  	vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
  	                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(982): error: pointer to incomplete class type is not allowed
  	vnic->mru = rte_le_to_cpu_16(resp->mru);
  	            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(983): error: pointer to incomplete class type is not allowed
  	vnic->func_default = rte_le_to_cpu_32(
  	                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(984): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT" is undefined
  			resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
  			               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(985): error: pointer to incomplete class type is not allowed
  	vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
  	                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(986): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(987): error: pointer to incomplete class type is not allowed
  	vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
  	                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(988): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(989): error: pointer to incomplete class type is not allowed
  	vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
  	                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(990): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(991): error: pointer to incomplete class type is not allowed
  	vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
  	                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(992): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(993): error: pointer to incomplete class type is not allowed
  	vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
  	                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(994): error: identifier "HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE" is undefined
  			HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1084): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1089): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR" is undefined
  	req.enables = rte_cpu_to_le_32(
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1094): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1097): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1097): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1678): error #274: declaration is not visible outside of function
  static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
                                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1681): error: pointer to incomplete class type is not allowed
  	qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
  	                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1682): error: pointer to incomplete class type is not allowed
  	memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1684): error: pointer to incomplete class type is not allowed
  	qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
  	                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1685): error: pointer to incomplete class type is not allowed
  	qcaps->max_rx_rings = fcfg->num_rx_rings;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1686): error: pointer to incomplete class type is not allowed
  	qcaps->max_tx_rings = fcfg->num_tx_rings;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1687): error: pointer to incomplete class type is not allowed
  	qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
  	                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1688): error: pointer to incomplete class type is not allowed
  	qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
  	                      ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1691): error: pointer to incomplete class type is not allowed
  	qcaps->max_vnics = fcfg->num_vnics;
  	                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1699): error: pointer to incomplete class type is not allowed
  	qcaps->max_mcast_filters = fcfg->num_mcast_filters;
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1701): error: pointer to incomplete class type is not allowed
  	qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
  	                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1706): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MTU" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MRU" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1710): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS" is undefined
  	req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1735): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1738): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1738): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1744): error #274: declaration is not visible outside of function
  				     struct hwrm_func_cfg_input *req,
  				            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: pointer to incomplete class type is not allowed
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MTU" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_MRU" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1747): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS" is undefined
  	req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
  	               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1758): error: pointer to incomplete class type is not allowed
  	req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1760): error: pointer to incomplete class type is not allowed
  	req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1762): error: pointer to incomplete class type is not allowed
  	req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1764): error: pointer to incomplete class type is not allowed
  	req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1765): error: pointer to incomplete class type is not allowed
  	req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1767): error: pointer to incomplete class type is not allowed
  	req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1768): error: pointer to incomplete class type is not allowed
  	req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1769): error: pointer to incomplete class type is not allowed
  	req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1771): error: pointer to incomplete class type is not allowed
  	req->num_vnics = rte_cpu_to_le_16(1);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1772): error: pointer to incomplete class type is not allowed
  	req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1777): error #274: declaration is not visible outside of function
  				      struct hwrm_func_cfg_input *cfg_req,
  				             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1791): error #167: argument of type "struct hwrm_func_cfg_input *" is incompatible with parameter of type "struct hwrm_func_cfg_input *"
  		copy_func_cfg_to_qcaps(cfg_req, resp);
  		                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1795): error #167: argument of type "struct hwrm_func_cfg_input *" is incompatible with parameter of type "struct hwrm_func_cfg_input *"
  		copy_func_cfg_to_qcaps(cfg_req, resp);
  		                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1845): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE" is undefined
  		~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1846): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE" is undefined
  		  HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1855): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1885): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE" is undefined
  		~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1886): error: identifier "HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE" is undefined
  		  HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
  		  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1917): error: identifier "HWRM_FUNC_CFG" is undefined
  		HWRM_PREP(req, FUNC_CFG, -1, resp);
  		^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1923): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR" is undefined
  		req.enables &= ~rte_cpu_to_le_32(
  		                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1926): error: pointer to incomplete class type is not allowed
  		if (rc || resp->error_code) {
  		          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1929): error: pointer to incomplete class type is not allowed
  			RTE_LOG(ERR, PMD,
  			^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1964): error: incomplete type is not allowed
  	struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
  	                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1967): error: identifier "HWRM_FUNC_BUF_RGTR" is undefined
  	HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1983): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1983): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1991): error: incomplete type is not allowed
  	struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
  	                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1994): error: identifier "HWRM_FUNC_BUF_UNRGTR" is undefined
  	HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1998): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(1998): error: pointer to incomplete class type is not allowed
  	HWRM_CHECK_RESULT;
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2006): error: incomplete type is not allowed
  	struct hwrm_func_cfg_input req = {0};
  	                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2009): error: identifier "HWRM_FUNC_CFG" is undefined
  	HWRM_PREP(req, FUNC_CFG, -1, resp);
  	^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c(2012): error: identifier "HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR" is undefined
  	req.enables = rte_cpu_to_le_32(
  	              ^
compilation aborted for /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c (code 4)
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #7:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-clang
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
                        ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: variable has incomplete type 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: note: forward declaration of 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: error: use of undeclared identifier 'HWRM_VNIC_QCFG'
        HWRM_PREP(req, VNIC_QCFG, -1, resp);
        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: note: expanded from macro 'HWRM_PREP'
        req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                        ^
<scratch space>:61:1: note: expanded from here
HWRM_VNIC_QCFG
^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:101:30: note: expanded from macro 'rte_cpu_to_le_16'
#define rte_cpu_to_le_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: use of undeclared identifier 'HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID'
                rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: note: expanded from macro 'HWRM_CHECK_RESULT'
                if (resp->error_code) { \
                    ~~~~^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: note: expanded from macro 'HWRM_CHECK_RESULT'
                        rc = rte_le_to_cpu_16(resp->error_code); \
                                              ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                               ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                         ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->mru = rte_le_to_cpu_16(resp->mru);
                                     ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                        ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                            ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #8:
OS: FreeBSD10.3_64
Target: x86_64-native-bsdapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_vnic_cfg':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_vnic_qcfg':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field 'req_type' specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of 'req' isn't known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_VNIC_QCFG' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro 'HWRM_PREP'
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: 'HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID' undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: dereferencing pointer to incomplete type
  vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                             ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: dereferencing pointer to incomplete type
  vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: dereferencing pointer to incomplete type
  vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: dereferencing pointer to incomplete type
  vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                       ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: dereferencing pointer to incomplete type
  vnic->mru = rte_le_to_cpu_16(resp->mru);
                                   ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: dereferencing pointer to incomplete type
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
        ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro 'rte_le_to_cpu_32'
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT' undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: dereferencing pointer to incomplete type
  vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                          ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro 'rte_le_to_cpu_32'
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: dereferencing pointer to incomplete type
  vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro 'rte_le_to_cpu_32'
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:989:41: error: dereferencing pointer to incomplete type
  vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro 'rte_le_to_cpu_32'
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:991:41: error: dereferencing pointer to incomplete type
  vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro 'rte_le_to_cpu_32'
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:993:43: error: dereferencing pointer to incomplete type
  vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
                                           ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro 'rte_le_to_cpu_32'
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE' undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_func_vf_mac':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of 'req' isn't known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_FUNC_CFG' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro 'HWRM_PREP'
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: 'struct hwrm_func_cfg_input' declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'copy_func_cfg_to_qcaps':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1682:33: error: dereferencing pointer to incomplete type
  memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1684:27: error: dereferencing pointer to incomplete type
  qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1685:28: error: dereferencing pointer to incomplete type
  qcaps->max_rx_rings = fcfg->num_rx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1686:28: error: dereferencing pointer to incomplete type
  qcaps->max_tx_rings = fcfg->num_tx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1687:30: error: dereferencing pointer to incomplete type
  qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1688:28: error: dereferencing pointer to incomplete type
  qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1691:25: error: dereferencing pointer to incomplete type
  qcaps->max_vnics = fcfg->num_vnics;
                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1699:33: error: dereferencing pointer to incomplete type
  qcaps->max_mcast_filters = fcfg->num_mcast_filters;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1701:32: error: dereferencing pointer to incomplete type
  qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_pf_func_cfg':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of 'req' isn't known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_MTU' undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_MRU' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_FUNC_CFG' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro 'HWRM_PREP'
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: 'struct hwrm_func_cfg_input' declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'populate_vf_func_cfg_req':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_MTU' undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_MRU' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1758:5: error: dereferencing pointer to incomplete type
  req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1760:5: error: dereferencing pointer to incomplete type
  req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1762:5: error: dereferencing pointer to incomplete type
  req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1764:5: error: dereferencing pointer to incomplete type
  req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1765:5: error: dereferencing pointer to incomplete type
  req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1767:5: error: dereferencing pointer to incomplete type
  req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1768:5: error: dereferencing pointer to incomplete type
  req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1769:5: error: dereferencing pointer to incomplete type
  req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1771:5: error: dereferencing pointer to incomplete type
  req->num_vnics = rte_cpu_to_le_16(1);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1772:5: error: dereferencing pointer to incomplete type
  req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: 'struct hwrm_func_cfg_input' declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'reserve_resources_from_vf':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:3: error: passing argument 1 of 'copy_func_cfg_to_qcaps' from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected 'struct hwrm_func_cfg_input *' but argument is of type 'struct hwrm_func_cfg_input *'
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:3: error: passing argument 1 of 'copy_func_cfg_to_qcaps' from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected 'struct hwrm_func_cfg_input *' but argument is of type 'struct hwrm_func_cfg_input *'
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_allocate_pf_only':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: 'HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE' undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: 'HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE' undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_allocate_vfs':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of 'req' isn't known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: 'HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE' undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: 'HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE' undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_FUNC_CFG' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro 'HWRM_PREP'
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR' undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type
   if (rc || resp->error_code) {
                 ^
In file included from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_debug.h:46:0,
                 from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/generic/rte_cycles.h:74,
                 from /home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_cycles.h:71,
                 from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:38:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1931:13: error: dereferencing pointer to incomplete type
     rc, resp->error_code);
             ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_log.h:334:32: note: in definition of macro 'RTE_LOG'
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_func_buf_rgtr':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field 'req_type' specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of 'req' isn't known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_FUNC_BUF_RGTR' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro 'HWRM_PREP'
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_func_buf_unrgtr':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field 'req_type' specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of 'req' isn't known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_FUNC_BUF_UNRGTR' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro 'HWRM_PREP'
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_func_cfg_def_cp':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of 'req' isn't known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_FUNC_CFG' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro 'HWRM_PREP'
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: 'HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR' undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro 'rte_cpu_to_le_32'
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function 'bnxt_hwrm_reject_fwd_resp':
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable 'req' has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field 'req_type' specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: (near initialization for 'req') [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of 'req' isn't known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: 'HWRM_REJECT_FWD_RESP' undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro 'rte_cpu_to_le_16'
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro 'HWRM_PREP'
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-bsdapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro 'rte_le_to_cpu_16'
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro 'HWRM_CHECK_RESULT'
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable 'req' [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #9:
OS: CentOS7_64
Target: i686-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: dereferencing pointer to incomplete type
  vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                             ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: dereferencing pointer to incomplete type
  vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: dereferencing pointer to incomplete type
  vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: dereferencing pointer to incomplete type
  vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                       ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: dereferencing pointer to incomplete type
  vnic->mru = rte_le_to_cpu_16(resp->mru);
                                   ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: dereferencing pointer to incomplete type
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: dereferencing pointer to incomplete type
  vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                          ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: dereferencing pointer to incomplete type
  vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                        ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:989:41: error: dereferencing pointer to incomplete type
  vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:991:41: error: dereferencing pointer to incomplete type
  vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:993:43: error: dereferencing pointer to incomplete type
  vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
                                           ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1682:33: error: dereferencing pointer to incomplete type
  memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1684:27: error: dereferencing pointer to incomplete type
  qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1685:28: error: dereferencing pointer to incomplete type
  qcaps->max_rx_rings = fcfg->num_rx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1686:28: error: dereferencing pointer to incomplete type
  qcaps->max_tx_rings = fcfg->num_tx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1687:30: error: dereferencing pointer to incomplete type
  qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1688:28: error: dereferencing pointer to incomplete type
  qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1691:25: error: dereferencing pointer to incomplete type
  qcaps->max_vnics = fcfg->num_vnics;
                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1699:33: error: dereferencing pointer to incomplete type
  qcaps->max_mcast_filters = fcfg->num_mcast_filters;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1701:32: error: dereferencing pointer to incomplete type
  qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1758:5: error: dereferencing pointer to incomplete type
  req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1760:5: error: dereferencing pointer to incomplete type
  req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1762:5: error: dereferencing pointer to incomplete type
  req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1764:5: error: dereferencing pointer to incomplete type
  req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1765:5: error: dereferencing pointer to incomplete type
  req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1767:5: error: dereferencing pointer to incomplete type
  req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1768:5: error: dereferencing pointer to incomplete type
  req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1769:5: error: dereferencing pointer to incomplete type
  req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1771:5: error: dereferencing pointer to incomplete type
  req->num_vnics = rte_cpu_to_le_16(1);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1772:5: error: dereferencing pointer to incomplete type
  req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type
   if (rc || resp->error_code) {
                 ^
In file included from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_debug.h:46:0,
                 from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/generic/rte_cycles.h:74,
                 from /home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_cycles.h:71,
                 from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:38:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1931:13: error: dereferencing pointer to incomplete type
     rc, resp->error_code);
             ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors


Failed Build #10:
OS: CentOS7_64
Target: x86_64-native-linuxapp-clang
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: variable has incomplete type 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: note: forward declaration of 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: error: use of undeclared identifier 'HWRM_VNIC_QCFG'
        HWRM_PREP(req, VNIC_QCFG, -1, resp);
        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: note: expanded from macro 'HWRM_PREP'
        req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                        ^
<scratch space>:20:1: note: expanded from here
HWRM_VNIC_QCFG
^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:101:30: note: expanded from macro 'rte_cpu_to_le_16'
#define rte_cpu_to_le_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: use of undeclared identifier 'HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID'
                rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:102:30: note: expanded from macro 'rte_cpu_to_le_32'
#define rte_cpu_to_le_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: note: expanded from macro 'HWRM_CHECK_RESULT'
                if (resp->error_code) { \
                    ~~~~^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: note: expanded from macro 'HWRM_CHECK_RESULT'
                        rc = rte_le_to_cpu_16(resp->error_code); \
                                              ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                               ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                         ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->mru = rte_le_to_cpu_16(resp->mru);
                                     ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                        ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                            ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.


Failed Build #11:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: dereferencing pointer to incomplete type
  vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: dereferencing pointer to incomplete type
  vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: dereferencing pointer to incomplete type
  vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: dereferencing pointer to incomplete type
  vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                       ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: dereferencing pointer to incomplete type
  vnic->mru = rte_le_to_cpu_16(resp->mru);
                                   ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: dereferencing pointer to incomplete type
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: dereferencing pointer to incomplete type
  vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                          ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: dereferencing pointer to incomplete type
  vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:989:41: error: dereferencing pointer to incomplete type
  vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:991:41: error: dereferencing pointer to incomplete type
  vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:993:43: error: dereferencing pointer to incomplete type
  vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
                                           ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1682:33: error: dereferencing pointer to incomplete type
  memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1684:27: error: dereferencing pointer to incomplete type
  qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1685:28: error: dereferencing pointer to incomplete type
  qcaps->max_rx_rings = fcfg->num_rx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1686:28: error: dereferencing pointer to incomplete type
  qcaps->max_tx_rings = fcfg->num_tx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1687:30: error: dereferencing pointer to incomplete type
  qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1688:28: error: dereferencing pointer to incomplete type
  qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1691:25: error: dereferencing pointer to incomplete type
  qcaps->max_vnics = fcfg->num_vnics;
                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1699:33: error: dereferencing pointer to incomplete type
  qcaps->max_mcast_filters = fcfg->num_mcast_filters;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1701:32: error: dereferencing pointer to incomplete type
  qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1758:5: error: dereferencing pointer to incomplete type
  req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1760:5: error: dereferencing pointer to incomplete type
  req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1762:5: error: dereferencing pointer to incomplete type
  req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1764:5: error: dereferencing pointer to incomplete type
  req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1765:5: error: dereferencing pointer to incomplete type
  req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1767:5: error: dereferencing pointer to incomplete type
  req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1768:5: error: dereferencing pointer to incomplete type
  req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1769:5: error: dereferencing pointer to incomplete type
  req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1771:5: error: dereferencing pointer to incomplete type
  req->num_vnics = rte_cpu_to_le_16(1);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1772:5: error: dereferencing pointer to incomplete type
  req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type
   if (rc || resp->error_code) {
                 ^
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_debug.h:46:0,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/generic/rte_cycles.h:74,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cycles.h:71,
                 from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:38:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1931:13: error: dereferencing pointer to incomplete type
     rc, resp->error_code);
             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors


Failed Build #12:
OS: CentOS7_64
Target: x86_64-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: dereferencing pointer to incomplete type
  vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: dereferencing pointer to incomplete type
  vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: dereferencing pointer to incomplete type
  vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: dereferencing pointer to incomplete type
  vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                       ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: dereferencing pointer to incomplete type
  vnic->mru = rte_le_to_cpu_16(resp->mru);
                                   ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: dereferencing pointer to incomplete type
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: dereferencing pointer to incomplete type
  vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                          ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: dereferencing pointer to incomplete type
  vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                        ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:989:41: error: dereferencing pointer to incomplete type
  vnic->roce_dual = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:991:41: error: dereferencing pointer to incomplete type
  vnic->roce_only = rte_le_to_cpu_32(resp->flags) &
                                         ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:993:43: error: dereferencing pointer to incomplete type
  vnic->rss_dflt_cr = rte_le_to_cpu_32(resp->flags) &
                                           ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:110:30: note: in definition of macro ‘rte_le_to_cpu_32’
 #define rte_le_to_cpu_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1682:33: error: dereferencing pointer to incomplete type
  memcpy(qcaps->mac_address, fcfg->dflt_mac_addr,
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1684:27: error: dereferencing pointer to incomplete type
  qcaps->max_l2_ctxs = fcfg->num_l2_ctxs;
                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1685:28: error: dereferencing pointer to incomplete type
  qcaps->max_rx_rings = fcfg->num_rx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1686:28: error: dereferencing pointer to incomplete type
  qcaps->max_tx_rings = fcfg->num_tx_rings;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1687:30: error: dereferencing pointer to incomplete type
  qcaps->max_cmpl_rings = fcfg->num_cmpl_rings;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1688:28: error: dereferencing pointer to incomplete type
  qcaps->max_stat_ctx = fcfg->num_stat_ctxs;
                            ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1691:25: error: dereferencing pointer to incomplete type
  qcaps->max_vnics = fcfg->num_vnics;
                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1699:33: error: dereferencing pointer to incomplete type
  qcaps->max_mcast_filters = fcfg->num_mcast_filters;
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1701:32: error: dereferencing pointer to incomplete type
  qcaps->max_hw_ring_grps = fcfg->num_hw_ring_grps;
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1758:5: error: dereferencing pointer to incomplete type
  req->mtu = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1760:5: error: dereferencing pointer to incomplete type
  req->mru = rte_cpu_to_le_16(bp->eth_dev->data->mtu + ETHER_HDR_LEN +
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1762:5: error: dereferencing pointer to incomplete type
  req->num_rsscos_ctxs = rte_cpu_to_le_16(bp->max_rsscos_ctx /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1764:5: error: dereferencing pointer to incomplete type
  req->num_stat_ctxs = rte_cpu_to_le_16(bp->max_stat_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1765:5: error: dereferencing pointer to incomplete type
  req->num_cmpl_rings = rte_cpu_to_le_16(bp->max_cp_rings /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1767:5: error: dereferencing pointer to incomplete type
  req->num_tx_rings = rte_cpu_to_le_16(bp->max_tx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1768:5: error: dereferencing pointer to incomplete type
  req->num_rx_rings = rte_cpu_to_le_16(bp->max_rx_rings / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1769:5: error: dereferencing pointer to incomplete type
  req->num_l2_ctxs = rte_cpu_to_le_16(bp->max_l2_ctx / (num_vfs + 1));
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1771:5: error: dereferencing pointer to incomplete type
  req->num_vnics = rte_cpu_to_le_16(1);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1772:5: error: dereferencing pointer to incomplete type
  req->num_hw_ring_grps = rte_cpu_to_le_16(bp->max_ring_grps /
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:3: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror]
   copy_func_cfg_to_qcaps(cfg_req, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type
   if (rc || resp->error_code) {
                 ^
In file included from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_debug.h:46:0,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/generic/rte_cycles.h:74,
                 from /home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_cycles.h:71,
                 from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:38:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1931:13: error: dereferencing pointer to incomplete type
     rc, resp->error_code);
             ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_log.h:334:32: note: in definition of macro ‘RTE_LOG’
    RTE_LOGTYPE_ ## t, # t ": " __VA_ARGS__)
                                ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: excess elements in struct initializer [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: (near initialization for ‘req’) [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: error: dereferencing pointer to incomplete type
    rc = rte_le_to_cpu_16(resp->error_code); \
                              ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:109:30: note: in definition of macro ‘rte_le_to_cpu_16’
 #define rte_le_to_cpu_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors


Failed Build #13:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-debug

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:37: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: error: excess elements in struct initializer [-Werror]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_vnic_qcfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:43: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
                                           ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1744:17: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
          struct hwrm_func_cfg_input *req,
                 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1777:18: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct hwrm_func_cfg_input *cfg_req,
                  ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (rc || resp->error_code) {
                 ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:41: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_rgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_unrgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_reject_fwd_resp_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #14:
OS: FC24_64
Target: i686-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:37: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: error: excess elements in struct initializer [-Werror]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_vnic_qcfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:43: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
                                           ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1744:17: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
          struct hwrm_func_cfg_input *req,
                 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1777:18: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct hwrm_func_cfg_input *cfg_req,
                  ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (rc || resp->error_code) {
                 ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:41: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_rgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_unrgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_reject_fwd_resp_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #15:
OS: FC24_64
Target: x86_64-native-linuxapp-clang
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: variable has incomplete type 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: note: forward declaration of 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: error: use of undeclared identifier 'HWRM_VNIC_QCFG'
        HWRM_PREP(req, VNIC_QCFG, -1, resp);
        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: note: expanded from macro 'HWRM_PREP'
        req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                        ^
<scratch space>:22:1: note: expanded from here
HWRM_VNIC_QCFG
^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: use of undeclared identifier 'HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID'
                rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: note: expanded from macro 'HWRM_CHECK_RESULT'
                if (resp->error_code) { \
                    ~~~~^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: note: expanded from macro 'HWRM_CHECK_RESULT'
                        rc = rte_le_to_cpu_16(resp->error_code); \
                                              ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                               ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                         ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->mru = rte_le_to_cpu_16(resp->mru);
                                     ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                        ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                            ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #16:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:37: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: error: excess elements in struct initializer [-Werror]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_vnic_qcfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:43: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
                                           ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1744:17: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
          struct hwrm_func_cfg_input *req,
                 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1777:18: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct hwrm_func_cfg_input *cfg_req,
                  ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (rc || resp->error_code) {
                 ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:41: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_rgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_unrgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_reject_fwd_resp_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #17:
OS: FC24_64
Target: x86_64-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:37: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: error: excess elements in struct initializer [-Werror]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_vnic_qcfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:43: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
                                           ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1744:17: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
          struct hwrm_func_cfg_input *req,
                 ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1777:18: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
           struct hwrm_func_cfg_input *cfg_req,
                  ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (rc || resp->error_code) {
                 ^~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:41: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_rgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_unrgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:43: error: unknown field ‘req_type’ specified in initializer
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_reject_fwd_resp_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^~~
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #18:
OS: UB1604_64
Target: i686-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: error: excess elements in struct initializer [-Werror]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_vnic_qcfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (rc || resp->error_code) {
                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_rgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_unrgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/i686-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_reject_fwd_resp_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #19:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: error: excess elements in struct initializer [-Werror]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_vnic_qcfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (rc || resp->error_code) {
                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_rgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_unrgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_reject_fwd_resp_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #20:
OS: UB1604_64
Target: x86_64-native-linuxapp-gcc-shared

PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.oIn file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: note: each undeclared identifier is reported only once for each function it appears in
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_vnic_qcfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: error: excess elements in struct initializer [-Werror]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:49: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: storage size of ‘req’ isn’t known
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_VNIC_QCFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, VNIC_QCFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: ‘HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID’ undeclared (first use in this function)
   rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_vnic_qcfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT’ undeclared (first use in this function)
    resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:990:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:992:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:994:4: error: ‘HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE’ undeclared (first use in this function)
    HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE;
    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_vf_mac’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1090:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1094:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1097:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1084:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
        struct hwrm_func_qcaps_output *qcaps)
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1679:15: error: its scope is only this definition or declaration, which is probably not what you want [-Werror]
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘copy_func_cfg_to_qcaps’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1681:30: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  qcaps->max_rsscos_ctx = fcfg->num_rsscos_ctxs;
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_pf_func_cfg’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1710:33: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req.enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                 ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1711:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1712:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1713:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1714:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1715:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1716:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1717:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1718:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1719:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1735:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1738:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1706:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1745:10: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
          int num_vfs)
          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘populate_vf_func_cfg_req’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:5: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_input’
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1747:34: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MTU’ undeclared (first use in this function)
  req->enables = rte_cpu_to_le_32(HWRM_FUNC_CFG_INPUT_ENABLES_MTU |
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1748:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_MRU’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_MRU |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1749:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RSSCOS_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1750:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_STAT_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1751:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_CMPL_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1752:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_TX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1753:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_RX_RINGS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1754:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_L2_CTXS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1755:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_VNICS |
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1756:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_NUM_HW_RING_GRPS);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: At top level:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1778:11: error: ‘struct hwrm_func_cfg_input’ declared inside parameter list [-Werror]
           int vf)
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘reserve_resources_from_vf’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1791:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1795:26: error: passing argument 1 of ‘copy_func_cfg_to_qcaps’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   copy_func_cfg_to_qcaps(cfg_req, resp);
                          ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1678:13: note: expected ‘struct hwrm_func_cfg_input *’ but argument is of type ‘struct hwrm_func_cfg_input *’
 static void copy_func_cfg_to_qcaps(struct hwrm_func_cfg_input *fcfg,
             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_pf_only’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1845:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1846:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_allocate_vfs’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1885:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE’ undeclared (first use in this function)
   ~(HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_ENABLE |
     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1886:5: error: ‘HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_FLAGS_STD_TX_RING_MODE_DISABLE);
     ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1917:3: note: in expansion of macro ‘HWRM_PREP’
   HWRM_PREP(req, FUNC_CFG, -1, resp);
   ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1924:5: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR’ undeclared (first use in this function)
     HWRM_FUNC_CFG_INPUT_ENABLES_DFLT_MAC_ADDR);
     ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1926:17: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (rc || resp->error_code) {
                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1855:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_rgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                                     ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:53: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_RGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1967:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_RGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_rgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1983:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1964:34: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_rgtr_input req = {.req_type = 0 };
                                  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_buf_unrgtr’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: storage size of ‘req’ isn’t known
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_BUF_UNRGTR’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1994:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_BUF_UNRGTR, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_buf_unrgtr_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1998:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:1991:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_buf_unrgtr_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_cfg_def_cp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_func_cfg_input req = {0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: error: excess elements in struct initializer [-Werror]
  struct hwrm_func_cfg_input req = {0};
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:36: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: storage size of ‘req’ isn’t known
  struct hwrm_func_cfg_input req = {0};
                             ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_FUNC_CFG’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2009:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, FUNC_CFG, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2013:4: error: ‘HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR’ undeclared (first use in this function)
    HWRM_FUNC_CFG_INPUT_ENABLES_ASYNC_EVENT_CR);
    ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:102:30: note: in definition of macro ‘rte_cpu_to_le_32’
 #define rte_cpu_to_le_32(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_func_cfg_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2017:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2006:29: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_func_cfg_input req = {0};
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_reject_fwd_resp’:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: variable ‘req’ has initializer but incomplete type
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
         ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:9: error: unknown field ‘req_type’ specified in initializer
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: error: excess elements in struct initializer [-Werror]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:55: note: (near initialization for ‘req’)
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: storage size of ‘req’ isn’t known
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
In file included from /home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:36:0:
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: error: ‘HWRM_REJECT_FWD_RESP’ undeclared (first use in this function)
  req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                  ^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-gcc/include/rte_byteorder.h:101:30: note: in definition of macro ‘rte_cpu_to_le_16’
 #define rte_cpu_to_le_16(x) (x)
                              ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2032:2: note: in expansion of macro ‘HWRM_PREP’
  HWRM_PREP(req, REJECT_FWD_RESP, -1, resp);
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: error: dereferencing pointer to incomplete type ‘struct hwrm_reject_fwd_resp_output’
   if (resp->error_code) { \
           ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2039:2: note: in expansion of macro ‘HWRM_CHECK_RESULT’
  HWRM_CHECK_RESULT;
  ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:2026:36: error: unused variable ‘req’ [-Werror=unused-variable]
  struct hwrm_reject_fwd_resp_input req = {.req_type = 0};
                                    ^
cc1: all warnings being treated as errors
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


Failed Build #21:
OS: UB1604_64
Target: x86_64-native-linuxapp-clang
PMDINFO bnxt_ethdev.o.pmd.c  LD bnxt_ethdev.o/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:945:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_DUAL_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:948:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_ROCE_ONLY_VNIC_MODE);
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:951:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_RSS_DFLT_CR_MODE);
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:30: error: variable has incomplete type 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
                                    ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:964:9: note: forward declaration of 'struct hwrm_vnic_qcfg_input'
        struct hwrm_vnic_qcfg_input req = {.req_type = 0 };
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:967:2: error: use of undeclared identifier 'HWRM_VNIC_QCFG'
        HWRM_PREP(req, VNIC_QCFG, -1, resp);
        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:162:34: note: expanded from macro 'HWRM_PREP'
        req.req_type = rte_cpu_to_le_16(HWRM_##type); \
                                        ^
<scratch space>:28:1: note: expanded from here
HWRM_VNIC_QCFG
^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:970:20: error: use of undeclared identifier 'HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID'
                rte_cpu_to_le_32(HWRM_VNIC_QCFG_INPUT_ENABLES_VF_ID_VALID);
                                 ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:175:11: note: expanded from macro 'HWRM_CHECK_RESULT'
                if (resp->error_code) { \
                    ~~~~^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:976:2: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        HWRM_CHECK_RESULT;
        ^~~~~~~~~~~~~~~~~
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:176:30: note: expanded from macro 'HWRM_CHECK_RESULT'
                        rc = rte_le_to_cpu_16(resp->error_code); \
                                              ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:978:45: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->dflt_ring_grp = rte_le_to_cpu_16(resp->dflt_ring_grp);
                                               ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:979:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->rss_rule = rte_le_to_cpu_16(resp->rss_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:980:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->cos_rule = rte_le_to_cpu_16(resp->cos_rule);
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:981:39: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->lb_rule = rte_le_to_cpu_16(resp->lb_rule);
                                         ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:982:35: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->mru = rte_le_to_cpu_16(resp->mru);
                                     ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:109:30: note: expanded from macro 'rte_le_to_cpu_16'
#define rte_le_to_cpu_16(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:8: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                        ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:984:19: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT'
                        resp->flags) & HWRM_VNIC_QCFG_OUTPUT_FLAGS_DEFAULT;
                                       ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:985:42: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->vlan_strip = rte_le_to_cpu_32(resp->flags) &
                                            ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:986:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_VLAN_STRIP_MODE;
                        ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:987:40: error: incomplete definition of type 'struct hwrm_vnic_qcfg_output'
        vnic->bd_stall = rte_le_to_cpu_32(resp->flags) &
                                          ~~~~^
/home/patchWorkOrg/compilation/x86_64-native-linuxapp-clang/include/rte_byteorder.h:110:30: note: expanded from macro 'rte_le_to_cpu_32'
#define rte_le_to_cpu_32(x) (x)
                             ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:965:9: note: forward declaration of 'struct hwrm_vnic_qcfg_output'
        struct hwrm_vnic_qcfg_output *resp = bp->hwrm_cmd_resp_addr;
               ^
/home/patchWorkOrg/compilation/drivers/net/bnxt/bnxt_hwrm.c:988:4: error: use of undeclared identifier 'HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE'
                        HWRM_VNIC_QCFG_OUTPUT_FLAGS_BD_STALL_MODE;
                        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
/home/patchWorkOrg/compilation/mk/internal/rte.compile-pre.mk:138: recipe for target 'bnxt_hwrm.o' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'bnxt' failed
/home/patchWorkOrg/compilation/mk/rte.subdir.mk:63: recipe for target 'net' failed
/home/patchWorkOrg/compilation/mk/rte.sdkbuild.mk:73: recipe for target 'drivers' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:128: recipe for target 'all' failed
/home/patchWorkOrg/compilation/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
/home/patchWorkOrg/compilation/mk/rte.sdkroot.mk:107: recipe for target 'install' failed


DPDK STV team

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-03  9:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-03  9:03 [dpdk-test-report] |FAILURE| pw24987 [PATCH v4 02/26] net/bnxt: code reorg to properly allocate resources for PF/VF sys_stv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).