i40e: Use the new i40e_get_fd_cnt_all function in other places
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Wed, 9 Apr 2014 05:59:01 +0000 (05:59 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 29 May 2014 10:58:45 +0000 (03:58 -0700)
commit89132783016ae770a5e1f1cc7660dc312e386a85
tree9cbc35123b69072e77d25cf8415e92ea397f0757
parent082def103dd18350eb9a5c911465666606485404
i40e: Use the new i40e_get_fd_cnt_all function in other places

We have a function to calculate this, so update the code to use the function.

Change-ID: Ia345b6fe6ec7f0b2dcf1199471b0d0f959ad3908
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_txrx.c