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)
Tue, Dec 10, 2:18 AM
Unknown Object (File)
Wed, Dec 4, 10:08 AM
Unknown Object (File)
Wed, Dec 4, 10:08 AM
Unknown Object (File)
Wed, Dec 4, 10:08 AM
Unknown Object (File)
Wed, Dec 4, 9:47 AM
Unknown Object (File)
Nov 5 2024, 12:14 PM
Unknown Object (File)
Oct 12 2024, 11:38 PM
Unknown Object (File)
Sep 26 2024, 2:45 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.