OSDN Git Service

ice: Add input handlers for virtual channel handlers
authorAmruth G.P <amruth.gouda.parameshwarappa@intel.com>
Mon, 29 Jul 2019 09:04:54 +0000 (02:04 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Aug 2019 17:29:53 +0000 (10:29 -0700)
commit3f416961b0a5000bf5556de1a53cc3cf87a6e744
tree5e795d3bb14ff05352bc039eeb616fbf33d0d3e8
parent3747f03115c1c7e577e86c7698e061a21f20576c
ice: Add input handlers for virtual channel handlers

Move the assignment to local variables after validation.

Remove unnecessary checks in ice_vc_process_vf_msg() as the respective
functions are now performing the checks.

Signed-off-by: "Amruth G.P" <amruth.gouda.parameshwarappa@intel.com>
Signed-off-by: Nitesh B Venkatesh <nitesh.b.venkatesh@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@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