net/cnxk: add callback to get link status