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
Sun, Apr 5, 9:12 AM (15 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30867129
Default Alt Text
D42645.diff (446 B)

Event Timeline