]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): fix the size of the iq/eq maps.
authorNavdeep Parhar <np@FreeBSD.org>
Thu, 22 Oct 2020 08:40:25 +0000 (08:40 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Thu, 22 Oct 2020 08:40:25 +0000 (08:40 +0000)
commitb20b25e744778ac54d54f5486035e70d6570f4d9
tree57112770e672c2785b6680f198f700ea256bb83c
parentf85aa8589510cea6386047163985c8ea1fa6b73e
cxgbe(4): fix the size of the iq/eq maps.

The firmware can allocate ingress and egress context ids anywhere from
its configured range.  Size the iq/eq maps to match the entire range
instead of assuming that the firmware always allocates the first
available context id.

Reported by: Baptiste Wicht @ Verisign
MFC after: 1 week
Sponsored by: Chelsio Communications
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_netmap.c
sys/dev/cxgbe/t4_sge.c