Page MenuHomeFreeBSD

D53436.id165319.diff
No OneTemporary

D53436.id165319.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
@@ -627,6 +627,12 @@
__func__, error);
goto close_ni;
}
+ error = dpaa2_ni_setup_if_caps(sc);
+ if (error) {
+ device_printf(dev, "%s: failed to setup interface capabilities: "
+ "error=%d\n", __func__, error);
+ goto close_ni;
+ }
ether_ifattach(sc->ifp, sc->mac.addr);
callout_init(&sc->mii_callout, 0);
@@ -1627,6 +1633,13 @@
goto close_ni;
}
+ if (bootverbose) {
+ device_printf(dev, "%s: L3/L4 checksum validation %s\n",
+ __func__, en_rxcsum ? "enabled" : "disabled");
+ device_printf(dev, "%s: L3/L4 checksum generation %s\n",
+ __func__, en_txcsum ? "enabled" : "disabled");
+ }
+
(void)DPAA2_CMD_NI_CLOSE(dev, child, &cmd);
(void)DPAA2_CMD_RC_CLOSE(dev, child, DPAA2_CMD_TK(&cmd, rc_token));
return (0);

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 16, 2:15 PM (11 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35142578
Default Alt Text
D53436.id165319.diff (891 B)

Event Timeline