Page MenuHomeFreeBSD

D42645.diff
No OneTemporary

D42645.diff

diff --git a/sys/dev/dpaa2/dpaa2_ni.c b/sys/dev/dpaa2/dpaa2_ni.c
--- a/sys/dev/dpaa2/dpaa2_ni.c
+++ b/sys/dev/dpaa2/dpaa2_ni.c
@@ -2556,7 +2556,7 @@
/* Update maximum frame length. */
error = DPAA2_CMD_NI_SET_MFL(dev, child, &cmd,
- mtu + ETHER_HDR_LEN);
+ mtu + ETHER_HDR_LEN + ETHER_VLAN_ENCAP_LEN);
if (error) {
device_printf(dev, "%s: failed to update maximum frame "
"length: error=%d\n", __func__, error);

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 2:50 AM (21 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14709068
Default Alt Text
D42645.diff (446 B)

Event Timeline