git: b96549f057c0 - main - struct ifnet: add if_capabilities2 and if_capenable2 bitmasks
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 May 2022 20:59:41 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=b96549f057c0b7119f1c65b1bb2bfdf9e0d4b2d4 commit b96549f057c0b7119f1c65b1bb2bfdf9e0d4b2d4 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2022-04-11 22:35:53 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2022-05-24 20:59:32 +0000 struct ifnet: add if_capabilities2 and if_capenable2 bitmasks We are running out of bits in if_capabilities. Suggested by: jhb Reviewed by: hselasky, jhb, kp (previous version) Sponsored by: NVIDIA Networking MFC after: 3 weeks Differential revision: https://reviews.freebsd.org/D32551 --- sys/net/if_var.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 2c09795c6b36..4f138f0368c0 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -342,7 +342,9 @@ struct ifnet { int if_flags; /* up/down, broadcast, etc. */ int if_drv_flags; /* driver-managed status flags */ int if_capabilities; /* interface features & capabilities */ + int if_capabilities2; /* part 2 */ int if_capenable; /* enabled features & capabilities */ + int if_capenable2; /* part 2 */ void *if_linkmib; /* link-type-specific MIB data */ size_t if_linkmiblen; /* length of above data */ u_int if_refcount; /* reference count */