ice: use virt channel status codes
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 13 Feb 2019 18:51:13 +0000 (10:51 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 26 Mar 2019 20:35:04 +0000 (13:35 -0700)
commitcf6c6e01bf5debe1d144bab6c8c903b926fa8882
tree77f127dd205cb04990b0865f99da515b9037cf32
parent91dab5d53f4d8d05ebe1e4505fabe94021acf50f
ice: use virt channel status codes

When communicating with the AVF driver, we need to use the status codes
from virtchnl.h, not our own ice-specific codes. Without this, when an
error occurs, the VF will report nonsensical results.

NOTE: this depends on changes made to include/linux/avf/virtchnl.h by
commit bb58fd7eeffc ("i40e: Update status codes")

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c