29 Dec, 2010

1 commit


11 Dec, 2010

1 commit


25 Oct, 2010

1 commit


16 Jul, 2010

2 commits

  • Update copyright information to reflect the Exar purchase of Neterion

    Signed-off-by: Jon Mason
    Signed-off-by: Sreenivasa Honnur
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Jon Mason
     
  • NETIF_F_LLTX and it's usage of local transmit locks are depricated in
    favor of using the netdev queue's transmit lock. Remove the local
    lock and all references to it, and use the netdev queue transmit lock
    in the transmit completion handler.

    Signed-off-by: Jon Mason
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Jon Mason
     

14 May, 2010

1 commit

  • This patch removes from drivers/net/ all the unnecessary
    return; statements that precede the last closing brace of
    void functions.

    It does not remove the returns that are immediately
    preceded by a label as gcc doesn't like that.

    It also does not remove null void functions with return.

    Done via:
    $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
    xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'

    with some cleanups by hand.

    Compile tested x86 allmodconfig only.

    Signed-off-by: Joe Perches
    Signed-off-by: David S. Miller

    Joe Perches
     

30 Mar, 2010

2 commits

  • - Fixed MSIX interrupt configuration to support non contiguous vpaths in
    functions. Four msi-x vectors are reserved per vpath internal to the chip.
    In all, there are 68 msi-x vectors for the 17 vpaths in the chip. In the
    multi function configurations, non-contiguous vpaths are configured to
    represent a function. For instance vpaths 0 and 8 can be configured to
    represent function zero.

    - If pci_enable_msix fails for the requested vectors, try with a lesser number
    vectors by reducing the vpath count.

    Signed-off-by: Sreenivasa Honnur
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Sreenivasa Honnur
     
  • - Fix a receive stall due to driver being out of synch with chip. In a corner
    case scenario the adapter's ring controller may return a RxD with transfer code
    of 0xC, while the host ownership bit is still set to the adapter. The driver
    needs to assume that this case where (host_ownership == 1 or adapter) and
    (transfer_code == 0xC) is valid, that is, this RxD has been returned by the
    receive ring controller but no frame data is associated with the rxd.

    - Restore the transfer code field of each newly replenished RxD to 0x0.

    - Code cleanup. Removed usage of magic numbers.

    Signed-off-by: Sreenivasa Honnur
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Sreenivasa Honnur
     

04 Dec, 2009

1 commit

  • Only files where David Miller is the primary git-signer.
    wireless, wimax, ixgbe, etc are not modified.

    Compile tested x86 allyesconfig only
    Not all files compiled (not x86 compatible)

    Added a few > 80 column lines, which I ignored.
    Existing checkpatch complaints ignored.

    Signed-off-by: Joe Perches
    Signed-off-by: David S. Miller

    Joe Perches
     

07 Oct, 2009

2 commits


06 Aug, 2009

3 commits

  • This patch prefetches RxD descriptors which helps to lower the latency of a
    cache miss in vxge_hw_ring_rxd_next_completed. This lowers the % of CPU
    time used by vxge_hw_ring_rxd_next_completed() where the descriptor is
    accessed in profiling netperf on a P4 Xeon from 1.5% to 1.0%.

    Signed-off-by: Benjamin LaHaise
    Signed-off-by: Sreenivasa Honnur
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Benjamin LaHaise
     
  • wmb() is extremely heavy on x86. The semantics required in the driver are
    provided by mmiowb(), so use that and improve tx performance on P4 Xeons by
    5-10%.

    Signed-off-by: Benjamin LaHaise
    Signed-off-by: Sreenivasa Honnur
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Benjamin LaHaise
     
  • This patch fixes a case in the transmit completion code which was resulting
    in pktgen hanging at the end of a run. The cause is due to the fact that
    the ->cb[] area of an skb cannot be used in a network driver's transmit
    path, as that area belongs to the network protocol. Pktgen hangs, as it
    sends out the same packet multiple times, and vxge's use of this area of
    the skb for a temporary list can only add the packet to the temporary list
    once (while it may be on the queue many times). The fix is to remove this
    abuse of skb->cb[]. Instead, skb pointers are placed into a temporary
    stack array, and then free outside of the tx lock. This retains the smp
    optimization of doing dev_kfree_skb() outside of the tx lock.

    Signed-off-by: Benjamin LaHaise
    Signed-off-by: Sreenivasa Honnur
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Benjamin LaHaise
     

19 May, 2009

1 commit


18 May, 2009

1 commit


30 Apr, 2009

1 commit


27 Apr, 2009

2 commits


02 Apr, 2009

1 commit

  • This patch takes care of trafic handling related APIS.
    - Interrupt Enable and disable
    - Mask / Unmask Interrupt
    - Traffic Interrupt handling.
    - Alarm Interrupt handling.

    - Changes in this submission -
    - General clean up - removed redundant includes, defines and macros.

    - Changes in previous submissions -
    - General cleanup - removed unused functions and variables.
    - Use asserts where necessary - Reported by Andi Kleen
    - Fixed sparse warnings - Reported by Andi Kleen
    - Use a prefix, "__vxge" in front of hw functions to make them globally
    unique - Ben Hutchings

    Signed-off-by: Sivakumar Subramani
    Signed-off-by: Rastapur Santosh
    Signed-off-by: Ramkrishna Vepa
    Signed-off-by: David S. Miller

    Ramkrishna Vepa