# dynamically generated tunables settings followhw.ibrs_disable="1"hw.ixl.enable_head_writeback="0"hw.syscons.kbd_reboot="0"kern.ipc.maxsockbuf="614400000"kern.random.fortuna.minpoolsize="128"kern.randompid="1"net.enc.in.ipsec_bpf_mask="2"net.enc.in.ipsec_filter_mask="2"net.enc.out.ipsec_bpf_mask="1"net.enc.out.ipsec_filter_mask="1"net.inet.icmp.drop_redirect="1"net.inet.icmp.icmplim="0"net.inet.icmp.log_redirect="0"net.inet.icmp.reply_from_interface="1"net.inet.ip.accept_sourceroute="0"net.inet.ip.forwarding="1"net.inet.ip.intr_queue_maxlen="1000"net.inet.ip.portrange.first="1024"net.inet.ip.random_id="1"net.inet.ip.redirect="0"net.inet.ip.sourceroute="0"net.inet.ipsec.async_crypto="1"net.inet.rss.bits="2"net.inet.rss.enabled="1"net.inet.tcp.abc_l_var="52"net.inet.tcp.blackhole="2"net.inet.tcp.delayed_ack="0"net.inet.tcp.drop_synfin="1"net.inet.tcp.log_debug="0"net.inet.tcp.minmss="536"net.inet.tcp.mssdflt="1240"net.inet.tcp.recvbuf_max="614400000"net.inet.tcp.recvspace="65536"net.inet.tcp.sendbuf_inc="65536"net.inet.tcp.sendbuf_max="614400000"net.inet.tcp.sendspace="65536"net.inet.tcp.soreceive_stream="1"net.inet.tcp.syncookies="1"net.inet.tcp.tso="0"net.inet.udp.blackhole="1"net.inet.udp.checksum="1"net.inet.udp.maxdgram="57344"net.inet6.ip6.forwarding="1"net.inet6.ip6.intr_queue_maxlen="1000"net.inet6.ip6.prefer_tempaddr="0"net.inet6.ip6.redirect="0"net.inet6.ip6.use_tempaddr="0"net.isr.bindthreads="1"net.isr.defaultqlimit="2048"net.isr.dispatch="deferred"net.isr.maxthreads="-1"net.link.bridge.pfil_bridge="0"net.link.bridge.pfil_local_phys="0"net.link.bridge.pfil_member="1"net.link.bridge.pfil_onlyip="0"net.link.ether.inet.log_arp_movements="1"net.link.ether.inet.log_arp_wrong_iface="1"net.link.tap.user_open="1"net.link.vlan.mtag_pcp="1"net.local.dgram.maxdgram="8192"net.pf.share_forward="1"net.pf.share_forward6="1"net.pf.source_nodes_hashsize="1048576"net.route.multipath="0"security.bsd.see_other_gids="0"security.bsd.see_other_uids="0"
mlx5_core0: <mlx5_core> mem 0xc8000000-0xc9ffffff at device 0.0 numa-domain 0 on pci8mlx5_core0: INFO: mlx5_port_module_event:707:(pid 12): Module 0, status: plugged and enabledmlx5_core0: INFO: health_watchdog:579:(pid 0): PCIe slot advertised sufficient power (75W).mlx5_core0: INFO: init_one:1660:(pid 0): cannot find SR-IOV PCIe capmlx5_core: INFO: (mlx5_core0): E-Switch: Total vports 1, l2 table size(65536), per vport: max uc(128) max mc(2048)mlx5_core0: Failed to initialize SR-IOV support, error 2mlx5_core1: <mlx5_core> mem 0xc6000000-0xc7ffffff at device 0.1 numa-domain 0 on pci8mlx5_core1: INFO: mlx5_port_module_event:707:(pid 12): Module 1, status: plugged and enabledmlx5_core1: INFO: health_watchdog:579:(pid 0): PCIe slot advertised sufficient power (75W).mlx5_core1: INFO: init_one:1660:(pid 0): cannot find SR-IOV PCIe capmlx5_core: INFO: (mlx5_core1): E-Switch: Total vports 1, l2 table size(65536), per vport: max uc(128) max mc(2048)mlx5_core1: Failed to initialize SR-IOV support, error 2mlx5_core2: <mlx5_core> mem 0xe4000000-0xe5ffffff at device 0.0 numa-domain 0 on pci10mlx5_core2: INFO: mlx5_port_module_event:707:(pid 12): Module 0, status: plugged and enabledmlx5_core2: INFO: health_watchdog:579:(pid 0): PCIe slot advertised sufficient power (75W).mlx5_core2: INFO: init_one:1660:(pid 0): cannot find SR-IOV PCIe capmlx5_core: INFO: (mlx5_core2): E-Switch: Total vports 1, l2 table size(65536), per vport: max uc(128) max mc(2048)mlx5_core2: Failed to initialize SR-IOV support, error 2mlx5_core3: <mlx5_core> mem 0xe2000000-0xe3ffffff at device 0.1 numa-domain 0 on pci10mlx5_core3: INFO: mlx5_port_module_event:707:(pid 12): Module 1, status: plugged and enabledmlx5_core3: INFO: health_watchdog:579:(pid 0): PCIe slot advertised sufficient power (75W).mlx5_core3: INFO: init_one:1660:(pid 0): cannot find SR-IOV PCIe capmlx5_core: INFO: (mlx5_core3): E-Switch: Total vports 1, l2 table size(65536), per vport: max uc(128) max mc(2048)mlx5_core3: Failed to initialize SR-IOV support, error 2
mce0: Ethernet address: 10:70:fd:b3:57:9emce0: link state changed to DOWNmce1: Ethernet address: 10:70:fd:b3:57:9fmce1: link state changed to DOWNmce2: Ethernet address: 10:70:fd:b3:57:f6mce2: link state changed to DOWNmce3: Ethernet address: 10:70:fd:b3:57:f7mce3: link state changed to DOWNmce0: ERR: mlx5e_ioctl:3516:(pid 48967): tso4 disabled due to -txcsum.mce0: ERR: mlx5e_ioctl:3529:(pid 49276): tso6 disabled due to -txcsum6.mce1: ERR: mlx5e_ioctl:3516:(pid 51468): tso4 disabled due to -txcsum.mce1: ERR: mlx5e_ioctl:3529:(pid 51744): tso6 disabled due to -txcsum6.mce2: ERR: mlx5e_ioctl:3516:(pid 54872): tso4 disabled due to -txcsum.mce2: ERR: mlx5e_ioctl:3529:(pid 55595): tso6 disabled due to -txcsum6.mce3: ERR: mlx5e_ioctl:3516:(pid 57614): tso4 disabled due to -txcsum.mce3: ERR: mlx5e_ioctl:3529:(pid 57835): tso6 disabled due to -txcsum6.mce0: link state changed to UPmce2: link state changed to UPmce2: link state changed to DOWNmce2: link state changed to UPmce1: link state changed to UPmce3: link state changed to UPmce3: link state changed to DOWNmce3: link state changed to UPmce1: promiscuous mode enabledmce3: promiscuous mode enabledmce0: promiscuous mode enabledmce2: promiscuous mode enabledmce0: promiscuous mode disabledmce2: promiscuous mode disabledmce0: promiscuous mode enabledmce2: promiscuous mode enabled
Can you download speedtest pkg and test local without nat?
Have you seen this thread.https://forum.opnsense.org/index.php?topic=26038.msg125602#msg125602I just lurk here, and have a regular cable (1Gbit) setup.There seem to be professionals who have gotten close to what you are going for.Is mellanox supported by FreeBSD?You might need to use a VM (again I have read a lot but never done what you are trying to do).Cheers,
@redbarron73, did you check whether you need to update the NIC firmware?https://network.nvidia.com/support/firmware/connectx5en/The last update was 2022-11-30 (version 16.35.2000 LTS).Unless you need OEM specific: https://network.nvidia.com/support/firmware/dell/You might also want to check for BIOS (a new one just got released) and CPU microcode updates too.
sysctl -a | grep mlx
ifconfig mce0 -rxcsum -txcsum -tso -lroifconfig mce1 -rxcsum -txcsum -tso -lroifconfig mce2 -rxcsum -txcsum -tso -lroifconfig mce3 -rxcsum -txcsum -tso -lro
sysctl dev.mce.0.conf.hw_lro=0sysctl dev.mce.1.conf.hw_lro=0sysctl dev.mce.2.conf.hw_lro=0sysctl dev.mce.3.conf.hw_lro=0
sysctl -a | grep mcesysctl -a | grep mlx
net.inet.tcp.tso: 1net.inet.tcp.path_mtu_discovery: 1net.inet.tcp.lro.without_m_ackcmp: 0net.inet.tcp.lro.with_m_ackcmp: 0net.inet.tcp.lro.would_have_but: 0net.inet.tcp.lro.extra_mbuf: 0net.inet.tcp.lro.lockcnt: 0net.inet.tcp.lro.compressed: 0net.inet.tcp.lro.wokeup: 0net.inet.tcp.lro.fullqueue: 0net.inet.tcp.lro.lro_cpu_threshold: 50net.inet.tcp.lro.entries: 8
You probably also want to explicitly disable TSO (LSO) and LRO:<snip>
What driver version are you on?Code: [Select]sysctl -a | grep mlx...should reveal all.v3.7.1 (from 2021-07-21) is the latest from nVidia anyway.You don't really update NIC drivers in FreeBSD.