summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp
diff options
context:
space:
mode:
authorcem <cem@FreeBSD.org>2015-11-18 22:20:49 +0000
committercem <cem@FreeBSD.org>2015-11-18 22:20:49 +0000
commit37b150b7e118d61f49eef786979de58d27f31277 (patch)
tree8936f1923b4b4fee3d6618bb7f91d0a085777e69 /contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp
parent48ceeb626ed38b1e39b7c252eae341fad6ee881b (diff)
downloadFreeBSD-src-37b150b7e118d61f49eef786979de58d27f31277.zip
FreeBSD-src-37b150b7e118d61f49eef786979de58d27f31277.tar.gz
if_ntb: Reuse receive buffers correctly
Discard the unused rx_free_q. Instead, reuse inputed packets by putting them back on the *pend* queue after reinitialization. If tx or rx handlers are unavailable, free mbufs rather than leaking them. With this change, if_ntb can receive more than 100 (NTB_QP_DEF_NUM_ENTRIES) packets. Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CodeGenTBAA.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud