* [PATCH] IB/mlx5: Fix signature rule constants according to FW specifications
@ 2014-01-19 10:37 Sagi Grimberg
2014-01-19 13:07 ` Sagi Grimberg
0 siblings, 1 reply; 2+ messages in thread
From: Sagi Grimberg @ 2014-01-19 10:37 UTC (permalink / raw)
To: nab; +Cc: linux-scsi, target-devel, linux-rdma
Use DIF CRC INC with apptag escape (0x8) and update IP-CSUM entries.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
---
drivers/infiniband/hw/mlx5/qp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c
index 7981620..58c4735 100644
--- a/drivers/infiniband/hw/mlx5/qp.c
+++ b/drivers/infiniband/hw/mlx5/qp.c
@@ -1952,9 +1952,9 @@ static int format_selector(struct ib_sig_attrs *attr,
{
#define FORMAT_DIF_NONE 0
-#define FORMAT_DIF_CRC_INC 4
-#define FORMAT_DIF_CSUM_INC 12
-#define FORMAT_DIF_CRC_NO_INC 13
+#define FORMAT_DIF_CRC_INC 8
+#define FORMAT_DIF_CRC_NO_INC 12
+#define FORMAT_DIF_CSUM_INC 13
#define FORMAT_DIF_CSUM_NO_INC 14
switch (domain->sig.dif.type) {
--
1.7.8.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] IB/mlx5: Fix signature rule constants according to FW specifications
2014-01-19 10:37 [PATCH] IB/mlx5: Fix signature rule constants according to FW specifications Sagi Grimberg
@ 2014-01-19 13:07 ` Sagi Grimberg
0 siblings, 0 replies; 2+ messages in thread
From: Sagi Grimberg @ 2014-01-19 13:07 UTC (permalink / raw)
To: Sagi Grimberg, nab; +Cc: linux-scsi, target-devel, linux-rdma
On 1/19/2014 12:37 PM, Sagi Grimberg wrote:
> Use DIF CRC INC with apptag escape (0x8) and update IP-CSUM entries.
>
> Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
> ---
> drivers/infiniband/hw/mlx5/qp.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/infiniband/hw/mlx5/qp.c b/drivers/infiniband/hw/mlx5/qp.c
> index 7981620..58c4735 100644
> --- a/drivers/infiniband/hw/mlx5/qp.c
> +++ b/drivers/infiniband/hw/mlx5/qp.c
> @@ -1952,9 +1952,9 @@ static int format_selector(struct ib_sig_attrs *attr,
> {
>
> #define FORMAT_DIF_NONE 0
> -#define FORMAT_DIF_CRC_INC 4
> -#define FORMAT_DIF_CSUM_INC 12
> -#define FORMAT_DIF_CRC_NO_INC 13
> +#define FORMAT_DIF_CRC_INC 8
> +#define FORMAT_DIF_CRC_NO_INC 12
> +#define FORMAT_DIF_CSUM_INC 13
> #define FORMAT_DIF_CSUM_NO_INC 14
>
> switch (domain->sig.dif.type) {
Just a clarification,
This patch along with "Fix smatch warnings" are incremental patches to
v4 of pending Signature verbs patchset.
Sagi.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-19 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-19 10:37 [PATCH] IB/mlx5: Fix signature rule constants according to FW specifications Sagi Grimberg
2014-01-19 13:07 ` Sagi Grimberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox