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;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to