aboutsummaryrefslogtreecommitdiff
path: root/cddl
diff options
context:
space:
mode:
authorNavdeep Parhar <np@FreeBSD.org>2020-12-03 08:30:29 +0000
committerNavdeep Parhar <np@FreeBSD.org>2020-12-03 08:30:29 +0000
commit8eba75ed68854188c01a2058fe1f826b3428dbfa (patch)
treeea7f022ad05fd9c732e1b099af981a7a1824568f /cddl
parentfeb01b72ef9ba4b8bfc25995aedbbdfb5a291d9c (diff)
downloadsrc-8eba75ed68854188c01a2058fe1f826b3428dbfa.tar.gz
src-8eba75ed68854188c01a2058fe1f826b3428dbfa.zip
cxgbe(4): Stop but don't free netmap queues when netmap is switched off.
It is common for freelists to be starving when a netmap application stops. Mailbox commands to free queues can hang in such a situation. Avoid that by not freeing the queues when netmap is switched off. Instead, use an alternate method to stop the queues without releasing the context ids. If netmap is enabled again later then the same queue is reinitialized for use. Move alloc_nm_rxq and txq to t4_netmap.c while here. MFC after: 1 week Sponsored by: Chelsio Communications
Notes
Notes: svn path=/head/; revision=368296
Diffstat (limited to 'cddl')
0 files changed, 0 insertions, 0 deletions