[ewg] [PATCH 0/6 RFC] kernel 3.1 support

Shawn Bohrer sbohrer at rgmadvisors.com
Wed Dec 7 16:56:49 PST 2011


This series updates OFED to compile/run on the 3.1 kernel.  I hit some
snags along the way with the vlan code and also with lro/gro and I
suspect my solutions may not be optimal.  These patches appear to work
for me wth mlx4 but I have not done extensive testing.  I'm mainly
throwing these out there for others who need something on 3.1

I'm very much looking forward to the new OFED proposal:

http://www.spinics.net/lists/linux-rdma/msg10274.html

Ideally in the future I won't have to deal with OFED at all if I run a
recent kernel.

Shawn Bohrer (6):
  Add 3.1 kernel support
  Backport dst->neighbour access helpers from 3.1
  checkout_files: Remove socket.h
  mlx4_en: drop lro and add gro support from upstream
  mlx4_en: backport mlx4 do vlan cleanup
  include linux/ip.h for ip_hdr()

 kernel_addons/backport/3.1/include/asm/iomap.h     |    8 +
 .../mlx4_en_0110_QUERY_PORT_from_workque.patch     |   63 +-
 .../backport/3.1/core_0010_to_2_6_36.patch         |   13 +
 ...0020_to_2_6_38-net-get-rid-of-rtable-idev.patch |   61 +
 .../backport/3.1/core_0030_to_2_6_39.patch         |   67 +
 .../backport/3.1/cxgb3_0010_to_2_6_32.patch        |   12 +
 .../backport/3.1/cxgb3_0020_to_2_6_36.patch        |  104 ++
 .../backport/3.1/cxgb3_0030_to_2_6_39.patch        |   13 +
 .../backport/3.1/cxgb3_0040_to_3.0.patch           |   13 +
 .../backport/3.1/ehca-010-remove_driver_data.patch |   60 +
 .../backport/3.1/ehca-020-fix_buswalk.patch        |   17 +
 .../ipoib_0010_unset_IFF_XMIT_DST_RELEASE.patch    |   24 +
 .../backport/3.1/ipoib_0020_to_2_6_34.patch        |   24 +
 .../backport/3.1/ipoib_0030_to_2.6.35.patch        |   44 +
 .../backport/3.1/ipoib_0040_to_2.6.35.patch        |   51 +
 .../backport/3.1/iw_cxgb3_to_2.6.33.patch          |  238 +++
 .../backport/3.1/iw_cxgb3_to_2.6.36.patch          |   21 +
 .../backport/3.1/iw_cxgb3_to_2.6.39.patch          |   33 +
 kernel_patches/backport/3.1/iw_cxgb3_to_3.0.patch  |   15 +
 .../backport/3.1/iw_cxgb4_0020_mpav2.patch         |   59 +
 .../backport/3.1/iw_cxgb4_to_2.6.39.patch          |   13 +
 .../backport/3.1/iw_nes_0700_to_2_6_33.patch       |   38 +
 .../backport/3.1/iw_nes_0710_to_2_6_35.patch       |  281 ++++
 .../backport/3.1/iw_nes_0720_to_2_6_36.patch       |   11 +
 .../backport/3.1/iw_nes_0730_to_2_6_39.patch       |   22 +
 .../backport/3.1/mlx4_0010_for_2_6_33.patch        |   12 +
 .../backport/3.1/mlx4_0020_for_2.6.35.patch        |   22 +
 .../backport/3.1/mlx4_0030_for_2.6.35.patch        |   37 +
 .../backport/3.1/mlx4_en_0010_for_2_6_35.patch     |  146 ++
 .../backport/3.1/mlx4_en_0040_to_2_6_37.patch      |   22 +
 kernel_patches/backport/3.1/mlx4_en_0050_gro.patch |  256 ++++
 .../backport/3.1/mlx4_en_0060_vlan_cleanup.patch   |  407 ++++++
 .../backport/3.1/mlx4_semaphore_include.patch      |   14 +
 .../backport/3.1/mthca_0010_for_2.6.35.patch       |   51 +
 .../backport/3.1/net_0010_skb-dst_accessors.patch  |  149 ++
 .../backport/3.1/net_0020_dst_neighbour.patch      |  453 ++++++
 .../backport/3.1/new_frags_interface.patch         |  131 ++
 kernel_patches/backport/3.1/qib_to_3.0.patch       |  102 ++
 .../backport/3.1/rds_0010_for_2_6_33.patch         |  231 +++
 .../backport/3.1/rds_0020_to_2.6.35.patch          |   52 +
 .../backport/3.1/rds_0030_to_2.6.36.patch          |   59 +
 .../backport/3.1/rds_0040_to_2.6.39.patch          |   41 +
 .../backport/3.1/sdp_0160_fix_sdp_proto.patch      |   13 +
 .../backport/3.1/sdp_0170_to_2_6_33.patch          |   23 +
 .../backport/3.1/sdp_0180_for_2.6.35.patch         |  215 +++
 .../backport/3.1/sdp_0190_for_2.6.36.patch         |  136 ++
 .../backport/3.1/sdp_0200_for_2_6_38.patch         |  106 ++
 .../backport/3.1/sysfs_0010_to_2_6_32.patch        |   14 +
 .../backport/3.1/ucm_0010_to_2_6_32.patch          |   61 +
 .../backport/3.1/user_mad_mutex_init.patch         |   15 +
 .../backport/3.1/uverbs_0010_to_2_6_33.patch       |   34 +
 .../backport/3.1/uverbs_0020_to_2_6_35.patch       |   68 +
 ...pdate-gfp.h-and-slab.h-includes-to-2_6_34.patch | 1523 ++++++++++++++++++++
 ...7-switch-infiniband-uverbs-to-anon_inodes.patch |  256 ++++
 .../fixes/mlx4_en_0060_multiqueue_support.patch    |   64 +-
 .../mlx4_en_0280_change_vlan_managing_scheme.patch |  207 ---
 ofed_scripts/checkout_files                        |    1 -
 ofed_scripts/get_backport_dir.sh                   |    3 +
 58 files changed, 5959 insertions(+), 270 deletions(-)
 create mode 100644 kernel_addons/backport/3.1/include/asm/iomap.h
 create mode 100644 kernel_patches/backport/3.1/core_0010_to_2_6_36.patch
 create mode 100644 kernel_patches/backport/3.1/core_0020_to_2_6_38-net-get-rid-of-rtable-idev.patch
 create mode 100644 kernel_patches/backport/3.1/core_0030_to_2_6_39.patch
 create mode 100644 kernel_patches/backport/3.1/cxgb3_0010_to_2_6_32.patch
 create mode 100644 kernel_patches/backport/3.1/cxgb3_0020_to_2_6_36.patch
 create mode 100644 kernel_patches/backport/3.1/cxgb3_0030_to_2_6_39.patch
 create mode 100644 kernel_patches/backport/3.1/cxgb3_0040_to_3.0.patch
 create mode 100644 kernel_patches/backport/3.1/ehca-010-remove_driver_data.patch
 create mode 100644 kernel_patches/backport/3.1/ehca-020-fix_buswalk.patch
 create mode 100644 kernel_patches/backport/3.1/ipoib_0010_unset_IFF_XMIT_DST_RELEASE.patch
 create mode 100644 kernel_patches/backport/3.1/ipoib_0020_to_2_6_34.patch
 create mode 100644 kernel_patches/backport/3.1/ipoib_0030_to_2.6.35.patch
 create mode 100644 kernel_patches/backport/3.1/ipoib_0040_to_2.6.35.patch
 create mode 100644 kernel_patches/backport/3.1/iw_cxgb3_to_2.6.33.patch
 create mode 100644 kernel_patches/backport/3.1/iw_cxgb3_to_2.6.36.patch
 create mode 100644 kernel_patches/backport/3.1/iw_cxgb3_to_2.6.39.patch
 create mode 100644 kernel_patches/backport/3.1/iw_cxgb3_to_3.0.patch
 create mode 100644 kernel_patches/backport/3.1/iw_cxgb4_0020_mpav2.patch
 create mode 100644 kernel_patches/backport/3.1/iw_cxgb4_to_2.6.39.patch
 create mode 100644 kernel_patches/backport/3.1/iw_nes_0700_to_2_6_33.patch
 create mode 100644 kernel_patches/backport/3.1/iw_nes_0710_to_2_6_35.patch
 create mode 100644 kernel_patches/backport/3.1/iw_nes_0720_to_2_6_36.patch
 create mode 100644 kernel_patches/backport/3.1/iw_nes_0730_to_2_6_39.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_0010_for_2_6_33.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_0020_for_2.6.35.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_0030_for_2.6.35.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_en_0010_for_2_6_35.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_en_0040_to_2_6_37.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_en_0050_gro.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_en_0060_vlan_cleanup.patch
 create mode 100644 kernel_patches/backport/3.1/mlx4_semaphore_include.patch
 create mode 100644 kernel_patches/backport/3.1/mthca_0010_for_2.6.35.patch
 create mode 100644 kernel_patches/backport/3.1/net_0010_skb-dst_accessors.patch
 create mode 100644 kernel_patches/backport/3.1/net_0020_dst_neighbour.patch
 create mode 100644 kernel_patches/backport/3.1/new_frags_interface.patch
 create mode 100644 kernel_patches/backport/3.1/qib_to_3.0.patch
 create mode 100644 kernel_patches/backport/3.1/rds_0010_for_2_6_33.patch
 create mode 100644 kernel_patches/backport/3.1/rds_0020_to_2.6.35.patch
 create mode 100644 kernel_patches/backport/3.1/rds_0030_to_2.6.36.patch
 create mode 100644 kernel_patches/backport/3.1/rds_0040_to_2.6.39.patch
 create mode 100644 kernel_patches/backport/3.1/sdp_0160_fix_sdp_proto.patch
 create mode 100644 kernel_patches/backport/3.1/sdp_0170_to_2_6_33.patch
 create mode 100644 kernel_patches/backport/3.1/sdp_0180_for_2.6.35.patch
 create mode 100644 kernel_patches/backport/3.1/sdp_0190_for_2.6.36.patch
 create mode 100644 kernel_patches/backport/3.1/sdp_0200_for_2_6_38.patch
 create mode 100644 kernel_patches/backport/3.1/sysfs_0010_to_2_6_32.patch
 create mode 100644 kernel_patches/backport/3.1/ucm_0010_to_2_6_32.patch
 create mode 100644 kernel_patches/backport/3.1/user_mad_mutex_init.patch
 create mode 100644 kernel_patches/backport/3.1/uverbs_0010_to_2_6_33.patch
 create mode 100644 kernel_patches/backport/3.1/uverbs_0020_to_2_6_35.patch
 create mode 100644 kernel_patches/backport/3.1/zzz_all_0010-include-cleanup-Update-gfp.h-and-slab.h-includes-to-2_6_34.patch
 create mode 100644 kernel_patches/backport/3.1/zzz_uverbs_0030_to_2_6_37-switch-infiniband-uverbs-to-anon_inodes.patch
 delete mode 100644 kernel_patches/fixes/mlx4_en_0280_change_vlan_managing_scheme.patch

-- 
1.7.6



---------------------------------------------------------------
This email, along with any attachments, is confidential. If you 
believe you received this message in error, please contact the 
sender immediately and delete all copies of the message.  
Thank you.




More information about the ewg mailing list