]> git.baikalelectronics.ru Git - kernel.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)
commit885e24682e2f4c5bbc7b2ab5fbd3592ed5cd58c2
tree5d293e66cb0a77aba38cc845dc2351e9248dce87
parent8f6724ee59ee72db9ac88dbfdc0b156c43563f98
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