ena0: Cannot get hash function - after upgrade to 12.3

From: Matt Magoffin <matt_at_msqr.us>
Date: Tue, 01 Feb 2022 22:30:54 UTC
Hello,

I recently upgraded some EC2 instances from 12.2-RELEASE to 12.3-RELEASE and now the kernel log has several hundred log messages each day like this:

ena0: Cannot get hash function

The system seems to be running OK, and networking is working AFAIK, but I wondered if I could fix/suppress those messages. I could not find references to this message via online searches, but I do see it in the source:

https://github.com/freebsd/freebsd-src/blob/8a5b4859c7fcefac7db611ef38450ef0a66d68a8/sys/dev/ena/ena_sysctl.c#L761-L764

I see there is mention of a dev.ena.X.rss.key sysctl that I wondered if was relevant:

https://github.com/freebsd/freebsd-src/blob/8a5b4859c7fcefac7db611ef38450ef0a66d68a8/sys/dev/ena/ena_sysctl.c#L455-L458

However the only sysctl values I see are:

# sysctl -a | grep 'dev.ena.0.rss'
dev.ena.0.rss.indir_table_size: 128
dev.ena.0.rss.indir_table: 0:0 1:1 …

Any help appreciated,
Matt