Re: [dpdk-dev] [PATCH 1/2] common/sfc_efx/base: limit reported MCDI response length

2021-05-18 Thread Ferruh Yigit
On 5/18/2021 4:10 PM, Ivan Malov wrote: > From: Andy Moreton > > MCDI helper routines in libefx include length checks for response > messages, to ensure that short replies and optional fields are > handled correctly. > > If the MCDI response message from the firmware is larger than the > caller'

[dpdk-dev] [PATCH 1/2] common/sfc_efx/base: limit reported MCDI response length

2021-05-18 Thread Ivan Malov
From: Andy Moreton MCDI helper routines in libefx include length checks for response messages, to ensure that short replies and optional fields are handled correctly. If the MCDI response message from the firmware is larger than the caller's buffer then the response length reported to the caller