9b0436c3f2
The PF driver sets up a list of firmware commands from the VF driver that
needs to be forwarded to the PF for approval. This list is a 256-bit
bitmap. The code that sets up the bitmap falls apart on big-endian
architecture. __set_bit() does not work because it operates on long types
whereas the firmware interface is defined in u32 types, causing bits in
the wrong 32-bit word to be set.
Fix it by setting the proper bits on an array of u32.
Fixes:
|
||
---|---|---|
.. | ||
bnxt_dcb.c | ||
bnxt_dcb.h | ||
bnxt_ethtool.c | ||
bnxt_ethtool.h | ||
bnxt_fw_hdr.h | ||
bnxt_hsi.h | ||
bnxt_nvm_defs.h | ||
bnxt_sriov.c | ||
bnxt_sriov.h | ||
bnxt_ulp.c | ||
bnxt_ulp.h | ||
bnxt_xdp.c | ||
bnxt_xdp.h | ||
bnxt.c | ||
bnxt.h | ||
Makefile |