Improve code reuse in the provider MAC bridge