]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-control-processor-DMA-support-and-RJ45'
authorDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2019 19:36:01 +0000 (11:36 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Mar 2019 19:36:01 +0000 (11:36 -0800)
commit3652b24285a0d6fa3d41eefdc818bc63c5d87e9a
treee9fd120d9a69ca0fdbda1744f7e315bc1ff3da7e
parentc71fb45c62e2a31570c424dbe18c97d9a629b533
parent7e9ed42b82a6b3e0e50404f39cfad8011f4c1817
Merge branch 'nfp-control-processor-DMA-support-and-RJ45'

Jakub Kicinski says:

====================
nfp: control processor DMA support and RJ45

This series starts with adding support for reporting twisted pair
media type in ethtool.

Remaining patches add support for using DMA with the control/service
processor.  Currently we always copy the command data into card's
memory.  DMA support allows us to have the NSP read the data from
host memory by itself.  Unfortunately, the FW loading and flashing
cannot directly map the buffers for DMA because (a) the firmware
ABI returns const buffers, and (b) the buffers may be vmalloc()ed
in many mysterious/unmappable way.  So just bite the bullet -
allocate new host buffer for the command and copy.

As Dirk explains, the NSP now supports updating all FWs at once
which means the max flashing time grew significantly.  He bumps
the max wait to avoid timeouts.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>