summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome/nfp/ccm_mbox.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-06-10 21:40:04 -0700
committerDavid S. Miller <davem@davemloft.net>2019-06-11 12:22:26 -0700
commitd7053e0433c2f6a53c049548500f6037c955b2c9 (patch)
treef95a4f2bcc643a6fbd791fa9081cec04e99f5a43 /drivers/net/ethernet/netronome/nfp/ccm_mbox.c
parent5bcb5c7e981b7b144b3bb23c108f57e29ae809a0 (diff)
downloadlinux-stable-d7053e0433c2f6a53c049548500f6037c955b2c9.tar.gz
linux-stable-d7053e0433c2f6a53c049548500f6037c955b2c9.tar.bz2
linux-stable-d7053e0433c2f6a53c049548500f6037c955b2c9.zip
nfp: rename nfp_ccm_mbox_alloc()
We need the name nfp_ccm_mbox_alloc() for allocating the mailbox communication channel itself. 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_mbox.c')
-rw-r--r--drivers/net/ethernet/netronome/nfp/ccm_mbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/netronome/nfp/ccm_mbox.c b/drivers/net/ethernet/netronome/nfp/ccm_mbox.c
index e5acd96c3335..53995d53aa3f 100644
--- a/drivers/net/ethernet/netronome/nfp/ccm_mbox.c
+++ b/drivers/net/ethernet/netronome/nfp/ccm_mbox.c
@@ -564,8 +564,8 @@ err_free_skb:
}
struct sk_buff *
-nfp_ccm_mbox_alloc(struct nfp_net *nn, unsigned int req_size,
- unsigned int reply_size, gfp_t flags)
+nfp_ccm_mbox_msg_alloc(struct nfp_net *nn, unsigned int req_size,
+ unsigned int reply_size, gfp_t flags)
{
unsigned int max_size;
struct sk_buff *skb;