lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CANXQDtaM725=xtAPH_wK1y5WjTXz286u8gM_BRp1Ni+9Jx12DA@mail.gmail.com>
Date: Tue, 26 Aug 2025 21:42:10 +0530
From: Bhargava Chenna Marreddy <bhargava.marreddy@...adcom.com>
To: ALOK TIWARI <alok.a.tiwari@...cle.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org, 
	pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org, 
	netdev@...r.kernel.org, linux-kernel@...r.kernel.org, 
	michael.chan@...adcom.com, pavan.chebbi@...adcom.com, 
	vsrama-krishna.nemani@...adcom.com, Vikas Gupta <vikas.gupta@...adcom.com>, 
	Rajashekar Hudumula <rajashekar.hudumula@...adcom.com>
Subject: Re: [v4, net-next 3/9] bng_en: Introduce VNIC

On Tue, Aug 26, 2025 at 8:31 PM ALOK TIWARI <alok.a.tiwari@...cle.com> wrote:
>
>
>
> On 8/26/2025 10:14 PM, Bhargava Marreddy wrote:
> > +             /* Allocate rss table and hash key */
> > +             size = L1_CACHE_ALIGN(HW_HASH_INDEX_SIZE * sizeof(u16));
> > +             size = L1_CACHE_ALIGN(BNGE_MAX_RSS_TABLE_SIZE);
> > +
> > +             vnic->rss_table_size = size + HW_HASH_KEY_SIZE;
> > +             vnic->rss_table = dma_alloc_coherent(bd->dev,
> > +                                                  vnic->rss_table_size,
> > +                                                  &vnic->rss_table_dma_addr,
> > +                                                  GFP_KERNEL);
>
> @size, first calculation is overwritten by the second.
Ack. I will fix it in v5.
>
> Thanks,
> Alok

Download attachment "smime.p7s" of type "application/pkcs7-signature" (4218 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ