~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to drivers/infiniband/hw/ehca/ehca_qp.c

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 * POSSIBILITY OF SUCH DAMAGE.
44
44
 */
45
45
 
 
46
#include <linux/slab.h>
 
47
 
46
48
#include "ehca_classes.h"
47
49
#include "ehca_tools.h"
48
50
#include "ehca_qes.h"
55
57
/*
56
58
 * attributes not supported by query qp
57
59
 */
58
 
#define QP_ATTR_QUERY_NOT_SUPPORTED (IB_QP_MAX_DEST_RD_ATOMIC | \
59
 
                                     IB_QP_MAX_QP_RD_ATOMIC   | \
60
 
                                     IB_QP_ACCESS_FLAGS       | \
 
60
#define QP_ATTR_QUERY_NOT_SUPPORTED (IB_QP_ACCESS_FLAGS       | \
61
61
                                     IB_QP_EN_SQD_ASYNC_NOTIFY)
62
62
 
63
63
/*
251
251
                return ST_UD;
252
252
        case IB_QPT_RAW_IPV6:
253
253
                return -EINVAL;
254
 
        case IB_QPT_RAW_ETY:
 
254
        case IB_QPT_RAW_ETHERTYPE:
255
255
                return -EINVAL;
256
256
        default:
257
257
                ehca_gen_err("Invalid ibqptype=%x", ibqptype);