Support for RTL838x based managed switches

Thank you for the explanation.

Submitted PR #14967 for review.
Thank you for any feedback on this.