Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145473780
D8876.id23170.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
666 B
Referenced Files
None
Subscribers
None
D8876.id23170.diff
View Options
Index: sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
===================================================================
--- sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
+++ sys/dev/mlx4/mlx4_en/mlx4_en_netdev.c
@@ -1649,6 +1649,9 @@
int i;
int node = 0;
+ /* Re-create stat sysctls in case the number of rings changed. */
+ mlx4_en_sysctl_stat(priv);
+
/* Create rx Rings */
for (i = 0; i < priv->rx_ring_num; i++) {
if (mlx4_en_create_cq(priv, &priv->rx_cq[i],
@@ -1676,8 +1679,6 @@
if (!priv->dev->rx_cpu_rmap)
goto err;
#endif
- /* Re-create stat sysctls in case the number of rings changed. */
- mlx4_en_sysctl_stat(priv);
return 0;
err:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 21, 7:56 AM (17 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28915275
Default Alt Text
D8876.id23170.diff (666 B)
Attached To
Mode
D8876: mlx4_en_free_resources(): fix error handling for priv->stat_ctx
Attached
Detach File
Event Timeline
Log In to Comment