aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/netronome/nfp/ccm.h
diff options
context:
space:
mode:
authorJakub Kicinski2019-07-08 19:53:08 -0700
committerDavid S. Miller2019-07-08 20:21:09 -0700
commit0f93242d96ff5a04fe02c4978e8dddb014235971 (patch)
tree396994ed9cff2abe85a98156e1e95fc066c5f4eb /drivers/net/ethernet/netronome/nfp/ccm.h
parent3cab2afb149ceedd324d14c6562224fb925252a6 (diff)
nfp: tls: ignore queue limits for delete commands
We need to do our best not to drop delete commands, otherwise we will have stale entries in the connection table. Ignore the control message queue limits for delete commands. Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome/nfp/ccm.h')
-rw-r--r--drivers/net/ethernet/netronome/nfp/ccm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/ccm.h b/drivers/net/ethernet/netronome/nfp/ccm.h
index da1b1e20df51..a460c75522be 100644
--- a/drivers/net/ethernet/netronome/nfp/ccm.h
+++ b/drivers/net/ethernet/netronome/nfp/ccm.h
@@ -118,6 +118,10 @@ bool nfp_ccm_mbox_fits(struct nfp_net *nn, unsigned int size);
struct sk_buff *
nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
unsigned int reply_size, gfp_t flags);
+int __nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb,
+ enum nfp_ccm_type type,
+ unsigned int reply_size,
+ unsigned int max_reply_size, bool critical);
int nfp_ccm_mbox_communicate(struct nfp_net *nn, struct sk_buff *skb,
enum nfp_ccm_type type,
unsigned int reply_size,