HomeFreeBSD

mlx5: Fix integer overflow while resizing CQ

Description

mlx5: Fix integer overflow while resizing CQ

The user can provide very large cqe_size which will cause to integer
overflow.

Linux commit:
28e9091e3119933c38933cb8fc48d5618eb784c8

Approved by: hselasky (mentor)
MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
slavashAuthored on
Parents
rS341552: mlx4en: Optimise reception of small packets.
Branches
Unknown
Tags
Unknown