MFH: sync the netmap code with the one in HEAD(enhanced VALE switch, netmap pipes, emulated netmap mode).See details in the log for svn 261909.