Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mctpd: Set initial route MTU to interface minimum #51

Merged
merged 2 commits into from
Oct 21, 2024

Commits on Aug 31, 2024

  1. tests: Add min_mtu and max_mtu to test Interface

    Initial MTU is set to max_mtu to match the Linux driver.
    These are expected in all interfaces reported by the kernel.
    
    Tests will fail without this once mctpd starts using
    IFLA_MIN_MTU and IFLA_MAX_MTU.
    
    Signed-off-by: Matt Johnston <[email protected]>
    mkj committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    ed7378a View commit details
    Browse the repository at this point in the history
  2. mctpd: Set initial route MTU to interface minimum

    This allows better compatibility with devices that have a low
    initial allowed packet size and require application negotiation
    to increase that packet size.
    
    Previously the MTU was left at 0, so matching the currently
    set MTU of the interface.
    
    Signed-off-by: Matt Johnston <[email protected]>
    mkj committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    7a33524 View commit details
    Browse the repository at this point in the history