diff options
| author | Potnuri Bharat Teja <[email protected]> | 2022-08-09 18:41:18 +0000 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2022-08-16 13:20:52 +0000 |
| commit | ef0162298abf46b881e4a4d0c604d1a066228647 (patch) | |
| tree | 142622c19f055f0c436e33d5e570328715daadd9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | RDMA/mlx5: Use the proper number of ports (diff) | |
| download | kernel-ef0162298abf46b881e4a4d0c604d1a066228647.tar.gz kernel-ef0162298abf46b881e4a4d0c604d1a066228647.zip | |
RDMA/cxgb4: fix accept failure due to increased cpl_t5_pass_accept_rpl size
Commit 'c2ed5611afd7' has increased the cpl_t5_pass_accept_rpl{} structure
size by 8B to avoid roundup. cpl_t5_pass_accept_rpl{} is a HW specific
structure and increasing its size will lead to unwanted adapter errors.
Current commit reverts the cpl_t5_pass_accept_rpl{} back to its original
and allocates zeroed skb buffer there by avoiding the memset for iss field.
Reorder code to minimize chip type checks.
Fixes: c2ed5611afd7 ("iw_cxgb4: Use memset_startat() for cpl_t5_pass_accept_rpl")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Potnuri Bharat Teja <[email protected]>
Signed-off-by: Rahul Lakkireddy <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
