svn commit: r294919 - stable/10/sys/dev/mlx5/mlx5_en
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Jan 27 14:59:24 UTC 2016
Author: hselasky
Date: Wed Jan 27 14:59:22 2016
New Revision: 294919
URL: https://svnweb.freebsd.org/changeset/base/294919
Log:
MFC r294318:
Add clarifying comment about CQE zipping.
Sponsored by: Mellanox Technologies
Differential Revision: https://reviews.freebsd.org/D4940
Modified:
stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
==============================================================================
--- stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c Wed Jan 27 14:57:37 2016 (r294918)
+++ stable/10/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c Wed Jan 27 14:59:22 2016 (r294919)
@@ -270,6 +270,11 @@ mlx5e_decompress_cqe(struct mlx5e_cq *cq
struct mlx5_mini_cqe8 *mini,
u16 wqe_counter, int i)
{
+ /*
+ * NOTE: The fields which are not set here are copied from the
+ * initial and common title. See memcpy() in
+ * mlx5e_write_cqe_slot().
+ */
title->byte_cnt = mini->byte_cnt;
title->wqe_counter = cpu_to_be16((wqe_counter + i) & cq->wq.sz_m1);
title->check_sum = mini->checksum;
More information about the svn-src-stable-10
mailing list