Interrupt aggregation allows an NIC not to interrupt immediately after receiving a packet. Instead, it waits a period of time for more packets. In this case, CPUs can process more packets at a time, reducing the overhead. Therefore, you are advised to set these parameters based on the application latency requirements.
Solution (CentOS is used as an example):
ethtool -C ethX adaptive-rx off adaptive-tx off rx-usecs N rx-frames N tx-usecs N tx-frames N
The larger the value of N, the less the interrupts and the longer the latency. ethX indicates the NIC name.
