]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbevf: add spinlocks for MTU change calls
authorEmil Tantilov <emil.s.tantilov@intel.com>
Mon, 29 Aug 2016 23:39:28 +0000 (16:39 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Sat, 25 Feb 2017 05:48:02 +0000 (21:48 -0800)
commit0216a46b10ad74054773087341f4ef9b56b730d2
tree1a1083e0bbbd6cdc07f582ba9d87ccd0b079f344
parent83d6d9e68528b11b4dc7020c093f64dcf4d670ed
ixgbevf: add spinlocks for MTU change calls

Orabug: 24568240

Protect set_rlpml with mailbox lock to make sure the MTU configuration
is handled properly.

This change resolves an issue where set_rlpml can fail when the VF
interface is brought up:
ixgbevf 0000:03:1d.6: Failed to set MTU at 1500

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 14b22cd9827ad6765a00ca0b267c3cb0353d9c10)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c