linux_dsm_epyc7002/drivers/infiniband/hw
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
..
bnxt_re RDMA/bnxt_re: fix a size calculation 2019-01-14 14:05:54 -07:00
cxgb3 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
cxgb4 RDMA/iw_cxgb4: Fix the unchecked ep dereference 2019-01-15 15:51:46 -07:00
hfi1 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
hns RDMA/hns: Add the process of AEQ overflow for hip08 2019-01-21 16:47:54 -07:00
i40iw RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mlx4 RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
mlx5 IB/mlx5: Don't override existing ip_protocol 2019-01-21 20:10:06 -07:00
mthca RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
nes RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
ocrdma RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
qedr IB/hw: Remove unneeded semicolons 2019-01-18 14:04:46 -07:00
qib RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
usnic RDMA: Introduce and use rdma_device_to_ibdev() 2019-01-14 13:12:03 -07:00
vmw_pvrdma RDMA: Rename port_callback to init_port 2019-01-14 13:05:14 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00