>> + u32 in[MLX5_ST_SZ_DW(ppcnt_reg)] = {0}; > How big is that? > > Allocating large on-stack buffers is even worse. Both PPCNT and MPCNT registers are 252 bytes. I don't see a problem allocating them on the stack.
- [pull request][net-next 00/15] Mellanox mlx5 updates and cl... Saeed Mahameed
- [net-next 14/15] net/mlx5: Expose command polling inte... Saeed Mahameed
- [net-next 05/15] net/mlx5: Align to match opening pare... Saeed Mahameed
- [net-next 07/15] net/mlx5: Undo LAG upon request to cr... Saeed Mahameed
- [net-next 02/15] net/mlx5: Fix some spelling mistakes Saeed Mahameed
- [net-next 12/15] net/mlx5e: Move and optimize query ou... Saeed Mahameed
- [net-next 13/15] net/mlx5e: Optimize update stats work Saeed Mahameed
- [net-next 04/15] net/mlx5: Avoid blank lines before/af... Saeed Mahameed
- [net-next 11/15] net/mlx5e: Reduce number of heap allo... Saeed Mahameed
- RE: [net-next 11/15] net/mlx5e: Reduce number of h... David Laight
- Re: [net-next 11/15] net/mlx5e: Reduce number ... Gal Pressman
- [net-next 01/15] net/mlx5: Update eqe_type_str() event... Saeed Mahameed
- Re: [net-next 01/15] net/mlx5: Update eqe_type_str... Joe Perches
- Re: [net-next 01/15] net/mlx5: Update eqe_type... Saeed Mahameed
- [net-next 08/15] net/mlx5e: Use function to map aRFS i... Saeed Mahameed
- [net-next 15/15] net/mlx5: Add fast unload support in ... Saeed Mahameed
- [net-next 06/15] net/mlx5: Avoid space after casting Saeed Mahameed
- [net-next 10/15] net/mlx5e: Rename physical symbol err... Saeed Mahameed
- [net-next 09/15] net/mlx5e: Fix typo in warning if CQ ... Saeed Mahameed
- [net-next 03/15] net/mlx5: Avoid using multiple blank ... Saeed Mahameed
- Re: [pull request][net-next 00/15] Mellanox mlx5 updat... David Miller