Page MenuHomeFreeBSD

D4940.diff
No OneTemporary

D4940.diff

Index: head/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
===================================================================
--- head/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
+++ head/sys/dev/mlx5/mlx5_en/mlx5_en_rx.c
@@ -270,6 +270,11 @@
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;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 1:06 AM (1 h, 6 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14934308
Default Alt Text
D4940.diff (582 B)

Event Timeline