net/ixgbe/base: report VF MTU setting failure
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 08:59:52 +0000 (16:59 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit1784af7c4e4f2416e54a50f34b4d4e65aef325c8
treef922e2571a1b7b62e26e82bdfe96edfed821cc0b
parent1b8dd5d8257204ee9886dc14ffb4b13dee28187d
net/ixgbe/base: report VF MTU setting failure

Propagate return value when trying to set the maximum packet length. A
PF driver could return a NACK for this request, and the VF driver will
need to know this.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_vf.c
drivers/net/ixgbe/base/ixgbe_vf.h