diff options
author | Marian Rotariu <marian.rotariu@freescale.com> | 2014-03-28 09:33:23 (GMT) |
---|---|---|
committer | Madalin-Cristian Bucur <madalin.bucur@freescale.com> | 2014-03-31 08:44:34 (GMT) |
commit | 98a3e0d1626755fce93fb3451bc3ce41cddc5d8a (patch) | |
tree | d024cbc2027720cc4488335bb19160179b55e9e2 /drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h | |
parent | 0506e775d04d8f303f3ca3abfd18096f3c4f0df5 (diff) | |
download | linux-fsl-qoriq-98a3e0d1626755fce93fb3451bc3ce41cddc5d8a.tar.xz |
dpaa_eth: minor improvements for oNIC
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>
Diffstat (limited to 'drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h b/drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h index 73447e4..56e7fb3 100644 --- a/drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h +++ b/drivers/net/ethernet/freescale/dpa/dpaa_generic_debugfs.h @@ -1,5 +1,4 @@ -/* - * Copyright 2013 Freescale Semiconductor Inc. +/* Copyright 2013 Freescale Semiconductor Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: |