bnxt_en: Implement proper firmware message padding.
authorMichael Chan <michael.chan@broadcom.com>
Mon, 28 Mar 2016 23:46:05 +0000 (19:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Mar 2016 23:01:32 +0000 (19:01 -0400)
commite6ef26991a46e20879bebb8298080eb7ceed4ae8
tree1111529d1b6e4cf4d3b619ae2aa0639c11a6ec3a
parent33e52d888d0c84a0c66f13357a53113fd9710bd6
bnxt_en: Implement proper firmware message padding.

The size of every padded firmware message is specified in the first
HWRM_VER_GET response message.  Use this value to pad every message
after that.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h