Skip to content

cxgb4: use request_firmware_nowait()

Luis R. Rodriguez lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cxgb4: make ethtool set_flash use request_firmware_nowait()drivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c+36 -70 replies
2/3cxgb4: make configuration load use request_firmware_nowait()drivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c+73 -440 replies
3/3cxgb4: make device firmware load use request_firmware_nowait()drivers/net/ethernet/chelsio/cxgb4/cxgb4.h drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c+67 -440 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFT 0/3] cxgb4: use request_firmware_nowait()

From: "Luis R. Rodriguez" <[email protected]>

Its reported that loading the cxgb4 can take over 1 minute, use the more sane request_firmware_nowait() API call just in case this amount of time is causing issues. The driver uses the firmware API 3 times, one for the firmware, one for configuration and another one for flash, this provides the port for all cases.

I don't have the hardware so please test. I did verify we can use this during pci probe and also during the ethtool flash callback.

Luis R. Rodriguez (3):
cxgb4: make ethtool set_flash use request_firmware_nowait()
cxgb4: make configuration load use request_firmware_nowait()
cxgb4: make device firmware load use request_firmware_nowait()

 drivers/net/ethernet/chelsio/cxgb4/cxgb4.h      |  13 ++
 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 258 +++++++++++++++---------
 2 files changed, 176 insertions(+), 95 deletions(-)
Signature · 1 line
2.0.0