enic: fix potential panic due to not understanding what iflib had allocatedFor safety I was trying to clear out the descriptor but the full descriptorwas not allocated. Remove any code trying to
enic: fix potential panic due to not understanding what iflib had allocatedFor safety I was trying to clear out the descriptor but the full descriptorwas not allocated. Remove any code trying to do that so the same mistakewon't be made. This was found when looking to MFC the prior changeand having the loader, load the module.Remove cq->ntxqsets since the completion queue is part of the RX and TX sets
show more ...
enic(4): fix down/up, MTU changes and moreifconfig down/up cycles was not working. Fix that which is requiredto support MTU changes. Now doing ifconfig enic0 mtu 3000 for exampleworks. If the
enic(4): fix down/up, MTU changes and moreifconfig down/up cycles was not working. Fix that which is requiredto support MTU changes. Now doing ifconfig enic0 mtu 3000 for exampleworks. If the MTU is changes in the VIC HW configuration, that is notreflected in and the OS reports the default 1500. I need to look atthat but changing it via ifconfig works. So this is different thenwhat Linux does.Change TX interrupt allocation to be in this driver. Change the admininterrupt count to 2. This make multiple queues work but need to bedone as pairs so if the VIC has more TX or RX queues setup in theVIC configuration it will use the lesser value.While updating the TX interrupt also add support for devcmd2.Enable checksum offloading.PR: 282095
enic: Remove a stray semicolonMFC after: 1 week
sys/dev/enic/if_enic.c: remove an extra semicolonSigned-off-by: rilysh <nightquick@proton.me>Reviewed by: impPull Request: https://github.com/freebsd/freebsd-src/pull/959
Remove a few more stray __FBSDID usesReviewed by: imp, emasteDifferential Revision: https://reviews.freebsd.org/D41954
enic: Don't restart on VLAN changesIn rS360398, a new iflib device method was added with default of opt outfor VLAN events needing an interface reset.This re-init is unintentional for vmxnet3(4)
enic: Don't restart on VLAN changesIn rS360398, a new iflib device method was added with default of opt outfor VLAN events needing an interface reset.This re-init is unintentional for vmxnet3(4).MFC after: 2 weeksSponsored by: BBOX.ioDifferential Revision: https://reviews.freebsd.org/D41558
iflib drivers: Constify PCI ID LUTsSince d49e83eac3baf16a22b1c5d42e8438b68b17e6f9, iflib(9) is readyfor this change.While at it, make isc_driver_version strings (static) const wherenot apparentl
iflib drivers: Constify PCI ID LUTsSince d49e83eac3baf16a22b1c5d42e8438b68b17e6f9, iflib(9) is readyfor this change.While at it, make isc_driver_version strings (static) const wherenot apparently un-const on purpose, too.This reduces the size of the amd64 GENERIC by about 10 KiB.
enic(4): Remove unused dupe prototype
enic: convert to IfAPIPrompted by: jhibbits
enic: Cisco VIC driverThis driver is based of the enic (Cisco VIC) DPDK driver. It providesbasic ethernet functionality. Has been run with various VIC cards todo UEFI PXE boot with NFS root.