igb: Free tx mbufs proactively.
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 28 Oct 2017 19:01:14 +0000 (03:01 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 28 Oct 2017 23:26:16 +0000 (07:26 +0800)
commit620b9679515f9db3801f83d855667df59c49a669
tree8e41316339cbc06e4cad76d0af599f1ad0d9ac73
parentbf3f67a7c2acae2b8e097b00c9e13bc4241dfebb
igb: Free tx mbufs proactively.

For 82575, which is earliest product of this product line, the RS
bit is set on every packet's last TX desc by default, since in the
'head write back' mode, the content of TDH register does not move,
if the content of the 'header', which is memory based, does not
move.  It is still allowed to reduce the density of RS TX descs,
which will be useful for workloads w/o using sendfile.

This is preparation for the dillon's upcoming sendfile patch.
sys/dev/netif/igb/if_igb.c
sys/dev/netif/igb/if_igb.h