Maxim Mikityanskiy e5a3cc83d5 net/mlx5e: Use runtime page_shift for striding RQ
This commit allows striding RQ to determine MTT page size at runtime,
instead of sticking to the compile-time PAGE_SIZE. This functionality
will be used by a following commit that adjusts the MTT page size to the
XSK frame size.

Stick with PAGE_SIZE for XSK on legacy RQ, as frag_stride is not used in
data path, it only helps calculate how pages are partitioned into
fragments, and PAGE_SIZE will ensure each fragment starts at the
beginning of a new allocation unit (XSK frame).

Signed-off-by: Maxim Mikityanskiy <maximmi@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-09-30 07:55:45 -07:00
..
2022-08-04 12:12:54 -07:00
2022-08-04 19:30:35 -07:00
2022-08-06 16:38:17 -07:00
2022-09-23 13:18:26 +10:00
2022-08-31 09:54:14 -07:00
2022-08-05 10:07:23 -07:00
2022-09-29 08:22:53 -07:00
2022-08-26 11:05:54 -07:00
2022-08-04 19:41:09 -07:00
2022-08-05 14:13:45 -07:00
2022-09-09 15:03:08 -04:00
2022-08-04 12:12:54 -07:00
2022-09-23 15:28:51 -07:00
2022-09-02 10:35:51 -07:00
2022-08-04 12:12:54 -07:00
2022-09-08 12:56:20 -04:00
2022-08-09 00:56:41 +02:00
2022-09-29 05:40:59 -07:00
2022-09-08 13:13:47 -04:00
2022-09-22 15:43:18 +02:00
2022-09-09 07:44:33 -04:00
2022-09-12 18:33:55 -04:00
2022-08-08 15:04:04 -07:00
2022-09-23 08:31:24 -07:00
2022-08-04 12:01:42 -07:00