iavf: Fix the math for valid length for ADq enable
authorAvinash Dayanand <avinash.dayanand@intel.com>
Tue, 14 May 2019 17:37:03 +0000 (10:37 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Jun 2019 22:39:26 +0000 (15:39 -0700)
commit16e00c25ac36d09c077aa0f296e053538096a48d
tree2d821890970c27e86ef1b3bf51771e69e22fd8bd
parentf0a48fb44138bdb0a7b02082f2fd048903478451
iavf: Fix the math for valid length for ADq enable

There was a calculation error in virtchnl regarding the valid
length which was fixed recently and a corresponding change needs
to go into the code while we enable ADq.

Signed-off-by: Avinash Dayanand <avinash.dayanand@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c