> -----Original Message-----
> From: Bing Zhao <[email protected]>
> Sent: Thursday, July 16, 2020 17:24
> To: Ori Kam <[email protected]>; Slava Ovsiienko
> <[email protected]>
> Cc: Raslan Darawsheh <[email protected]>; Matan Azrad
> <[email protected]>; [email protected]; Netanel Gonen
> <[email protected]>
> Subject: [PATCH v3 6/7] net/mlx5: add eCPRI flex parser capacity check
> 
> If the NIC or the FW does not support the dynamic flex parser, it will return
> error when trying to create the parser for eCRPI.
> Then it is hard to know the detail error reason of the failure.
> Before creating the parser node and the following usage of the parser, the
> capacity bit saved in the HCA_CAP could be used to confirm if the dynamic
> flex parser is supported.
> If no, an error will be returned directly with ENOTSUP to prevent the
> following steps to be executed.
> 
> Signed-off-by: Bing Zhao <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

Reply via email to