]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r366929 and r367608.
authorNavdeep Parhar <np@FreeBSD.org>
Tue, 24 Nov 2020 00:17:05 +0000 (00:17 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Tue, 24 Nov 2020 00:17:05 +0000 (00:17 +0000)
commit1bb7ac51dfd1596a9e8d2dfc232ce96cba021404
tree84c63c4109f3c918c95410cd7d21d6f11e726abb
parent6b2a76d2fcb63b4844f4a0516ed012e0ef3d76f2
MFC r366929 and r367608.

r366929:
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

r367608:
cxgbev(4): Make sure that the iq/eq map sizes are correct for VFs.

This should have been part of r366929.

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
sys/dev/cxgbe/t4_vf.c