FreeBSD/src 6c3f2b8 — sys/dev/mgb if_mgb.c

mgb: Correct TX interrupt bit

The TX interrupt handler checked MGB_INTR_STS_RX(qidx) instead of
MGB_INTR_STS_TX(qidx) -- presumably a copy-paste issue.

Because the driver does not use TX interrupts so there was no actual
issue in practice.

Reviewed by:    adrian
Sponsored by:   The FreeBSD Foundation
Fixes: 8890ab7758b8 ("Introduce if_mgb driver for Microchip LAN743x PCIe NIC")
Differential Revision: https://reviews.freebsd.org/D60550
DeltaFile
+1-1sys/dev/mgb/if_mgb.c
+1-11 files

FreeBSD/src 31cbd8f — sys/dev/bnxt/bnxt_en bnxt_dcb.c

bnxt_en: dcb: stop zeroing ETS and PFC config in bnxt_dcb_init()

bnxt_dcb_init() currently pushes all-zero ETS and PFC settings to
the firmware at every attach. This reserves bandwidth allocation
for RoCE traffic, which prevents L2 traffic from reaching line rate.

These settings should only be updated with valid values when the
RoCE driver is loaded. Therefore, we should stop programming them
during bnxt_dcb_init().

Signed-off-by:  Andy Gospodarek <gospo at broadcom.com>
Reviewed by:    chandrakanth.patil_broadcom.com, gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D60516
DeltaFile
+0-6sys/dev/bnxt/bnxt_en/bnxt_dcb.c
+0-61 files

FreeBSD/src e959f2a — cddl/contrib/opensolaris/tools/ctf/cvt util.c

ctf*: exit with error upon terminate()

The initial port of the CTF tools had a FreeBSD-specific patch to print
the termination message but exit with a 0 status, with a goal of getting
as much to build as possible and silently ignoring any issues.

We're now past the point where silently ignoring failures makes sense.
Any future issues need to be found and addressed.

PR:             276826
PR:             276930 [exp-run]
Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D43743
DeltaFile
+0-10cddl/contrib/opensolaris/tools/ctf/cvt/util.c
+0-101 files

FreeBSD/src 02880dd — sys/dev/thunderbolt nhi_var.h nhi_reg.h

thunderbolt: Router suspend routine

Suspend routine for USB4 v1.0 NHIs. This will work on v2.0 NHIs too for
now, but there's ideally a different method we should be using for those
in fine.

Reviewed by:    imp, ngie, emaste
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D49453
DeltaFile
+78-0sys/dev/thunderbolt/router.c
+13-0sys/dev/thunderbolt/nhi.c
+11-0sys/dev/thunderbolt/router_var.h
+4-2sys/dev/thunderbolt/nhi_pci.c
+5-0sys/dev/thunderbolt/nhi_reg.h
+2-0sys/dev/thunderbolt/nhi_var.h
+113-26 files

FreeBSD/src 39f7dbf — share/mk bsd.dirs.mk

bsd.dirs.mk: Improve "installing DIRS" message

Some of these messages looked at first glance like they were incorrectly
concatenated, e.g. "installing DIRS testsFILESDIR".  Add a colon to
clarify.

Reviewed by:    brooks, imp
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60525
DeltaFile
+1-1share/mk/bsd.dirs.mk
+1-11 files

FreeBSD/src 570d050 — . ObsoleteFiles.inc, usr.bin/ncal/tests Makefile legacy_test.sh

ncal: convert legacy TAP tests to ATF

MFC after:      2 weeks
Sponsored by:   ConnectWise
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2465
Reviewed by:    imp
DeltaFile
+148-0usr.bin/ncal/tests/ncal_test.sh
+0-79usr.bin/ncal/tests/regress.sh
+0-5usr.bin/ncal/tests/legacy_test.sh
+4-0ObsoleteFiles.inc
+1-2usr.bin/ncal/tests/Makefile
+153-865 files

FreeBSD/src d3c788f — . Makefile.inc1

Makefile.inc1: Don't unnecessarily ignore rm errors

For rm -f it's not an error if the files do not exist.  If there's any
other error it's presumably a real issue, so avoid ignoring all errors.

Reviewed by:    brooks, adrian
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56714
DeltaFile
+4-4Makefile.inc1
+4-41 files

FreeBSD/src 24d5194 — . Makefile.inc1

build: Emit a warning for build targets run as root

Build targets should generally be run as an unprivileged user.  Even
though building as root is discouraged many users do so, so just start
with a warning.

Reviewed by:    brooks
Differential Revision: https://reviews.freebsd.org/D50352
DeltaFile
+4-0Makefile.inc1
+4-01 files

FreeBSD/src 406a74f — usr.sbin/bhyve/aarch64 bhyverun_machdep.c

bhyve: Use the new spelling of MPIDR_Aff*

Fixes:  6bf6fe1d70e7 ("arm64: Fix the MPIDR_EL1 field names")
 Sponsored by:  Arm Ltd
DeltaFile
+3-3usr.sbin/bhyve/aarch64/bhyverun_machdep.c
+3-31 files

FreeBSD/src 87f0db8 — . Makefile.inc1

Makefile.inc1: Update comment wrt world build targets

The utility targets described by this comment are in fact related to
building (buildworld), not installing (which is included in
`make world`).

Reviewed by:    brooks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56715
DeltaFile
+2-2Makefile.inc1
+2-21 files

FreeBSD/src ac90931 — sys/amd64/amd64 support.S

x86: Fix retpoline capitalization

Fixes: 74d971fe1561 ("x86: Add external retpoline thunk")
DeltaFile
+1-1sys/amd64/amd64/support.S
+1-11 files

FreeBSD/src 74d971f — sys/amd64/amd64 support.S, sys/i386/i386 support.S

x86: Add external retpoline thunk

This allows use of -mindirect-branch=thunk-extern, and is only a few
bytes of dead code if not used.

Reviewed by:    kib
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60524
DeltaFile
+10-0sys/i386/i386/support.S
+10-0sys/amd64/amd64/support.S
+20-02 files

FreeBSD/src 81b5b22 — usr.sbin/makefs/tests makefs_zfs_tests.sh, usr.sbin/makefs/zfs fs.c

makefs/zfs: count "." in the link count and size of dataset roots

The root directory of a dataset is populated from an fsnode that is the
"." entry of the staging directory, and its children are the siblings of
that node, so the loop that computes the link count and the size of the
directory (which expects "." among the children, as the nodes of the
other directories have) never counts it.  The link count of the root of
every dataset is one less than it should be (1 for an empty dataset
instead of 2, 19 instead of 20 for a root with 18 subdirectories), and
so is its size.

fts(3) trusts the link count of the directories of ZFS when called with
FTS_NOSTAT and FTS_PHYSICAL: it stops looking for subdirectories once it
has seen as many as the link count says, and does not descend into the
ones it did not look at.  As a result find(1), and rm(1) when it does
not need to stat the entries, silently skip directories of a pool made
by makefs.  On a root filesystem made by makefs, find / does not list
/etc at all.


    [11 lines not shown]
DeltaFile
+54-0usr.sbin/makefs/tests/makefs_zfs_tests.sh
+4-3usr.sbin/makefs/zfs/fs.c
+58-32 files

FreeBSD/src aa40869 — sys/arm64/vmm/io vgic_v3.c

arm64/vmm: vgic_v3: Fix missing free of vgic_cpu->private_irqs

vgic_cpu->private_irqs is allocated but never freed, as a result leaking
memory whenever the vmm module is unloaded. Add the missing free.

Signed-off-by: Kajetan Puchalski <kajetan.puchalski at arm.com>
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2439
DeltaFile
+1-0sys/arm64/vmm/io/vgic_v3.c
+1-01 files

FreeBSD/src 7081201 — sys/arm64/vmm/io vgic_v3.c

arm64/vmm: vgic_v3: Set EOI for level-triggered interrupts

ICH_LR_EL2 bit 41 (EOI) determines whether a maintenance interrupt will
be asserted if the interrupt identified by the LR's vINTID is
deactivated. For level-triggered interrupts, that maintenance interrupt
is necessary for the host to resample the current level once the
interrupt is deactivated.

Set the EOI bit when flushing level-triggered interrupts into LRs.

Signed-off-by: Kajetan Puchalski <kajetan.puchalski at arm.com>
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2437
DeltaFile
+4-5sys/arm64/vmm/io/vgic_v3.c
+4-51 files

FreeBSD/src 6bf6fe1 — sys/arm64/include armreg.h, sys/arm64/vmm vmm_reset.c

arm64: Fix the MPIDR_EL1 field names

Use the field names from the Arm Documentation for the MPIDR_EL1
register. These will later be generated from a BSD Licensed JSON file
so to reduce the diff for that rename now.

Reviewed by:    kajetan.puchalski_arm.com
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D59176
DeltaFile
+12-12sys/arm64/include/armreg.h
+4-4sys/arm64/vmm/vmm_reset.c
+3-3sys/arm64/vmm/io/vgic_v3.c
+19-193 files

FreeBSD/src e8997a4 — sys/arm64/arm64 pmap.c

arm64: Use sysinsn.h to generate tlbi instructions

Some toolchains may not understand the .arch_extension.

Reviewed by:    jhb
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D59148
DeltaFile
+5-12sys/arm64/arm64/pmap.c
+5-121 files

FreeBSD/src 3864fe9 — sys/arm64/include _armreg.h sysinsn.h

arm64: Add a header for system instructions

Like armreg.h for system registers add a header to hold macros for
system instructions.

Reviewed by:    jhb
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D59147
DeltaFile
+40-0sys/arm64/include/sysinsn.h
+2-1sys/arm64/include/_armreg.h
+42-12 files

FreeBSD/src d39b1d6 — lib/libc/gen ulimit.3

ulimit(3): Improve UL_{GET,SET}FSIZE wording

Reword the UL_GETFSIZE and UL_SETFSIZE descriptions to say 512-byte
blocks and make the setter's argument clearer.

While here, improve mdoc markup and pull in other small improvements.

Reviewed by:    des
MFC after:      3 days
Obtained from:  https://github.com/apple-oss-distributions/libc
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D60467
DeltaFile
+10-12lib/libc/gen/ulimit.3
+10-121 files

FreeBSD/src 4f20e02 — sys/dev/bnxt/bnxt_en bnxt_dcb.c

if_bnxt: dcb: serialize HWRM sends and avoid freeing DMA bufs on timeout

Every _hwrm_send_message() call in bnxt_dcb.c ran without BNXT_HWRM_LOCK,
unlike the rest of the driver, letting concurrent HWRM commands race on
the shared MMIO doorbell and response buffer. Route single-shot sends
through the already-locked hwrm_send_message() wrapper, and wrap the
remaining send+response-read sequences in explicit BNXT_HWRM_LOCK/UNLOCK.

Also stop freeing the transient DMA buffers used for structured-data
get/set on ETIMEDOUT: a host-side timeout doesn't guarantee firmware
actually gave up, so a late completion could still DMA into memory
that's since been freed and reused. Leak the buffer instead in that case.

Reviewed by:    gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D60179
DeltaFile
+44-8sys/dev/bnxt/bnxt_en/bnxt_dcb.c
+44-81 files

FreeBSD/src 15187b2 — sys/dev/bnxt/bnxt_en if_bnxt.c

if_bnxt: don't reserve RoCE MSI-x on chips that don't support RoCE

RoCE is only supported on Thor and onwards chips.
bnxt_init_sctx_variants() unconditionally set isc_admin_intrcnt to
BNXT_ROCE_IRQ_COUNT for every PF device, stealing 9 MSI-x vectors from
older, non-RoCE-capable chips that will never use them.

Gate the reservation on the device ID: RoCE-capable chips keep
BNXT_ROCE_IRQ_COUNT, other chips fall back to 1, the baseline
isc_admin_intrcnt value used before RoCE support (commit 050d28e13cde)
repurposed it for RoCE MSI-x on every device.

Reviewed by:    gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D59091
DeltaFile
+20-1sys/dev/bnxt/bnxt_en/if_bnxt.c
+20-11 files

FreeBSD/src 22dcbd7 — sys/dev/bnxt/bnxt_en bnxt_compat.h bnxt_auxbus_compat.c

if_bnxt: port workqueue, task-queue, and synchronization kPIs to FreeBSD natives

- Replace Linux workqueue (struct workqueue_struct, bnxt_pf_wq) with a
  FreeBSD taskqueue (bnxt_taskq) shared by every attached PF. bnxt_taskq
  is created once at module load and destroyed once at module unload
  (SYSINIT/SYSUNINIT on SI_SUB_KLD), matching the module-owned-taskqueue
  idiom used elsewhere in the tree (e.g. sys/dev/cxgbe/t4_main.c's
  reset_tq). This replaces an earlier lazy, per-attach/detach
  create-or-reuse scheme guarded by a mutex and a "ready" flag, which
  had a real race: bnxt_queue_sp_work()/bnxt_queue_fw_reset_work() and
  bnxt_attach_pre() re-read the bnxt_taskq/bnxt_taskq_ready globals
  outside the mutex right after the lazy-init call returned, so a
  concurrent bnxt_detach() on another PF freeing the shared queue once
  bnxt_num_pfs hit 0 could race a still-attached PF into enqueuing onto
  a freed taskqueue. Tying the taskqueue's lifetime to the module
  instead of to any one PF's attach/detach removes that race outright,
  since the module can't unload while a PF is still attached.

- Replace struct work_struct sp_task with struct task sp_task;

    [42 lines not shown]
DeltaFile
+173-122sys/dev/bnxt/bnxt_en/if_bnxt.c
+44-4sys/dev/bnxt/bnxt_en/bnxt.h
+6-6sys/dev/bnxt/bnxt_en/bnxt_ktls.c
+2-3sys/dev/bnxt/bnxt_en/bnxt_ulp.c
+2-2sys/dev/bnxt/bnxt_en/bnxt_auxbus_compat.c
+1-1sys/dev/bnxt/bnxt_en/bnxt_compat.h
+228-1382 files not shown
+230-1408 files

FreeBSD/src fd540c6 — sys/dev/bnxt/bnxt_en bnxt_sriov.h if_bnxt.c

if_bnxt: port endian, memory-barrier, and bitops kAPIs to FreeBSD natives

There are few more Linux kernel APIs left in the code. So,
replaced them with corresponding FreeBSD native APIs.

- Replace cpu_to_le16/32/64/le16_to_cpu/le32_to_cpu/le64_to_cpu with
  htole16/32/64/le16toh/le32toh/le64toh throughout bnxt_hwrm.c and
  the vf-event producer path in if_bnxt.c.
- Replace rmb()/wmb() interprocessor-ordering uses in bnxt_ulp.c
  (publishing/consuming ulp->async_events_bmap and max_async_event_id
  across CPUs) with atomic_thread_fence_acq()/atomic_thread_fence_rel();
  keep wmb() for the HWRM doorbell/DMA ordering barrier in
  _hwrm_send_message() (bnxt_hwrm.c), since atomic_thread_fence_rel()
  compiles to a bare compiler barrier on amd64/i386 and does not order
  the request-buffer store against the doorbell MMIO write.
- Replace hweight32 with bitcount32, ARRAY_SIZE with nitems, and
  DECLARE_BITMAP with a plain unsigned long array (sized via
  howmany()) in bnxt_hwrm_func_drv_rgtr(); replace the __set_bit/
  test_bit calls there with bit_set()/bit_test() from

    [12 lines not shown]
DeltaFile
+75-75sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
+3-3sys/dev/bnxt/bnxt_en/if_bnxt.c
+3-3sys/dev/bnxt/bnxt_en/bnxt_ulp.c
+2-1sys/dev/bnxt/bnxt_en/bnxt_sriov.h
+83-824 files

FreeBSD/src fdab50f — sys/dev/bnxt/bnxt_en if_bnxt.c

if_bnxt: add support for SIOCGI2CPB page/bank i2c requests

Advertise IFLIB_I2C_PAGE_BANK and forward the requested page/bank to
firmware, so CMIS optics can be read correctly instead of falling
back to bogus legacy SFF-8472 decoding. Also fix bnxt_i2c_req() to
return positive errno values.

Signed-off-by:  gallatin
Reviewed by:    gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D59573
DeltaFile
+22-4sys/dev/bnxt/bnxt_en/if_bnxt.c
+22-41 files

FreeBSD/src ed1f24d — sys/dev/bnxt/bnxt_en bnxt.h if_bnxt.c

if_bnxt: drop epoch_arr[] to detect EPOCH bit toggle

The EPOCH array size is 4096 but the driver does not enforce any limit
on ring size, so setting ring size >4096 corrupts adjacent memory
and leads to undefined behavior.

Toggle epoch_bit directly at every ring-producer wrap point (TX/RX
encap and refill, MPC crypto commands, kTLS presync/replay) instead of
looking it up per-index in the doorbell path, dropping the now-unused
epoch_arr[] snapshot array.

Reported by:    gallatin
Reviewed by:    gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D58620
Change-Id: I4673d64670ee0e8ea256b8a8932724bbd73f710d
DeltaFile
+4-22sys/dev/bnxt/bnxt_en/bnxt_txrx.c
+18-6sys/dev/bnxt/bnxt_en/bnxt_ktls.c
+5-0sys/dev/bnxt/bnxt_en/bnxt_mpc.c
+2-2sys/dev/bnxt/bnxt_en/if_bnxt.c
+0-3sys/dev/bnxt/bnxt_en/bnxt.h
+29-335 files

FreeBSD/src 22f37c4 — sys/dev/bnxt/bnxt_en bnxt_hwrm.h if_bnxt.c

if_bnxt: rework interrupt coalescing onto the AGGINT_QCAPS scheme

Query firmware-advertised coalescing capabilities and program
per-direction rx/tx coalescing settings against them, replacing the
old hardcoded scheme. Add sysctls for the coalescing mode, budget,
and stats-timer knobs the new scheme exposes.

Reviewed by:    gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D58621
DeltaFile
+237-16sys/dev/bnxt/bnxt_en/bnxt_sysctl.c
+191-61sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
+56-8sys/dev/bnxt/bnxt_en/bnxt.h
+50-0sys/dev/bnxt/bnxt_en/if_bnxt.c
+1-0sys/dev/bnxt/bnxt_en/bnxt_hwrm.h
+535-855 files

FreeBSD/src 4fbb63f — sys/dev/bnxt/bnxt_en if_bnxt.c

if_bnxt: drop redundant PCI disable in bnxt_fw_reset_close()

bnxt_fw_reset_close() unconditionally called pci_disable_device()
after freeing the Rx IRQs, on every firmware reset, not just the
BNXT_STATE_FW_FATAL_COND path which already disables the device via
bnxt_fw_fatal_close(). BNXT_FW_RESET_STATE_ENABLE_DEV in
bnxt_fw_reset_task() already re-enables the device unconditionally,
so this wasn't leaving the device disabled, just adding an
unnecessary PCI disable/re-enable cycle around every non-fatal reset.

Reviewed by:    gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D58619
DeltaFile
+0-2sys/dev/bnxt/bnxt_en/if_bnxt.c
+0-21 files

FreeBSD/src dbde459 — sys/dev/bnxt/bnxt_en bnxt.h bnxt_hwrm.c

if_bnxt: fix HWRM failures/timeouts after repeated FW resets

Consecutive firmware-initiated reset cycles produced HWRM
failures/timeouts and traffic didn't come back. Fix the FW-reset
recovery path:

- bnxt_fw_reset_close() called bnxt_stop() and
  bnxt_hwrm_func_drv_unrgtr(), sending HWRM ring/VNIC/filter free
  commands to a firmware that's already mid-reset and unresponsive,
  producing the observed timeouts. Both are unnecessary since
  firmware comes back with fresh state anyway; drop them along with
  the now-redundant iflib_request_reset().
- bnxt_func_reset() now skips bnxt_hwrm_resource_free() entirely
  while BNXT_STATE_IN_FW_RESET is set, for the same reason.
- bnxt_open() (used to reopen after a firmware reset) now issues
  bnxt_hwrm_func_reset() up front and drives reinit through iflib's
  own reset machinery (iflib_request_reset() plus a new
  bnxt_iflib_reset_sync() that waits for
  IFF_DRV_RUNNING/OACTIVE to flip 1->0->1) instead of calling

    [9 lines not shown]
DeltaFile
+54-13sys/dev/bnxt/bnxt_en/if_bnxt.c
+11-4sys/dev/bnxt/bnxt_en/bnxt_hwrm.c
+1-0sys/dev/bnxt/bnxt_en/bnxt.h
+66-173 files

FreeBSD/src e9a6920 — sys/dev/bnxt/bnxt_en bnxt_sriov.h if_bnxt.c

if_bnxt: sriov: replace Linux kPIs with FreeBSD native APIs

Convert bnxt_sriov.c and related SRIOV files from Linux to FreeBSD
native equivalents:

- Replace cpu_to_le16/32/64/le16_to_cpu with htole16/32/64/le16toh.
- Replace Linux is_valid_ether_addr, ether_addr_equal, ether_addr_copy
  with local bnxt_eth_addr_valid/bnxt_eth_addr_equal/bnxt_eth_addr_copy
  helpers built on ETHER_IS_MULTICAST/ETHER_IS_ZERO.
- Replace kcalloc/kzalloc/kfree with malloc/free (M_DEVBUF,
  M_WAITOK|M_ZERO).
- Replace dma_alloc_coherent/dma_free_coherent with iflib_dma_alloc/
  iflib_dma_free; add struct iflib_dma_info hwrm_cmd_req_mem[4] to
  bnxt_pf_info to hold the DMA handles.
- Replace the Linux unsigned long *vf_event_bmap with FreeBSD
  bitstr_t *, allocated via bit_alloc(); bit_ffs_at()/bit_clear()/
  bit_set() replace find_next_bit()/clear_bit()/set_bit() on it
  (if_bnxt.c's vf-event producer side included).
- Replace DIV_ROUND_UP with howmany; rcu_assign_pointer with a plain

    [9 lines not shown]
DeltaFile
+125-80sys/dev/bnxt/bnxt_en/bnxt_sriov.c
+2-1sys/dev/bnxt/bnxt_en/if_bnxt.c
+2-1sys/dev/bnxt/bnxt_en/bnxt.h
+1-0sys/dev/bnxt/bnxt_en/bnxt_sriov.h
+130-824 files

FreeBSD/src 4786d44 — sys/dev/bnxt/bnxt_en bnxt_sysctl.c

if_bnxt: sysctl: remove unused linux/delay.h include and dead mutex

<linux/delay.h> and the DEFINE_MUTEX(tmp_mutex) it enabled are both
unused in bnxt_sysctl.c: no msleep/udelay/mdelay call remains, and
tmp_mutex itself was never referenced anywhere.

Reviewed by:    gallatin
MFC after:      2 weeks
Sponsored by:   Broadcom Inc.
Differential Revision:  https://reviews.freebsd.org/D59087
DeltaFile
+0-2sys/dev/bnxt/bnxt_en/bnxt_sysctl.c
+0-21 files