FreeBSD/src de47ad2 (r341979)sys/dev/mlx5/mlx5_en mlx5_en_main.c mlx5_en_tx.c

MFC r341583:
mlx5en: Statically allocate and free the channel structure(s).

By allocating the worst case size channel structure array
at attach time we can eliminate various NULL checks in the
fast path. And also reduce the chance for use-after-free
issues in the transmit fast path.

This change is also a requirement for implementing
backpressure support.

Sponsored by:   Mellanox Technologies
DeltaFile
+45-90sys/dev/mlx5/mlx5_en/mlx5_en_main.c
+6-13sys/dev/mlx5/mlx5_en/mlx5_en_tx.c
+3-2sys/dev/mlx5/mlx5_en/en.h
+1-1sys/dev/mlx5/mlx5_en/mlx5_en_ethtool.c
+55-1064 files

UnifiedSplitRaw