TWSD-1676 : Intel E810-C SFP NIC missing carrier/WDT/traffic statistics on new CASwell AVX

Review Request #1411 — Created March 3, 2026 and submitted — Latest diff uploaded

stevenku
AVX2
rel_avx_2_7_5_caswell_5070
TWSD-1676
ngurunathan, weikai, wli

The goal of this issue is to correct the interface information return values, so that the Web API obtains correct Type statistics.
Reviewing the show interface command in the AVX CLI, missing fields were found only for the Intel E810-C SFP series NICs .

Missing statistical information:

0 lost carrier, 0 WDT reset
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec

Root cause:
ICE driver does not implement SIOCGHWAVXINFO.

Modify the ice driver file:
1. ice.spec : Increase the Release number by 1, making it 3 to distinguish the version number.
2. src/ice.h : Add struct declarations for avx_info and avx_timer.
3. src/ice_main.c : Implement a 5-minute traffic statistics function ice_update_avx_info() and the SIOCGHW API call interface ice_avx_info_ioctl().

Rebuild ice driver rpm
Execute the make icepack command to generate the new version of the ICE RPM, and update two RPM to the repo server.

AN(config)#show interface

    Loading...