is_portid_port
return is_portid_root(portid) || is_portid_port(portid);
event <= VTD_EVNT_MAX && is_portid_port(portid))