net/hns3: replace max private macro