diff options
author | Sunil Goutham <sgoutham@cavium.com> | 2017-05-02 18:36:52 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-02 15:41:21 -0400 |
commit | 0dada88b8cd74569abc3dda50f1b268a5868f6f2 (patch) | |
tree | 8f2c26a5ef9427483375de3f208357c3150f3601 /net/unix/garbage.c | |
parent | 5e848e4c5d77438e126c97702ec3bea477f550a9 (diff) |
net: thunderx: Optimize CQE_TX handling
Optimized CQE handling with below changes
- Feeing descriptors back to SQ in bulk i.e once per NAPI
instance instead for every CQE_TX, this will reduce number
of atomic updates to 'sq->free_cnt'.
- Checking errors in CQE_TX and CQE_RX before calling appropriate
fn()s to update error stats i.e reduce branching.
Also removed debug messages in packet handling path which otherwise
causes issues if DEBUG is enabled.
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions