felink version 25011700
Convert a given E-link number into (lp)GBT, egroup and epath numbers, or vice versa.
The E-link number is provided as a (hex) number directly (-e option)
or as a set of -G/g/p options.
Optionally checks if this E-link is valid and configured on a given FLX-device (option -d),
in to-host and from-host direction, taking into account GBT or lpGBT.

Using option -d without providing an e-link number can be used to list
*enabled* e-links in both ToHost and FromHost directions on the FLX-device.

Use option -l or -L to display a list of valid ((lp)GBT) E-link numbers,
optionally in combination with -G or -g options to restrict the output
to a particular link and/or egroup.
(Note that E-link numbers are also shown by the elinkconfig GUI).

Usage: felink [-h|V] [-d <devnr>] (-e|E <elink>
               | (-G <lnk> (-g <group> -p <path>))
  -h         : Show this help text.
  -V         : Show version.
  -d <devnr> : FLX-device to use (default: 0).
  -e <elink> : GBT E-link number (hex) or use -G/g/p options.
  -E <elink> : lpGBT E-link number (hex) or use -G/g/p options.
  -G <lnk>   : (lp)GBT-link number.
  -g <group> : Group number.
  -i <dma>   : In combination with -d lists enabled (ToHost) e-links
               assigned to the given DMA descriptor index only.
  -l|L       : Show a list of valid GBT or lpGBT E-link numbers
               (use options -G/g/p to restrict the list).
  -p <path>  : E-path number.
