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)
Sun, Aug 11, 2:56 PM
Unknown Object (File)
Sat, Aug 10, 6:48 AM
Unknown Object (File)
Tue, Aug 6, 4:38 AM
Unknown Object (File)
Jul 2 2024, 1:28 PM
Unknown Object (File)
Jun 23 2024, 4:49 PM
Unknown Object (File)
May 13 2024, 8:48 AM
Unknown Object (File)
May 13 2024, 8:48 AM
Unknown Object (File)
May 13 2024, 7:51 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.