i40e: Refactor VF BW rate limiting
authorAmritha Nambiar <amritha.nambiar@intel.com>
Thu, 7 Sep 2017 11:00:27 +0000 (04:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 Oct 2017 21:07:32 +0000 (14:07 -0700)
commit5ecae4120a6b50fb8a31d2f335eab390bcf5ad66
treeb98e8e740c459997b4b4ea048fd767254cd98b68
parenta9ce82f744dc401ec27c787e2eacf3bbb33565ec
i40e: Refactor VF BW rate limiting

This patch refactors the BW rate limiting for Tx traffic
on the VF to be reused in the next patch for rate limiting Tx
traffic for the VSIs on the PF as well.

Signed-off-by: Amritha Nambiar <amritha.nambiar@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c