diff options
| author | Andrew Gallatin <gallatin@FreeBSD.org> | 2026-04-05 19:58:10 +0000 |
|---|---|---|
| committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2026-04-05 21:04:38 +0000 |
| commit | cf1f21572897ffc85789fbb1792603967297f6fc (patch) | |
| tree | eb3ca04974e61a7bd7a3d5dfac397c89fb3e442a /utils/gn/secondary | |
| parent | c84049c0bef5be3a59159e9a9ae88e22caff429b (diff) | |
This commit adds page & bank fields to ifi2creq in preparation
for adding CMIS support for 400g optics to ifconfig.
The new ioctl SIOCGI2CPB is added, so that drivers can distinguish
between callers asking for page/bank selection and legacy callers
that simply failed to zero out all ifi2creq fields.
The mlx5en(4) driver and iflib(4) driver frameork have been updated
to use this new SIOCGI2CPB ioctl and support page/bank operations.
A follow-on patchset will add support to ifconfig for reporting
data from CMIS optics.
This has been tested on Nvidia ConnectX-7 and Broadcom Thor2 (using
out of tree driver) based NICs.
Differential Revision: https://reviews.freebsd.org/D55912
Sponsored by: Netflix Inc.
Reviewed by: kib
Diffstat (limited to 'utils/gn/secondary')
0 files changed, 0 insertions, 0 deletions
