virtchnl: finish conversion to virtchnl interface
This patch implements the complete version of the virtchnl.h file with final renames, and fixes the related code in i40e and i40evf. It also expands comments, and adds details on the usage of certain fields. In addition, due to the changes a couple of casts are needed to prevent errors found by sparse after renaming some fields. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:

committed by
Jeff Kirsher

parent
f0adc6e831
commit
ff3f4cc267
@@ -263,7 +263,7 @@ struct i40evf_adapter {
|
||||
struct work_struct watchdog_task;
|
||||
bool netdev_registered;
|
||||
bool link_up;
|
||||
enum i40e_aq_link_speed link_speed;
|
||||
enum virtchnl_link_speed link_speed;
|
||||
enum virtchnl_ops current_op;
|
||||
#define CLIENT_ALLOWED(_a) ((_a)->vf_res ? \
|
||||
(_a)->vf_res->vf_offload_flags & \
|
||||
|
Reference in New Issue
Block a user