mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 02:35:01 -04:00
The page size specified for RQ, SQ and CQ is always in units of 4KBytes.
Make sure we subtract MLX5_ADAPTER_PAGE_SHIFT, 12, instead of PAGE_SHIFT
which may vary. This fixes support for using the mlx5en driver on systems
having non-4K page size.
Linux commit:
68cdf5d6e91068c98d6091b193dc7a5ab7dcf5eb
Sponsored by: NVIDIA Networking
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| en.h | ||
| en_hw_tls.h | ||
| en_rl.h | ||
| mlx5_en_dim.c | ||
| mlx5_en_ethtool.c | ||
| mlx5_en_flow_table.c | ||
| mlx5_en_hw_tls.c | ||
| mlx5_en_iq.c | ||
| mlx5_en_main.c | ||
| mlx5_en_port_buffer.c | ||
| mlx5_en_rl.c | ||
| mlx5_en_rx.c | ||
| mlx5_en_tx.c | ||
| mlx5_en_txrx.c | ||
| port_buffer.h | ||