lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 17 Jan 2018 12:53:45 +0530
From:   Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, ganeshgr@...lsio.com, nirranjan@...lsio.com,
        indranil@...lsio.com,
        Rahul Lakkireddy <rahul.lakkireddy@...lsio.com>
Subject: [PATCH net-next 0/2] cxgb4: reduce memory footprint for collecting firmware dump

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ