Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108542715
D41558.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
875 B
Referenced Files
None
Subscribers
None
D41558.diff
View Options
diff --git a/sys/dev/bnxt/if_bnxt.c b/sys/dev/bnxt/if_bnxt.c
--- a/sys/dev/bnxt/if_bnxt.c
+++ b/sys/dev/bnxt/if_bnxt.c
@@ -224,6 +224,7 @@
static uint64_t bnxt_get_baudrate(struct bnxt_link_info *link);
static void bnxt_get_wol_settings(struct bnxt_softc *softc);
static int bnxt_wol_config(if_ctx_t ctx);
+static bool bnxt_if_needs_restart(if_ctx_t, enum iflib_restart_event);
/*
* Device Interface Declaration
@@ -288,6 +289,8 @@
DEVMETHOD(ifdi_shutdown, bnxt_shutdown),
DEVMETHOD(ifdi_resume, bnxt_resume),
+ DEVMETHOD(ifdi_needs_restart, bnxt_if_needs_restart),
+
DEVMETHOD_END
};
@@ -2497,6 +2500,16 @@
return 0;
}
+static bool
+bnxt_if_needs_restart(if_ctx_t ctx __unused, enum iflib_restart_event event)
+{
+ switch (event) {
+ case IFLIB_RESTART_VLAN_CONFIG:
+ default:
+ return (false);
+ }
+}
+
static int
bnxt_shutdown(if_ctx_t ctx)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 27, 3:21 AM (54 m, 38 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16186116
Default Alt Text
D41558.diff (875 B)
Attached To
Mode
D41558: iflib: invert default restart on VLAN changes
Attached
Detach File
Event Timeline
Log In to Comment