Optimize Elan flow table process