# Re: \[PATCH\] RDMA/rxe: Fix wrong port\_cap\_flags

- From: Jason Gunthorpe \<jgg@nvidia.com\>
- Date: 2021-09-14 19:03:33 
- List: linux-rdma
- Page: https://ratatoskr.run/linux-rdma/2021/09/1508408
- Thread: https://ratatoskr.run/linux-rdma/2021/08/1493053/t.md

```text
On Tue, Aug 31, 2021 at 04:32:23PM +0800, Junji Wei wrote:
> The port->attr.port_cap_flags should be set to enum
> ib_port_capability_mask_bits in ib_mad.h,
> not RDMA_CORE_CAP_PROT_ROCE_UDP_ENCAP.
> 
> Signed-off-by: Junji Wei <redacted>
> Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
> ---
>  drivers/infiniband/sw/rxe/rxe_param.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied to for-next, thanks

Jason
```
