Re: [PATCH v3 1/1] virtio-blk: avoid preallocating big SGL for data

2021-09-01 Thread Jens Axboe
On 9/1/21 4:25 PM, Max Gurtovoy wrote: > > On 9/1/2021 6:27 PM, Jens Axboe wrote: >> On 9/1/21 8:58 AM, Max Gurtovoy wrote: >>> On 9/1/2021 5:50 PM, Michael S. Tsirkin wrote: On Wed, Sep 01, 2021 at 04:14:34PM +0300, Max Gurtovoy wrote: > No need to pre-allocate a big buffer for the IO SG

Re: [PATCH v3 1/1] virtio-blk: avoid preallocating big SGL for data

2021-09-01 Thread Jens Axboe
On 9/1/21 8:58 AM, Max Gurtovoy wrote: > > On 9/1/2021 5:50 PM, Michael S. Tsirkin wrote: >> On Wed, Sep 01, 2021 at 04:14:34PM +0300, Max Gurtovoy wrote: >>> No need to pre-allocate a big buffer for the IO SGL anymore. If a device >>> has lots of deep queues, preallocation for the sg list can con

Re: [PATCH v3 1/1] virtio-blk: avoid preallocating big SGL for data

2021-09-01 Thread Michael S. Tsirkin
On Wed, Sep 01, 2021 at 04:14:34PM +0300, Max Gurtovoy wrote: > No need to pre-allocate a big buffer for the IO SGL anymore. If a device > has lots of deep queues, preallocation for the sg list can consume > substantial amounts of memory. For HW virtio-blk device, nr_hw_queues > can be 64 or 128 an

Re: [RFC PATCH 3/3] drivers/net/virtio_net: Added RSS hash report.

2021-09-01 Thread Jason Wang
On Thu, Aug 19, 2021 at 1:55 AM Andrew Melnychenko wrote: > > Added set_hash for skb. > Also added hashflow set/get callbacks. > Virtio RSS "IPv6 extensions" hashes disabled. > Also, disabling RXH_IP_SRC/DST for TCP would disable them for UDP. > TCP and UDP supports only: > ethtool -U eth0 rx-flow

Re: [RFC PATCH 2/3] drivers/net/virtio_net: Added basic RSS support.

2021-09-01 Thread Jason Wang
On Thu, Aug 19, 2021 at 1:55 AM Andrew Melnychenko wrote: > > Added features for RSS and RSS hash report. > Added initialization, RXHASH feature and ethtool ops. > By default RSS/RXHASH is disabled. > Added ethtools ops to set key and indirection table. > > Signed-off-by: Andrew Melnychenko > ---