linux_dsm_epyc7002/include/linux/mlx5
Jesper Dangaard Brouer 12e8b570e7 mlx5: fix bug reading rss_hash_type from CQE
Masks for extracting part of the Completion Queue Entry (CQE)
field rss_hash_type was swapped, namely CQE_RSS_HTYPE_IP and
CQE_RSS_HTYPE_L4.

The bug resulted in setting skb->l4_hash, even-though the
rss_hash_type indicated that hash was NOT computed over the
L4 (UDP or TCP) part of the packet.

Added comments from the datasheet, to make it more clear what
these masks are selecting.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-23 11:03:31 -04:00
..
cmd.h
cq.h IB/mlx5: Support 4k UAR for libmlx5 2017-01-09 20:25:09 +02:00
device.h mlx5: fix bug reading rss_hash_type from CQE 2017-05-23 11:03:31 -04:00
doorbell.h IB/mlx5: Use blue flame register allocator in mlx5_ib 2017-01-09 20:25:08 +02:00
driver.h Updates #2 for 4.12 kernel merge window 2017-05-08 20:07:29 -07:00
fs.h net/mlx5: Use underlay QPN from the root name space 2017-05-14 13:33:45 +03:00
mlx5_ifc.h IB/mlx5: Add port_xmit_wait to counter registers read 2017-05-01 15:04:23 -04:00
port.h net/mlx5: Add DCBX firmware commands support 2016-11-28 15:09:35 -05:00
qp.h net/mlx5e: IPoIB, Xmit flow 2017-04-17 11:08:31 -04:00
srq.h net/mlx5: Ensure SRQ physical address structure endianness 2016-10-30 15:43:10 +02:00
transobj.h
vport.h net/mlx5: Push min-inline mode resolution helper into the core 2017-01-24 21:14:05 +02:00