mbox series

[net-next,0/2] Small packet processing handling changes

Message ID 20230113223619.162405-1-parav@nvidia.com (mailing list archive)
Headers show
Series Small packet processing handling changes | expand

Message

Parav Pandit Jan. 13, 2023, 10:36 p.m. UTC
Hi,

These two changes improve the small packet handling.

Patch summary:
patch-1 fixes the length check by considering Ethernet 60B frame size
patch-2 avoids code duplication by reuses existing buffer free helper

Please review.

Parav Pandit (2):
  virtio_net: Fix short frame length check
  virtio_net: Reuse buffer free function

 drivers/net/virtio_net.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Comments

Parav Pandit Jan. 14, 2023, 5:46 p.m. UTC | #1
Hi Jakub, Dave,

> From: Parav Pandit <parav@nvidia.com>
> Sent: Friday, January 13, 2023 5:36 PM
> 
> Hi,
> 
> These two changes improve the small packet handling.
> 
> Patch summary:
> patch-1 fixes the length check by considering Ethernet 60B frame size
> patch-2 avoids code duplication by reuses existing buffer free helper
> 
> Please review.
> 
> Parav Pandit (2):
>   virtio_net: Fix short frame length check
>   virtio_net: Reuse buffer free function
> 
Please drop this series.
I will drop first patch as it was wrong.
Will send 2nd patch as v2 which was reviewed.