/* enables or disables the source port extraction from the VLAN TPID field  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBVlanPortExtractionEnable(IxEthDBPortId portID, BOOL enable)
/* enables or disables the source port extraction from the VLAN TPID field  */
IX_ETH_DB_PUBLIC IxEthDBStatus ixEthDBVlanPortExtractionEnable(IxEthDBPortId portID, BOOL enable)
{
    IxNpeMhMessage message;
    IX_STATUS result;
    IX_ETH_DB_CHECK_PORT(portID);
    IX_ETH_DB_CHECK_SINGLE_NPE(portID);
    IX_ETH_DB_CHECK_FEATURE(portID, IX_ETH_DB_VLAN_QOS);
    FILL_SETPORTIDEXTRACTIONMODE(message, portID, enable);
    IX_ETHDB_SEND_NPE_MSG(IX_ETH_DB_PORT_ID_TO_NPE(portID), message, result);
    return result;
}