qed: Fix shared memory inconsistency between driver and the MFW.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Fri, 1 Jun 2018 01:47:36 +0000 (18:47 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Jun 2018 14:10:46 +0000 (10:10 -0400)
The structure shared between driver and management firmware (MFW)
differ in sizes. The additional field defined by the MFW is not
relevant to the current driver. Add a dummy field to the structure.

Fixes: cac6f691 ("qed: Add support for Unified Fabric Port")
Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_hsi.h

index 8e1e6e1eb40eb054786504e2df063f37af58ba34..beba9308011b5b72d2d1f4cd44a8db1773a789fc 100644 (file)
@@ -11996,6 +11996,7 @@ struct public_port {
 #define EEE_REMOTE_TW_RX_MASK   0xffff0000
 #define EEE_REMOTE_TW_RX_OFFSET 16
 
+       u32 reserved1;
        u32 oem_cfg_port;
 #define OEM_CFG_CHANNEL_TYPE_MASK                       0x00000003
 #define OEM_CFG_CHANNEL_TYPE_OFFSET                     0