net: Add layer 2 hardware acceleration operations for macvlan devices