]> git.baikalelectronics.ru Git - kernel.git/commit
nfp: ccm: increase message limits
authorDirk van der Merwe <dirk.vandermerwe@netronome.com>
Tue, 9 Jul 2019 02:53:11 +0000 (19:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 03:21:09 +0000 (20:21 -0700)
commitbd8ea9a7e8c948482f41271ded9f82fcc1bbdb28
tree23966c2e2ee5dc8ea3dc4e74f74f8fa338c9bad4
parent63e9ee030a27f1044443ccc1b63afa219bc1a83c
nfp: ccm: increase message limits

Increase the batch limit to consume small message bursts more
effectively. Practically, the effect on the 'add' messages is not
significant since the mailbox is sized such that the 'add' messages are
still limited to the same order of magnitude that it was originally set
for.

Furthermore, increase the queue size limit to 1024 entries. This further
improves the handling of bursts of small control messages.

Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/ccm_mbox.c