Skip to content

Conversation

@ytakano
Copy link
Collaborator

@ytakano ytakano commented Dec 1, 2025

Description

Use ETHER_MAX_LEN for igc's max_frame_size as FreeBSD.

Related links

	 * Set the frame limits assuming
	 * standard ethernet sized frames.
	 */
	scctx->isc_max_frame_size = sc->hw.mac.max_frame_size =
	    ETHERMTU + ETHER_HDR_LEN + ETHERNET_FCS_SIZE;

where ETHERMTU == 1500, ETHER_HDR_LEN == 14, and ETHERNET_FCS_SIZE == 4.

ETHER_MAX_LEN in awkernel is 1518.

How was this PR tested?

Notes for reviewers

Signed-off-by: Yuuki Takano <ytakanoster@gmail.com>
@ytakano ytakano requested a review from Koichi98 December 1, 2025 08:49
@ytakano ytakano marked this pull request as ready for review December 1, 2025 08:49
@Koichi98 Koichi98 merged commit 3b2b692 into tier4:main Dec 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants