Re: [PATCH net] virtio: kdoc for struct virtio_pci_modern_device

2023-08-31 Thread Nelson, Shannon via Virtualization
On 8/31/2023 1:39 AM, Paolo Abeni wrote: On Mon, 2023-08-28 at 14:34 -0700, Shannon Nelson wrote: Finally following up to Simon's suggestion for some kdoc attention on struct virtio_pci_modern_device. Link: https://lore.kernel.org/netdev/ze%2fqs0lnuvxfa...@corigine.com/ Cc: Simon Horman Si

[PATCH v2] vdpa/mlx5: Fix firmware error on creation of 1k VQs

2023-08-31 Thread Dragos Tatulea via Virtualization
A firmware error is triggered when configuring a 9k MTU on the PF after switching to switchdev mode and then using a vdpa device with larger (1k) rings: mlx5_cmd_out_err: CREATE_GENERAL_OBJECT(0xa00) op_mod(0xd) failed, status bad resource(0x5), syndrome (0xf6db90), err(-22) This is due to the fa

Re: [RFC PATCH v2 0/2] vsock: handle writes to shutdowned socket

2023-08-31 Thread Stefano Garzarella
Hi Arseniy, On Sat, Aug 26, 2023 at 08:58:58PM +0300, Arseniy Krasnov wrote: Hello, this small patchset adds POSIX compliant behaviour on writes to the socket which was shutdowned with 'shutdown()' (both sides - local with SHUT_WR flag, peer - with SHUT_RD flag). According POSIX we must send SI

Re: [RFC PATCH v2 2/2] test/vsock: shutdowned socket test

2023-08-31 Thread Stefano Garzarella
On Sat, Aug 26, 2023 at 08:59:00PM +0300, Arseniy Krasnov wrote: This adds two tests for 'shutdown()' call. It checks that SIGPIPE is sent when MSG_NOSIGNAL is not set and vice versa. Both flags SHUT_WR and SHUT_RD are tested. Signed-off-by: Arseniy Krasnov --- tools/testing/vsock/vsock_test.c

Re: [RFC PATCH v2 1/2] vsock: send SIGPIPE on write to shutdowned socket

2023-08-31 Thread Stefano Garzarella
On Sat, Aug 26, 2023 at 08:58:59PM +0300, Arseniy Krasnov wrote: POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD flag. Also we must not send SIGPIPE if MSG_NOSIGNAL flag is set. Signed-off-by: Arseniy Kr

Re: [PATCH net] virtio: kdoc for struct virtio_pci_modern_device

2023-08-31 Thread Paolo Abeni
Hi, On Mon, 2023-08-28 at 14:34 -0700, Shannon Nelson wrote: > Finally following up to Simon's suggestion for some kdoc attention > on struct virtio_pci_modern_device. > > Link: https://lore.kernel.org/netdev/ze%2fqs0lnuvxfa...@corigine.com/ > Cc: Simon Horman > Signed-off-by: Shannon Nelson I

Re: [PATCH v2] virtio_balloon: Fix endless deflation and inflation on arm64

2023-08-31 Thread David Hildenbrand
On 31.08.23 03:10, Gavin Shan wrote: The deflation request to the target, which isn't unaligned to the guest page size causes endless deflation and inflation actions. For example, we receive the flooding QMP events for the changes on memory balloon's size after a deflation request to the unaligne