fm10k: Implement PF <-> SM mailbox operations
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 20 Sep 2014 23:47:33 +0000 (19:47 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Sep 2014 10:59:14 +0000 (03:59 -0700)
commit1337e6b9775639ce10b4b454b8d018470886d7f3
treeee39830defd1cce67c1fb7d5c04073ae36fbe9ff
parent6b1f201f1a32cc88af405b07cc2cfd5dcc308df1
fm10k: Implement PF <-> SM mailbox operations

This patch adds support for the mailbox that connects the PF to the Switch
Management entity.  This mailbox will pass TLV formatted messages between
the two entities by using a pair of shared ring buffers.

The primary use of the mailbox is to configure L2 forwarding addresses,
VLANs, and general resource allocation from the switch.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/Makefile
drivers/net/ethernet/intel/fm10k/fm10k_mbx.c [new file with mode: 0644]
drivers/net/ethernet/intel/fm10k/fm10k_mbx.h