]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Use the correct filter width for T5+.
authorNavdeep Parhar <np@FreeBSD.org>
Fri, 19 Feb 2021 22:18:08 +0000 (14:18 -0800)
committerNavdeep Parhar <np@FreeBSD.org>
Fri, 19 Feb 2021 22:23:58 +0000 (14:23 -0800)
commit0460a45062dfeb98b1f1f7a3a7b9268662b61545
tree48b99a85f839829a38d279131290c51aa4de0426
parentc91dda5ad923f24ef2e538b8dc180fa98598b4db
cxgbe(4): Use the correct filter width for T5+.

T5 and above have extra bits for the optional filter fields.  This is a
correctness issue and not just a waste because a filter mode valid on a
T4 (36b) may not be valid on a T5+ (40b).

MFC after: 2 weeks
Sponsored by: Chelsio Communications
sys/dev/cxgbe/common/common.h
sys/dev/cxgbe/common/t4_hw.c
sys/dev/cxgbe/common/t4_hw.h