• Felipe Damasio's avatar
    [netdrvr 3c527] remove cli/sti · e958d4a0
    Felipe Damasio authored
    
        Richard Procter and I worked to remove cli/sti to add proper SMP support (I did the original stuff and Richard did the actual current code :)).
    
        Besides that, Richard did a great jog improving the perfomance of the driver quite a bit:
    
        - Improve mc32_command by 770% (438% non-inlined) over the semaphore version (at a cost of 1 sem + 2 completions per driver).
    
        - Removed mutex covering mc32_send_packet (hard_start_xmit). This lets the interrupt handler operate concurrently and removes unnecessary locking. It makes the code only slightly more brittle
    
        Original post:
    
    http://marc.theaimsgroup.com/?l=linux-netdev&m=106438449315202&w=2
    
        Since it didn't apply cleanly against 2.6.0-test6, I forward ported it. Patch attached.
    
        Jeff, please consider applying,
    
        Thanks.
    e958d4a0
3c527.c 42.9 KB