i40e: Prevent setting link speed on I40E_DEV_ID_25G_B
authorPatryk Małek <patryk.malek@intel.com>
Mon, 19 Mar 2018 16:28:04 +0000 (09:28 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Mar 2018 16:55:00 +0000 (09:55 -0700)
commit3f8c8437277c51fbd7af175240112f831c590845
tree32abda3d0bcc775b98363214afc51e2c44350bf7
parent85925cd0b84eb16cf2dfd730758c3266a243569c
i40e: Prevent setting link speed on I40E_DEV_ID_25G_B

Setting link settings on backplane devices shouldn't be allowed.
This patch adds one more device id to the list which we check
that against.

Signed-off-by: Patryk Małek <patryk.malek@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c