diff options
author | Jieqiang Wang <jieqiang.wang@arm.com> | 2022-09-21 17:17:22 +0800 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-10-25 15:18:02 +0000 |
commit | bf93670c515da131f36809091c13d3a0638fff2a (patch) | |
tree | 39e8a79a5ac1c7d1b9a71f7d5a141b431c21502a /src/plugins/rdma/rdma_mlx5dv.h | |
parent | 813c1bd257ddcc573422083bd66cc8b8ed79d5b2 (diff) |
rdma: fix ipv4 checksum check in rdma-input node
- cqe_flags pointer should be incremented accordingly otherwise only the
first element in cqe_flags will be updated
- flag l3_ok should be set for match variable when verifying if packets
are IPv4 packets with flag l3_ok set
- mask/match variables should be converted to network byte order to
match the endianness of cqe_flags
- vector processing of checking cqe flags will set return value to
0xFFFF by mistake if packet numbers are not multiple of 16(VEC256) or
8(VEC128)
Type: fix
Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
Change-Id: I9fec09e449fdffbb0ace8e5a6ccfeb6869b5cac1
Diffstat (limited to 'src/plugins/rdma/rdma_mlx5dv.h')
0 files changed, 0 insertions, 0 deletions