git: ac77837ca758 - main - dtsec(4): Restore IFCAP_JUMBO_MTU lost in IfAPI conversion
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Sep 2023 20:57:35 UTC
The branch main has been updated by jhibbits: URL: https://cgit.FreeBSD.org/src/commit/?id=ac77837ca7583221f5ef2d63235fd19ac9c571f7 commit ac77837ca7583221f5ef2d63235fd19ac9c571f7 Author: Justin Hibbits <jhibbits@FreeBSD.org> AuthorDate: 2023-09-02 20:52:30 +0000 Commit: Justin Hibbits <jhibbits@FreeBSD.org> CommitDate: 2023-09-02 20:59:09 +0000 dtsec(4): Restore IFCAP_JUMBO_MTU lost in IfAPI conversion Also add IFCAP_VLAN_MTU, since it's supported. Fixes: 0083fc5c7 ("Mechanically convert dtsec(4) to IfAPI") MFC after: 1 week --- sys/dev/dpaa/if_dtsec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/dpaa/if_dtsec.c b/sys/dev/dpaa/if_dtsec.c index de5ca75c9a77..73272e1af79e 100644 --- a/sys/dev/dpaa/if_dtsec.c +++ b/sys/dev/dpaa/if_dtsec.c @@ -735,6 +735,7 @@ dtsec_attach(device_t dev) if_setsendqready(ifp); #endif + if_setcapabilities(ifp, IFCAP_JUMBO_MTU | IFCAP_VLAN_MTU); if_setcapenable(ifp, if_getcapabilities(ifp)); /* Attach PHY(s) */