linux_dsm_epyc7002/drivers/infiniband/hw/mlx5
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
..
ah.c RDMA: Mark if destroy address handle is in a sleepable context 2018-12-19 16:28:03 -07:00
cmd.c IB/mlx5: Allocate the per-port Q counter shared when DEVX is supported 2018-12-21 12:15:07 -07:00
cmd.h IB/mlx5: Allocate the per-port Q counter shared when DEVX is supported 2018-12-21 12:15:07 -07:00
cong.c IB/mlx5: fix uaccess beyond "count" in debugfs read/write handlers 2018-07-09 13:15:12 -06:00
cq.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
devx.c IB/mlx5: Manage indirection mkey upon DEVX flow for ODP 2019-01-21 20:06:49 -07:00
doorbell.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
flow.c RDMA/mlx5: Signedness bug in UVERBS_HANDLER() 2018-12-22 16:07:13 -07:00
gsi.c RDMA, core and ULPs: Declare ib_post_send() and ib_post_recv() arguments const 2018-07-30 20:09:34 -06:00
ib_rep.c IB/mlx5: Unify e-switch representors load approach between uplink and VFs 2018-12-14 09:58:57 -08:00
ib_rep.h RDMA/mlx5: Update SPDX tags to show proper license 2018-06-05 14:04:20 -06:00
ib_virt.c IB/mlx5: Restore IB guid/policy for virtual functions 2017-07-24 10:34:28 -04:00
Kconfig IB/{core,uverbs}: Move ib_umem_xxx functions from ib_core to ib_uverbs 2019-01-10 17:06:44 -07:00
mad.c IB/{mlx5,ocrdma,qedr,rxe}: Omit port validation from IB verbs 2018-12-11 14:38:16 -07:00
main.c IB/mlx5: Don't override existing ip_protocol 2019-01-21 20:10:06 -07:00
Makefile net/mlx5: Move SRQ functions to RDMA part 2018-12-04 09:14:30 +02:00
mem.c RDMA/mlx5: Embed into the code flow the ODP config option 2019-01-08 16:41:38 -07:00
mlx5_ib.h IB/mlx5: Manage indirection mkey upon DEVX flow for ODP 2019-01-21 20:06:49 -07:00
mr.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
odp.c IB/mlx5: Add support for ODP for DEVX indirection mkey 2019-01-21 20:06:49 -07:00
qp.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
srq_cmd.c RDMA/mlx5: Unfold modify RMP function 2018-12-04 09:26:00 +02:00
srq.c IB/{core,hw}: Have ib_umem_get extract the ib_ucontext from ib_udata 2019-01-10 17:07:45 -07:00
srq.h RDMA/mlx5: Initialize SRQ tables on mlx5_ib 2018-12-04 09:25:50 +02:00