linux_dsm_epyc7002/drivers/infiniband
Maor Gottlieb 6113cc4401 IB/mlx5: Don't override existing ip_protocol
Two flow specifications can set the ip protocol field in
the flow table entry:

1) IB_FLOW_SPEC_TCP/UDP/GRE - set the ip protocol accordingly.
2) IB_FLOW_SPEC_IPV4/6 - has ip_protocol field for users
who want to receive specific L4 packets.

We need to avoid overriding of the ip_protocol with zeros,
in case that the user first put the L4 specification and
only then the L3.

Fixes: ca0d475385 ('IB/mlx5: Add support in TOS and protocol to flow steering')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-01-21 20:10:06 -07:00
..
core IB/core: Simplify rdma cgroup registration 2019-01-18 13:43:10 -07:00
hw IB/mlx5: Don't override existing ip_protocol 2019-01-21 20:10:06 -07:00
sw IB/rxe: Remove unnecessary rxe variable 2019-01-21 16:46:08 -07:00
ulp IB/iser: Pass the correct number of entries for dma mapped SGL 2019-01-18 14:12:24 -07:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
Makefile