mlx4_core: fix buggy parsing of reserved eq cap
Subsystems (3)
PATCH 8/25 mlx4_core: fix buggy parsing of reserved eq cap
--- drivers/net/mlx4/fw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/mlx4/fw.c +1 -1
@@ -243,7 +243,7 @@ int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap)MLX4_GET (field, outbox,QUERY_DEV_CAP_MAX_MPT_OFFSET ); dev_cap->max_mpts =1 << (field &0x3f );MLX4_GET (field, outbox,QUERY_DEV_CAP_RSVD_EQ_OFFSET ); - dev_cap->reserved_eqs =1 << (field &0xf ); + dev_cap->reserved_eqs = field &0xf ;MLX4_GET (field, outbox,QUERY_DEV_CAP_MAX_EQ_OFFSET ); dev_cap->max_eqs =1 << (field &0xf );MLX4_GET (field, outbox,QUERY_DEV_CAP_RSVD_MTT_OFFSET );
Signature · 9 lines
1.6.1.3 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
drivers/net/mlx4/fw.c int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) · line 246
Quoted 3 lines
drivers/net/mlx4/fw.c +1
-1- dev_cap->reserved_eqs =1 << (field &0xf ); + dev_cap->reserved_eqs = field &0xf ;
This patch looks good to apply right now. Is it OK for me to make this "From: Liran Liss <liranl-VPRAkNaXOzVS1MOuV/[email protected]>" and add "Signed-off-by:
Yevgeny Petrilin <yevgenyp-VPRAkNaXOzVS1MOuV/[email protected]>"?
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines
drivers/net/mlx4/fw.c int mlx4_QUERY_DEV_CAP(struct mlx4_dev *dev, struct mlx4_dev_cap *dev_cap) · line 246
Quoted 4 lines
drivers/net/mlx4/fw.c +1
-1- dev_cap->reserved_eqs =1 << (field &0xf ); + dev_cap->reserved_eqs = field &0xf ;This patch looks good to apply right now. Is it OK for me to make this "From: Liran Liss <liranl-VPRAkNaXOzVS1MOuV/[email protected]>" and add "Signed-off-by:
Yevgeny Petrilin <yevgenyp-VPRAkNaXOzVS1MOuV/[email protected]>"?
Yes, but
I am currently working on fixing the patches according to comments received so far,
And thought to resubmit the entire patch set.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines
I am currently working on fixing the patches according to comments received so far,
And thought to resubmit the entire patch set.
That's a good idea, but you can just drop this one and I'll take it independent of SRIOV support (since it really is independent).
- R.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines
That's a good idea, but you can just drop this one and I'll take it
independent of SRIOV support (since it really is independent).
OK
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html