The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=164bddf01b5718c6aec73be112b4dada78934c68
commit 164bddf01b5718c6aec73be112b4dada78934c68 Author: Navdeep Parhar <[email protected]> AuthorDate: 2026-03-08 19:34:32 +0000 Commit: Navdeep Parhar <[email protected]> CommitDate: 2026-03-08 19:34:47 +0000 cxgbe: Shrink the size of csum_types The checksum types fit in 4b and don't need a full 32b int. MFC after: 1 week Sponsored by: Chelsio Communications --- sys/dev/cxgbe/t4_sge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c index af18b3019760..a9243ff121a6 100644 --- a/sys/dev/cxgbe/t4_sge.c +++ b/sys/dev/cxgbe/t4_sge.c @@ -5469,7 +5469,7 @@ csum_to_ctrl(struct adapter *sc, struct mbuf *m) uint64_t ctrl; int csum_type, l2hlen, l3hlen; int x, y; - static const int csum_types[3][2] = { + static const uint8_t csum_types[3][2] = { {TX_CSUM_TCPIP, TX_CSUM_TCPIP6}, {TX_CSUM_UDPIP, TX_CSUM_UDPIP6}, {TX_CSUM_IP, 0}
