I upgraded from 12.1-RELEASE-p4 (no problem there) to 12.2-RELEASE. In 12.2-RELEASE the ix(4) driver associated to the card (Ethernet Connection X552/X557-AT 10GBASE-T) doesn't receive packet (tcpdump show nothing). The card has been configured by /etc/rc.conf during boot time, it is marked UP and RUNNING, and all the IP addresses have been associated. Making and "ifconfig down" followed by "ifconfig up" seems to resolve the problem most of the time
Do you mind sharing your ix configuration from /etc/rc.conf?
Below the fragment corresponding to the network configuration: ~~~ cloned_interfaces="tun0 lo1" ifconfig_ix0_name="net0" ifconfig_tun0_name="vpn0" ifconfig_net0="inet xxx.xxx.xxx.xxx/24" ifconfig_net0_alias0="inet yyy.yyy.yyy.yyy/32" defaultrouter="149.202.71.254" ifconfig_net0_ipv6="inet6 wwww:wwww:wwww:wwww::1/64 accept_rtadv no_radr" ipv6_network_interfaces="net0" ipv6_default_interface="net0" ipv6_defaultrouter="wwww:wwww:wwww:wwff:ff:ff:ff:ff" ipv6_route_ovhgw="wwww:wwww:wwww:wwff:ff:ff:ff:ff/128 -interface net0" ifconfig_lo1="inet zzz.zzz.zzz.zzz/24 group jail" ifconfig_vpn0="group vpn fib 1" route_vpn0_jails=" -net zzz.zzz.zzz.zzz/24 -iface lo1 -fib 1" route_vpn0_myself0="-host xxx.xxx.xxx.xxx -iface lo0 -fib 1" route_vpn0_myself1="-host yyy.yyy.yyy.yyy -iface lo0 -fib 1" ipv6_static_routes="ovhgw" static_routes="vpn0_jails vpn0_myself0 vpn0_myself1" tcp_extensions="YES" pf_enable="YES" pflog_enable="YES" ~~~ I also tried without enabling the firewall, same result
Are you seeing any warnings in dmesg? Does the problem occur with the out-of-tree version of the ix driver (https://downloadcenter.intel.com/download/14688/Intel-Network-Adapters-Driver-for-PCIe-10-Gigabit-Network-Connections-Under-FreeBSD-?product=36773)?
No warning in dmesg. I just try 3.3.18 from the intel site (I followed your link), it is not building: Warning: Object directory not changed from original /root/ix-3.3.18/src cc -O2 -pipe -DSMP -DINET -DINET6 -DIXGBE_STANDALONE_BUILD -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -MD -MF.depend.if_ix.o -MTif_ix.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c if_ix.c -o if_ix.o In file included from if_ix.c:42: In file included from ./ixgbe.h:93: ./freebsd_compat_common.h:142:15: error: redefinition of typedef 'iflladdr_cb_t' is a C11 feature [-Werror,-Wtypedef-redefinition] typedef u_int iflladdr_cb_t(void *, struct sockaddr_dl *, u_int); ^ /usr/src/sys/net/if_var.h:742:15: note: previous definition is here typedef u_int iflladdr_cb_t(void *, struct sockaddr_dl *, u_int); ^ 1 error generated. *** Error code 1
Problem is not reproduced in 13.0-rc2