Commit f79f56e
bnxt_re: fix assertion in bnxt_re_alloc_page
[ Upstream commit 7113c9e ]
When using libibverbs with a BCM57508 NIC and the bnxt_re driver, an
assertion in _ioctl_next_attr fails. The issue traces back to an
incorrect parameter count passed to DECLARE_COMMAND_BUFFER in
bnxt_re_alloc_page. Set the parameter count to the correct value to
prevent the assertion.
Fixes: 52d0870 ("bnxt_re/lib: Enable low latency push")
Signed-off-by: Thomas Erbesdobler <t.erbesdobler@gmx.de>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Nicolas Morey <nmorey@suse.com>1 parent cba9060 commit f79f56e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| |||
0 commit comments