def check_vnic_type_and_vendor_info(self, vnic_type, profile):
<EOL>if vnic_type not in self.supported_sriov_vnic_types:<EOL><INDENT>LOG.info('<STR_LIT>', vnic_type)<EOL>return False<EOL><DEDENT>if not profile:<EOL><INDENT>return False<EOL><DEDENT>return self._check_for_supported_vendor(profile)<EOL>
Checks if this vnic_type and vendor device info are supported.

        Returns True if:
        1. the port vnic_type is direct or macvtap and
        2. the vendor_id and product_id of the port is supported by
        this MD
        Useful in determining if this MD should bind the current
        port.