]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit518075a00bf18b3d7df691b64bdc32ac3b4e51cd
tree32abda3d0bcc775b98363214afc51e2c44350bf7
parentf57412c2d37a5efb1f11a0b2ea38a5b01e758fcb
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