• Olof Johansson's avatar
    pasemi_mac: further performance tweaks · ad5da10a
    Olof Johansson authored
    pasemi_mac: further performance tweaks
    
    Misc driver tweaks for pasemi_mac:
    	* Increase ring size (really needed mostly on 10G)
    	* Take out an unneeded barrier
    	* Move around a few prefetches and reorder a few calls
    	* Don't try to clean on full tx buffer, just let things
    	  take their course and stop the queue directly
    	* Avoid filling on the same line as the interface is
    	  working on to reduce cache line bouncing
    	* Avoid unneeded clearing of software state (and make the
    	  interface shutdown code handle it)
    	* Fix up some of the tx ring wrap logic.
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    ad5da10a
pasemi_mac.c 34.9 KB