This recv cache is to make NIC work steadily when the system memory is not enough.
>From long time testing, the NIC worked very well when the system memory is not enough. And the NIC performance is better from about 920M to about 940M. Some simple tests are made: ip link set forcedeth_nic down/up modprobe/rmmod forcedeth ip link set mtu 1500 dev forcedeth_nic ethtool -G forcedeth_nic tx 512 rx 1024 And other tests, the NIC with the recv cache can work well. Since the recv cache will reserve 125M memory for NIC, normally this recv cache is disabled by default. Zhu Yanjun (2): forcedeth: add recv cache make nic work steadily forcedeth: disable recv cache by default drivers/net/ethernet/nvidia/Kconfig | 11 +++ drivers/net/ethernet/nvidia/Makefile | 1 + drivers/net/ethernet/nvidia/forcedeth.c | 128 +++++++++++++++++++++++++++++++- 3 files changed, 138 insertions(+), 2 deletions(-) -- 2.7.4