]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): make it safe to call setup_memwin repeatedly.
authorNavdeep Parhar <np@FreeBSD.org>
Fri, 19 Mar 2021 19:30:57 +0000 (12:30 -0700)
committerNavdeep Parhar <np@FreeBSD.org>
Fri, 19 Mar 2021 19:37:44 +0000 (12:37 -0700)
commita1d803c162067b6cd334fc8a44a89f26cc82d83b
tree1ea42f076983e3e3d6e4c5b380ce173311052f48
parentee231b27fff9d6950bf36a9800c02f6474b53139
cxgbe(4): make it safe to call setup_memwin repeatedly.

A repeat call will recreate the memory windows in the hardware and move
them to their last-known positions without repeating any of the software
initialization.

MFC after: 1 week
Sponsored by: Chelsio Communications
sys/dev/cxgbe/t4_main.c