android_kernel_xiaomi_sm8350/drivers/net/benet
Sathya Perla 26d92f9276 be2net: fix bug in rx page posting
Pages are posted to the rxq in such a way that more than one frag
can share the page. The last frag that uses the page unmaps the
page.  In the case when a page is not fully used (due to lack of space in rxq)
the last frag that uses the page is not being set as a "last_page_user";
instead, the next frag in the rxq is incorrectly being set.

The fix has also been tested on ppc64 with 64k pages...

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-21 22:52:08 -08:00
..
be_cmds.c be2net: Bug fix to config NIC appropriately before loopback test 2009-12-23 20:58:14 -08:00
be_cmds.h be2net: Bug fix to config NIC appropriately before loopback test 2009-12-23 20:58:14 -08:00
be_ethtool.c be2net: Bug fix to return correct values in ethtool get_settings. 2009-12-23 20:58:14 -08:00
be_hw.h be2net: Support for WoL using magic packet after suspend. 2009-12-03 12:39:21 -08:00
be_main.c be2net: fix bug in rx page posting 2010-01-21 22:52:08 -08:00
be.h be2net: Bug fix to return correct values in ethtool get_settings. 2009-12-23 20:58:14 -08:00
Kconfig
Makefile