net/ice/base: add more APIs in switch module