net/sfc/base: update external port number calculation