commit | b163098ea1eece88a8834952dcbade1f17378731 | [log] [tgz] |
---|---|---|
author | Mitch Williams <mitch.a.williams@intel.com> | Mon Apr 18 11:33:48 2016 -0700 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Thu May 05 23:07:30 2016 -0700 |
tree | ce36096ca3b7063e656974079ad956e0bf402252 | |
parent | bec60fc42b285344b027c87444c7fd6caade0ceb [diff] |
i40evf: Allocate Rx buffers properly Allocate the correct number of RX buffers, and don't fiddle with next_to_use. The common RX code handles all of this. This fixes a memory leak of one page each time the driver is opened. Change-Id: Id06eca353086e084921f047acad28c14745684ee Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>