]> git.baikalelectronics.ru Git - kernel.git/commit
qed: Add driver infrastucture for handling mfw requests.
authorSudarsana Reddy Kalluru <sudarsana.kalluru@cavium.com>
Tue, 22 May 2018 07:28:41 +0000 (00:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 03:29:54 +0000 (23:29 -0400)
commit25fc601b6238dac2099b149d4d3c916d212aeab7
tree41733d309646b1822078d76d6d004c48005cf0ef
parentc7b7a32ab698960c74605cc95a8b336d1d8d8bfe
qed: Add driver infrastucture for handling mfw requests.

MFW requests the TLVs in interrupt context. Extracting of the required
data from upper layers and populating of the TLVs require process context.
The patch adds work-queues for processing the tlv requests. It also adds
the implementation for requesting the tlv values from appropriate protocol
driver.

Signed-off-by: Sudarsana Reddy Kalluru <Sudarsana.Kalluru@cavium.com>
Signed-off-by: Ariel Elior <ariel.elior@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed.h
drivers/net/ethernet/qlogic/qed/qed_main.c
drivers/net/ethernet/qlogic/qed/qed_mcp.c
include/linux/qed/qed_if.h