• Sagi Grimberg's avatar
    nvme-tcp: support simple polling · 1a9460ce
    Sagi Grimberg authored
    Simple polling support via socket busy_poll interface.
    Although we do not shutdown interrupts but simply hammer
    the socket poll, we can sometimes find completions faster
    than the normal interrupt driven RX path.
    
    We add per queue nr_cqe counter that resets every time
    RX path is invoked such that .poll callback can return it
    to stay consistent with the semantics.
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarSagi Grimberg <sagi@grimberg.me>
    1a9460ce
tcp.c 58.2 KB