1 of 1 people found this helpful
COMMIT Action can be used in the GPIF II state when short packets are received.
As per the gpif2_user_guide, COMMIT Action commits or wraps up the buffer associated with the selected Ingress thread and socket. The buffer will be transferred to the consumer side of the pipe. Typically this is used to wrap up the buffer in between a transaction pre-maturely
As your application uses FX3 back to back (one as master and another one as a slave), please refer to section 6.3 (note section) of the AN87216 application note where it is explained how COMMIT action can be used to read short packets (on the master side). Similarly, in the Slave state machine COMMIT action can be used instead of INTR_CPU when the PKTEND signal is asserted (this shows a short packet is sent from master) but note that IN_DATA action needs to be used in the same state where the COMMIT action is added so that the ZLP is not committed.
Please let me know if more queries on this