]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
IPoIB: Add send gather support
authorEli Cohen <eli@mellanox.co.il>
Wed, 30 Jan 2008 16:30:53 +0000 (18:30 +0200)
committerRoland Dreier <rolandd@cisco.com>
Fri, 8 Feb 2008 22:32:37 +0000 (14:32 -0800)
commit7143740d26098aca84ecc7376ccfe2c58fd0412e
treec29029045ebdbe197f94ead3e1d6610f498f1880
parenteb14032f9eb595621270f3269f40094adb3144e8
IPoIB: Add send gather support

This patch acts as a preparation for using checksum offload for IB
devices capable of inserting/verifying checksum in IP packets.  The
patch does not actaully turn on NETIF_F_SG - we defer that to the
patches adding checksum offload capabilities.

We only add support for send gathers for datagram mode, since existing
HW does not support checksum offload on connected QPs.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Eli Cohen <eli@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_cm.c
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_verbs.c