]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: mailboxes: remove code duplication
authorSunil Goutham <sgoutham@cavium.com>
Sun, 30 Aug 2015 09:29:11 +0000 (12:29 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2015 04:54:11 +0000 (21:54 -0700)
commit3e5b6b7846935371d3e3262a4c241a4474e01cb9
tree89ec7e1b24b041d308b0f2ecfac14654080870c1
parent92f21fa8b6ad16088ad0108cc571f8cb57400215
net: thunderx: mailboxes: remove code duplication

Use the nicvf_send_msg_to_pf() function in the mailbox code.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic.h
drivers/net/ethernet/cavium/thunder/nicvf_main.c