net/octeontx2: add flow MCAM utility functions