]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r362043:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2020 10:17:36 +0000 (10:17 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 18 Jun 2020 10:17:36 +0000 (10:17 +0000)
commitf85003dc3f42365220568cfca15abff2266590bd
treedf3fbfaadfc365afa6407d57b022b455fbf829a2
parenta6a7aaf61a9f8b6f369044cd197023b4b8f24bb9
MFC r362043:
Use const keyword when parsing the TCP/IP header in the fast path in mlx5en(4).

When parsing the TCP/IP header in the fast path, make it clear by using
the const keyword, no fields are to be modified inside the transmitted
packet.

No functional change.

Sponsored by: Mellanox Technologies

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