]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r355580, r355673, and r357553.
authorNavdeep Parhar <np@FreeBSD.org>
Sat, 14 Mar 2020 01:03:48 +0000 (01:03 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Sat, 14 Mar 2020 01:03:48 +0000 (01:03 +0000)
commit2345e141144c51d70cf59c1ec4b536a462e1199e
treee9bd8ad8499168c7982cbab753f129e0cf87cbc0
parent52723d867e2ad67d7fcc3e3404d5aac85918e9ff
MFC r355580, r355673, and r357553.

r355580:
cxgbe(4): Use TX_PKTS2 work requests in netmap Tx if it's available.

TX_PKTS2 is more efficient within the firmware and this improves netmap
Tx by a few Mpps in some common scenarios.

r355673:
cxgbe(4): Never use hardware checksumming in netmap tx.

r357553:
cxgbe(4): Add a knob to allow netmap tx traffic to be checksummed by
the hardware.

hw.cxgbe.nm_txcsum=1

Sponsored by: Chelsio Communications
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/t4_netmap.c
sys/dev/cxgbe/t4_sge.c