1. A method for hybrid remote direct memory access (RDMA), the method comprising: receiving, by a first computer, a packet that was sent over a network from a second computer, wherein the packet comprises data and metadata; determining, in response to the metadata, whether the data should be directly written to a first application memory of the first computer by a first hardware accelerator of the first computer, or indirectly written to the first application memory; indirectly writing the data to the first application memory if it is determined that the data should be indirectly written to the first application memory; if it is determined that the data should be directly written to the first application memory, then: directly writing, by the first hardware accelerator, the data to the first application memory without writing the data to any buffer of the operating system; informing a first RDMA software module, by the first hardware accelerator, that the data was directly written to the first application memory; and notifying, by the first RDMA software module, the second computer about completion of an RDMA transaction during which the data was directly written to the first application memory, wherein informing the first RDMA software module that the data was directly written to the first application memory includes: amending the metadata to generate amended metadata, wherein the amended metadata indicates that the data was directly written to the first application memory; and sending the amended metadata to an accessible buffer that is accessible by the first RDMA software module, and wherein determining whether the data should be directly written to the first application memory includes validating that a tunnel protocol header of the metadata indicates that the packet is RDMA eligible, and checking that a queue associated with the packet is associated with acceleration.