]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i40evf: tweak Tx rate params and de-magic-ify
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 9 Apr 2014 05:58:57 +0000 (05:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 May 2014 09:37:38 +0000 (02:37 -0700)
commit84590fd90ee423fb815abc8301d277f0b693b2f6
tree5d293e66cb0a77aba38cc845dc2351e9248dce87
parentdac9b31a18d2cd50625fd1fe3a4704dbc6d25457
i40evf: tweak Tx rate params and de-magic-ify

In order for the VF to achieve its programmed Tx rate, we need to set
the max credits value to 4. While we're at it, get rid of some magic
numbers.

Change-ID: I4f17b4d3a90f1e069bdd134a543f0aa22feac3a9
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c