RE: [PATCH] net/ena: fix coverity issues

2023-11-09 Thread Brandes, Shai
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, November 9, 2023 5:54 PM > To: Brandes, Shai > Cc: dev@dpdk.org; Beider, Ron ; Atrash, Wajeeh > ; Bernstein, Amit > Subject: RE: [EXTERNAL] [PATCH] net/ena: fix coverity issues > > CAUTION: This em

Re: [PATCH] net/ena: fix coverity issues

2023-11-09 Thread Ferruh Yigit
On 11/9/2023 3:25 PM, Brandes, Shai wrote: > See inside > >> -Original Message- >> From: Ferruh Yigit >> Sent: Thursday, November 9, 2023 4:30 PM >> To: Brandes, Shai >> Cc: dev@dpdk.org; Beider, Ron ; Atrash, Wajeeh >> ; Bernstein, Amit >&

RE: [PATCH] net/ena: fix coverity issues

2023-11-09 Thread Brandes, Shai
See inside > -Original Message- > From: Ferruh Yigit > Sent: Thursday, November 9, 2023 4:30 PM > To: Brandes, Shai > Cc: dev@dpdk.org; Beider, Ron ; Atrash, Wajeeh > ; Bernstein, Amit > Subject: RE: [EXTERNAL] [PATCH] net/ena: fix coverity issues > > CAU

Re: [PATCH] net/ena: fix coverity issues

2023-11-09 Thread Ferruh Yigit
On 11/9/2023 2:08 PM, shaib...@amazon.com wrote: > From: Shai Brandes > > Changed the rte_memcpy call to use the precomputed buf_size. > Rearranged the ena adapter structure and removed redundant > '&' operators as a precaution. > What is the reason of the structure rearrange? > Coverity issu

[PATCH] net/ena: fix coverity issues

2023-11-09 Thread shaibran
From: Shai Brandes Changed the rte_memcpy call to use the precomputed buf_size. Rearranged the ena adapter structure and removed redundant '&' operators as a precaution. Coverity issue: 405363 Coverity issue: 405357 Coverity issue: 405359 Fixes: 92401abfbcb9 ("net/ena: support connection trackin