i40e: warn on newer/older firmware API rev
authorShannon Nelson <shannon.nelson@intel.com>
Wed, 4 Jun 2014 01:41:03 +0000 (01:41 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 25 Jun 2014 01:18:47 +0000 (18:18 -0700)
commit278b6f629c8221b06850f43c748d0888d5d15a24
tree5672243dd118ad2e459b59fbbec0168ad107fff6
parentdf430b1240d3375d053230d1f943383d59f9267a
i40e: warn on newer/older firmware API rev

If the firmware's API minor number is larger than the one expected, log
a warning and recommend driver SW update.
If the firmware's API major or minor number is smaller then the one expected
(n for major, n or n-1 for minor), log a warning and recommend NVM update.

Change-ID: If0b887e055478f8e435ba7fa28113b63a6f1bb35
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c