x86_64-centos9-gcc11-opt/felix-star/felix-file2host --help 
felix-file2host - FELIX central data acquisition application

    Usage:
      felix-file2host [options --stream=TAG... --tag=TAG...] FILE

    General Options:
        --bus-dir=DIRECTORY         Write felix-bus information to this directory. [default: ./bus]
        --bus-groupname=NAME        Use this groupname for the bus. [default: FELIX]
        --cid=N                     CID (Connector Id) to set in FID (Felix ID), incompatible with --co. [default: device]
        --co=N                      CO (Connector Offset) to offset FID (Felix ID), incompatible with --did and --cid.
        --did=N                     DID (Detector Id) to set in FID (Felix ID), incompatible with --co. [default: 0]
    -d, --device=DEVICE             Use FLX device DEVICE. [default: 0]
        --error-out=FIFO            Write error information to a UNIX FIFO
        --free-cmem                 Free previously booked cmem segment by name-<device>-<dma>
        --iface=IFACE               Send data to the interface. [calculated: use --ip value]
    -i, --ip=IP                     Publish data on the ip address IP. [default: libfabric:127.0.0.1]
    -b, --netio-pagesize=SIZE       NetIO page size in Byte. [default: 65536]
    -B, --netio-pages=SIZE          Number of NetIO pages. [default: 256]
        --stats-out=FIFO            Write periodic statistics data to a UNIX FIFO
        --stats-period=ms           Period in milliseconds for statistics dumps. [default: 1000]
    -?, --help                      Give this help list
    -v, --verbose                   Produce verbose output
    -V, --version                   Print program version
        --vid=N                     VID (Version Id) to set in FID (Felix ID), incompatible with --co. [default: 1]
    -w, --netio-watermark=SIZE      NetIO watermark in Byte. [default: 57344]

    ToHost Options:
        --buffered                  Enable buffered mode (FULL-mode only)
    -c, --cmem=SIZE                 CMEM buffer size in MB. [default: 1024]
        --daq-tcp                   Use TCP/IP fo DAQ traffic.
        --dcs-iface=IFACE           Use TCP/IP for DCS on this network interface. [calculated: use libfabric on main iface]
        --dcs-pages=SIZE            DCS Number of NetIO pages. [default: 512]
        --dcs-pagesize=SIZE         DCS NetIO page size in Byte. [default: 1024]
        --dcs-rate-limit=LIMIT      Drop DCS messages when elink message is above the given rate in KHz. [default: 0]
        --dcs-size-limit=LIMIT      Drop DCS messages when message size is 0 B or above this threshold in Byte. [default: 20]
        --dcs-timeout=SIZE          DCS NetIO timeout in ms. [default: 1]
        --dcs-unbuffered            DCS unbuffered mode.
        --dcs-watermark=SIZE        DCS NetIO watermark in Byte. [default: 972]
    -D, --dma=ID                    Use DMA descriptor ID. [default: 0]
        --elink-offset=N            Offset for elinks as they are output and published from felix-star (compatibility option). [default: 0]
    -l, --l1id-check=FORMAT         Check L1ID sequence. Formats: 1=TTC2H only, 2=LATOME, 3=FMEMU, 4=FELIG, 5=NSWVMM, 6=NSWTP.
                                    Slow for unbuffered DAQ. [default: 0]
        --max-chunk-size-buffered=LIMIT     Maximum chunk size supported for buffered traffic. Larger chunks are truncated. [calculated: MAX_BUF_CHUNK_SIZE]
    -p, --port=PORT                 Publish data on port PORT. [calculated: 53100 + 10*device + dma]
    -P, --poll-period=us            Polling instead of interrupt-driven readout with the given poll period in microseconds [default: 0]
    -R, --priority                  Enables round-robin scheduling for main thread (priority value 2).
    -s, --dcsport=PORT              Publish DCS data on port PORT. [calculated: 53500 + 10*device + dma]
        --ttc-netio-pages=SIZE      TTC Number of NetIO pages. [default: 512]
        --ttc-netio-pagesize=SIZE   TTC NetIO page size in Byte. [default: 1536]
        --ttc-netio-timeout=SIZE    TTC NetIO timeout in ms. Not necessary as TTC2H buffers are flushed at end-of-block. [default: 0]
        --ttc-netio-watermark=SIZE  TTC NetIO watermark in Byte. [default: 1248]
    -t, --ttcport=PORT              Publish TTC2H data on port PORT. [calculated: 53300 + 10*device + dma]
    -T, --netio-timeout=SIZE        NetIO timeout in ms. [default: 2]
        --warn-bcr-period           Print warning message when non-periodic BCR is detected.

    File Options:
        --no-of-tags=SIZE           Read no of tags starting at --tag (elink) from file. [default: 1]
        --regmap=hex_version        Register map version. [calculated: from compile definition of REGMAP_VERSION]
    -t, --tag=TAG                   Read tag (elink) from file. This option may be used multiple times (2048 max).
        --vmem                      Use virtual memory instead of cmem.

    FileToHost Options:
        --block-rate=RATE           Use to define the reading rate. [default: 0] (max.speed)
        --block-size=SIZE           Use as block size, multiple of 1024. [default: 1024]
    -m, --full-mode                 Use full-mode. [default: gbt-mode]
        --no-repeat                 Do not repeat reading the file
        --ttc2h-enable              Enable TTC2H elink
    -u, --stream=TAG                Read tag (elink streams) from file. This option may be used multiple times (2048 max).

Report bugs to <https://its.cern.ch/jira/projects/FLXUSERS>.

