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
Unknown Object (File)
Sat, Oct 12, 11:38 PM
Unknown Object (File)
Sep 26 2024, 2:45 AM
Unknown Object (File)
Sep 25 2024, 9:05 AM
Unknown Object (File)
Sep 24 2024, 2:14 PM
Unknown Object (File)
Sep 23 2024, 3:30 AM
Unknown Object (File)
Sep 22 2024, 9:19 AM
Unknown Object (File)
Sep 22 2024, 7:09 AM
Unknown Object (File)
Sep 21 2024, 6:20 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.