diff options
author | np <np@FreeBSD.org> | 2014-05-06 04:22:06 +0000 |
---|---|---|
committer | np <np@FreeBSD.org> | 2014-05-06 04:22:06 +0000 |
commit | c4599dcf4454fdbbe5a70d7dc29c5ee3efa6a415 (patch) | |
tree | 9e52b5d9ec646c6eaa0cac167c290ab282597f6d /sys/dev/cxgbe/adapter.h | |
parent | 7174ef8bb75f38064cdd7a201205bdcb453dcd9a (diff) | |
download | FreeBSD-src-c4599dcf4454fdbbe5a70d7dc29c5ee3efa6a415.zip FreeBSD-src-c4599dcf4454fdbbe5a70d7dc29c5ee3efa6a415.tar.gz |
MFC r260210 (by adrian@):
Add an option to enable or disable the small RX packet copying that
is done to improve performance of small frames.
When doing RX packing, the RX copying isn't necessarily required.
Diffstat (limited to 'sys/dev/cxgbe/adapter.h')
-rw-r--r-- | sys/dev/cxgbe/adapter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/cxgbe/adapter.h b/sys/dev/cxgbe/adapter.h index b7a9cce..29e139b 100644 --- a/sys/dev/cxgbe/adapter.h +++ b/sys/dev/cxgbe/adapter.h @@ -643,6 +643,8 @@ struct adapter { const char *last_op; const void *last_op_thr; #endif + + int sc_do_rxcopy; }; #define ADAPTER_LOCK(sc) mtx_lock(&(sc)->sc_lock) |