net/dpaa2: use link status helper functions