diff options
| author | msaitoh <msaitoh@NetBSD.org> | 2021-07-07 08:58:19 +0000 |
|---|---|---|
| committer | msaitoh <msaitoh@NetBSD.org> | 2021-07-07 08:58:19 +0000 |
| commit | b6b5e90cb8de0d7e820a4e37368f9cc3e4dd54b0 (patch) | |
| tree | 108bf863d738601d4abb2a66366ad6b85b63a8fb /sbin/dump | |
| parent | d7c9e19c460b9687491ade881624bfeaa4af0bb1 (diff) | |
Add new sysctl "rx_copy_len".
ixgbe_rxeof() has an optimization "RX_COPY" to reduce costs of
bus_dmamap_load_mbuf() and bus_dmamap_unload() by copying a mbuf cluster's
memory to a newly allocated mbuf's MH_databuf[] and recycle the original map.
The optimization is used when a length of a packet is smaller than a specific
value. The value is calculated based on MHLEN. The size of MHLEN is
architecture specific. It's 256 or 512. Make the threshold controllable by
adding a new sysctl.
Diffstat (limited to 'sbin/dump')
0 files changed, 0 insertions, 0 deletions
