summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h
AgeCommit message (Collapse)Author
2014-03-31dpaa_eth: minor improvements for oNICMarian Rotariu
1. correct kernel 3.12 checkpatch errors These error are related to the copyright comments at the beginning of each file and to the usage of seq_puts for non-formatted strings. 2. create specific frame queue initialization function Now, the frame queues are initialized with the standard DPAA Ethernet function. With this patch a specific initialization function that does not have CGR or configurmation queues is created for oNIC. 3. remove unuseful operations from buffer pool probing function There is no need for physical address of the buffers since the buffers are in kernel memory space. Also, the fill of the buffer pools is done when the interface is raised removing the need for a standard seeding callback. 4. add support for mac address modification If the user tries to modify the mac address he will receive "operation not supported". With this patch you will be able to add a different mac address. This is a "virtual" mac address recognized only in the kernel. oNIC does not have a mac device underneath. Change-Id: I8e3d884105f2e8f96667b2f83df16761464be6e7 Signed-off-by: Marian Rotariu <marian.rotariu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/10495 Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com> Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
2014-03-26dpaa_eth: oNICMarian Rotariu
This is a new flavour of DPAA Ethernet Driver designed to be used in offload scenarios similar to DPAA Offload Driver. It was developed on top of current macless driver implementation adding 0-copy, CSUM offload and the ability to manage its own buffer pools. oNIC communicates with the underlying architecture by using two different O/H ports, one for Rx and one for Tx. Change-Id: Ifd59231470a62c272543ff4b0db1b6ab7e1893b1 Signed-off-by: Marian Rotariu <marian.rotariu@freescale.com> Reviewed-on: http://git.am.freescale.net:8181/9023 Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com> Reviewed-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com> (cherry picked from commit bc625b9f52b9ba0734698cc74187475d333bf160) Reviewed-on: http://git.am.freescale.net:8181/10258 Tested-by: Madalin-Cristian Bucur <madalin.bucur@freescale.com>