HomeFreeBSD

Use const keyword when parsing the TCP/IP header in the fast path in mlx5en(4).

Description

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.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS362042: iicbb: rebuild the bit-banging algorithms using different primitives
Branches
Unknown
Tags
Unknown