Re: [PATCH v2] uio_hv_generic: Add a check for HV_NIC for send, receive buffers setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 08, 2025 at 05:26:58AM +0000, Michael Kelley wrote:
> From: Naman Jain <namjain@xxxxxxxxxxxxxxxxxxx> Sent: Thursday, January 2, 2025 6:53 AM
> > 
> > Receive and send buffer allocation was originally introduced to support
> > DPDK's networking use case. These buffer sizes were further increased to
> > meet DPDK performance requirements. However, these large buffers are
> > unnecessary for any other UIO use cases.
> > Restrict the allocation of receive and send buffers only for HV_NIC device
> > type, saving 47 MB of memory per device.
> > 
> > While at it, fix some of the syntax related issues in the touched code
> > which are reported by "--strict" option of checkpatch.
> > 
> > Signed-off-by: Naman Jain <namjain@xxxxxxxxxxxxxxxxxxx>
[...]
> 
> Reviewed-by: Michael Kelley <mhklinux@xxxxxxxxxxx>

Applied to hyperv-next. Thanks.




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux