diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2014-11-08 01:39:41 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-11-20 14:21:32 -0800 |
commit | 4b95fe3de7f25402b22cd4d8b20b99cce1979309 (patch) | |
tree | dd2231ae06954ea66b25303248af60d603ff145e /lib/mpi/mpi-cmp.c | |
parent | 0579eefca75304886cfadeec593d159125badfb4 (diff) |
ixgbevf: Update Rx next to clean in real time
Since the next_to_clean value is only accessed by the Rx interrupt handler
we can save on stack space by just storing our updated values back in
next_to_clean instead of using the stack variable i. This should help to
reduce stack space and we can further collapse the size of the function.
Also removed non_eop_descs counter as it was never shown in the stats.
CC: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions