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)
commit6051cba77c1c768d954cf9e423c44bcb85b9adb8
tree89ec7e1b24b041d308b0f2ecfac14654080870c1
parenta2dc5dedbbb32d082a9b6edf8793734dbfd59315
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