HomeFreeBSD

mlx5en: Fix SIOCSIFCAPNV

Description

mlx5en: Fix SIOCSIFCAPNV

In 4cc5d081d8c23, a change was introduced that manipulated
drv_ioctl_data->reqcap using IFCAP2 bits. This was noticed
when creating a mixed lagg with mce0 and ixl0 caused the
interfaces' txcsum caps to be disabled.

Fixes: 4cc5d081d8c23
Reviewed by: glebius
Sponsored by: Netflix
MFC After: 7 days

(cherry picked from commit 36fdc42c6a4c828d334471438c4f852e4b5a25e2)

Details

Provenance
gallatinAuthored on Fri, Jan 31, 1:07 AM
Parents
rG794283f94b82: thread: Add a missing include of asan.h
Branches
Unknown
Tags
Unknown