netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] forcedeth: recv cache support
@ 2019-07-05  6:19 Zhu Yanjun
  2019-07-05  6:19 ` [PATCH 1/2] forcedeth: add recv cache make nic work steadily Zhu Yanjun
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Zhu Yanjun @ 2019-07-05  6:19 UTC (permalink / raw)
  To: yanjun.zhu, netdev, davem

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-07-09  8:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-05  6:19 [PATCH 0/2] forcedeth: recv cache support Zhu Yanjun
2019-07-05  6:19 ` [PATCH 1/2] forcedeth: add recv cache make nic work steadily Zhu Yanjun
2019-07-06  4:14   ` Zhu Yanjun
2019-07-08 20:52   ` Jakub Kicinski
2019-07-09  7:38     ` Yanjun Zhu
2019-07-05  6:19 ` [PATCH 2/2] forcedeth: disable recv cache by default Zhu Yanjun
2019-07-08 22:23 ` [PATCH 0/2] forcedeth: recv cache support David Miller
2019-07-09  8:28   ` Yanjun Zhu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).