[Bug 282095] enic breaks when changing MTU on interfaces with fib other than 0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 09 Jan 2025 17:06:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282095
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=0acab8b3d1336d4db73a9946ef76b4bcd0b0aabe
commit 0acab8b3d1336d4db73a9946ef76b4bcd0b0aabe
Author: Doug Ambrisko <ambrisko@FreeBSD.org>
AuthorDate: 2025-01-09 16:28:37 +0000
Commit: Doug Ambrisko <ambrisko@FreeBSD.org>
CommitDate: 2025-01-09 16:52:54 +0000
enic(4): fix down/up, MTU changes and more
ifconfig down/up cycles was not working. Fix that which is required
to support MTU changes. Now doing ifconfig enic0 mtu 3000 for example
works. If the MTU is changes in the VIC HW configuration, that is not
reflected in and the OS reports the default 1500. I need to look at
that but changing it via ifconfig works. So this is different then
what Linux does.
Change TX interrupt allocation to be in this driver. Change the admin
interrupt count to 2. This make multiple queues work but need to be
done as pairs so if the VIC has more TX or RX queues setup in the
VIC configuration it will use the lesser value.
While updating the TX interrupt also add support for devcmd2.
Enable checksum offloading.
PR: 282095
sys/dev/enic/cq_desc.h | 15 ---
sys/dev/enic/enic.h | 76 ++++++--------
sys/dev/enic/enic_res.c | 4 +-
sys/dev/enic/enic_res.h | 2 -
sys/dev/enic/enic_txrx.c | 39 +++++--
sys/dev/enic/if_enic.c | 173 +++++++++++++++++++++++++++----
sys/dev/enic/vnic_cq.h | 5 +-
sys/dev/enic/vnic_dev.c | 235 +++++++++++++++++++++++++++++++++++++------
sys/dev/enic/vnic_dev.h | 8 +-
sys/dev/enic/vnic_intr.c | 2 +-
sys/dev/enic/vnic_intr.h | 2 +-
sys/dev/enic/vnic_resource.h | 1 +
sys/dev/enic/vnic_rq.c | 5 +-
sys/dev/enic/vnic_rq.h | 1 -
sys/dev/enic/vnic_rss.h | 5 -
sys/dev/enic/vnic_wq.c | 104 ++++++++++++++++++-
sys/dev/enic/vnic_wq.h | 18 +++-
17 files changed, 559 insertions(+), 136 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.