CHROMIUM: net: qualcomm: Add fix for memory allocation issues

Added ethtool counters for memory allocation failures accounting.
Added support to track number of allocation failures that could
not be fulfilled in the current iteration in the rx descriptor
field and use the info to allocate in the subsequent iteration.

Change-Id: Ie4fd3b6cf25304e5db2c9247a498791e7e9bb4aa
Signed-off-by: Rakesh Nair <ranair@codeaurora.org>
Signed-off-by: Kan Yan <kyan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/535419
Reviewed-by: Grant Grundler <grundler@chromium.org>
(cherry picked from commit 72c050acbc425ef99313d5c2e4c866e25567e569)
Reviewed-on: https://chromium-review.googlesource.com/563828
Reviewed-by: Brian Sheehan <bsheehan@google.com>
3 files changed