]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit26c1b5a516fb439ddaec0a07cd2911696219718c
tree77f127dd205cb04990b0865f99da515b9037cf32
parent4caf9cf95d0fcaa204e6495abc008b6d00ff8376
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 09baad597443 ("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