netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] cxgb4: reduce memory footprint for collecting firmware dump
@ 2018-01-17  7:23 Rahul Lakkireddy
  2018-01-17  7:23 ` [PATCH net-next 1/2] cxgb4: update dump collection logic to use compression Rahul Lakkireddy
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rahul Lakkireddy @ 2018-01-17  7:23 UTC (permalink / raw)
  To: netdev; +Cc: davem, ganeshgr, nirranjan, indranil, Rahul Lakkireddy

Firmware dump can be large (upto 2 GB).  In low memory conditions,
ethtool fails to allocate such large memory.  So, use zlib deflate
to compress collected firmware dump.

Patch 1 updates collection logic to use compression.

Patch 2 adds zlib deflate to compress collected firmware dump.

Thanks,
Rahul

Rahul Lakkireddy (2):
  cxgb4: update dump collection logic to use compression
  cxgb4: use zlib deflate to compress firmware dump

 drivers/net/ethernet/chelsio/cxgb4/Makefile        |   1 +
 drivers/net/ethernet/chelsio/cxgb4/cudbg_common.c  |  24 +-
 drivers/net/ethernet/chelsio/cxgb4/cudbg_if.h      |   4 +
 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c     | 280 +++++++++++----------
 .../net/ethernet/chelsio/cxgb4/cudbg_lib_common.h  |   8 +-
 drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c    |  81 ++++++
 drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.h    |  56 +++++
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.c   |  65 ++++-
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_cudbg.h   |   3 +
 9 files changed, 374 insertions(+), 148 deletions(-)
 create mode 100644 drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.c
 create mode 100644 drivers/net/ethernet/chelsio/cxgb4/cudbg_zlib.h

-- 
2.14.1

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

end of thread, other threads:[~2018-01-19 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-17  7:23 [PATCH net-next 0/2] cxgb4: reduce memory footprint for collecting firmware dump Rahul Lakkireddy
2018-01-17  7:23 ` [PATCH net-next 1/2] cxgb4: update dump collection logic to use compression Rahul Lakkireddy
2018-01-17  7:23 ` [PATCH net-next 2/2] cxgb4: use zlib deflate to compress firmware dump Rahul Lakkireddy
2018-01-19 19:56 ` [PATCH net-next 0/2] cxgb4: reduce memory footprint for collecting " David Miller

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).