Page MenuHomeFreeBSD

Increase maximum allowable MTU of the T4/T5 to 9600
ClosedPublic

Authored by jpaetzel on Oct 13 2016, 2:46 AM.
Tags
None
Referenced Files
F93792799: D8237.diff
Thu, Sep 12, 2:33 PM
Unknown Object (File)
Sun, Sep 8, 5:43 AM
Unknown Object (File)
Sat, Sep 7, 9:25 PM
Unknown Object (File)
Sat, Sep 7, 9:36 AM
Unknown Object (File)
Aug 11 2024, 2:56 PM
Unknown Object (File)
Aug 10 2024, 6:48 AM
Unknown Object (File)
Aug 6 2024, 4:38 AM
Unknown Object (File)
Jul 2 2024, 1:28 PM
Subscribers

Details

Summary

The current driverlimits the MTU to 9000. This appears to be a software limitation

as the hardware supports setting an MTU of 9600
Test Plan

A kernel has already been built which allows ifconfig cxl0 mtu 9600, further testing is needed

to ensure traffic of this size actually works.

Diff Detail

Event Timeline

jpaetzel retitled this revision from to Increase maximum allowable MTU of the T4/T5 to 9600.
jpaetzel updated this object.
jpaetzel edited the test plan for this revision. (Show Details)
jpaetzel added a reviewer: np.

You could use MAX_MTU from t4_hw.h instead of CHELSIO_T5_MAXMTU.

Run time testing shows this as working properly with no ill effects.

The patch is adopted from a patch to the stable/10 sources and the include in common/common.h is kind of out of place in HEAD. I'll leave it to np@'s discretion to rejigger as he sees fit.

This revision was automatically updated to reflect the committed changes.