[Bug 273046] xn: xen netfront does LRO even if packet forwarding is enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 20 Oct 2023 10:52:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273046

--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=da4b0d6eb06d730487d48e15d2d5e10c56266fd9

commit da4b0d6eb06d730487d48e15d2d5e10c56266fd9
Author:     Doug Rabson <dfr@FreeBSD.org>
AuthorDate: 2023-08-12 13:19:47 +0000
Commit:     Doug Rabson <dfr@FreeBSD.org>
CommitDate: 2023-10-20 10:50:20 +0000

    netfront: fix the support for disabling LRO at boot time

    The driver has a tunable hw.xn.enable_lro which is intended to control
    whether LRO is enabled. This is currently non-functional - even if its
    set to zero, the driver still requests LRO support from the backend.
    This change fixes the feature so that if enable_lro is set to zero, LRO
    no longer appears in the interface capabilities and LRO is not requested
    from the backend.

    PR:             273046
    MFC after:      1 week
    Reviewed by:    royger
    Differential Revision: https://reviews.freebsd.org/D41439

 sys/dev/xen/netfront/netfront.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.