bnx2x: Add missing HSI for big-endian machines
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Wed, 17 Feb 2016 11:15:14 +0000 (13:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Feb 2016 04:33:23 +0000 (23:33 -0500)
Commit e5d3a51cefbb ("bnx2x: extend DCBx support") was missing HSI
changes for big-endian machine, breaking compilation on such
platforms.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h

index dd9d6e6100a5690b8d9662ce00ab45bc81a450ac..04523d41b87385c941cebe020368c9341f17a0e3 100644 (file)
@@ -1824,10 +1824,12 @@ struct dcbx_app_priority_entry {
        u8  pri_bitmap;
        u8  appBitfield;
        #define DCBX_APP_ENTRY_VALID         0x01
-       #define DCBX_APP_ENTRY_SF_MASK       0x30
+       #define DCBX_APP_ENTRY_SF_MASK       0xF0
        #define DCBX_APP_ENTRY_SF_SHIFT      4
        #define DCBX_APP_SF_ETH_TYPE         0x10
        #define DCBX_APP_SF_PORT             0x20
+       #define DCBX_APP_SF_UDP              0x40
+       #define DCBX_APP_SF_DEFAULT          0x80
 #elif defined(__LITTLE_ENDIAN)
        u8 appBitfield;
        #define DCBX_APP_ENTRY_VALID         0x01