]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r362044:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2020 10:31:21 +0000 (10:31 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2020 10:31:21 +0000 (10:31 +0000)
commitd3c610efb854aacdbbf7923e511ac2a33b2aacf7
tree28fa94402668c71e0d736f0d2f3c2885ae52fa56
parentf85003dc3f42365220568cfca15abff2266590bd
MFC r362044:
Extend use of unlikely() in the fast path, in mlx5en(4).

Typically the TCP/IP headers fit within the first mbuf and should not
trigger any of the error cases. Use unlikely() for these cases.

No functional change.

Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/10@362310 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/mlx5/mlx5_en/mlx5_en_tx.c