]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mlx4/cmd.h
Merge branch 'i2c-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6
[linux-2.6-omap-h63xx.git] / include / linux / mlx4 / cmd.h
index 7d1eaa97de13bb4bd11d5079a0c48258d250ebc7..cf9c679ab38b59fe8cb9794e4837e50dd1c9445d 100644 (file)
@@ -81,7 +81,7 @@ enum {
        MLX4_CMD_SW2HW_CQ        = 0x16,
        MLX4_CMD_HW2SW_CQ        = 0x17,
        MLX4_CMD_QUERY_CQ        = 0x18,
-       MLX4_CMD_RESIZE_CQ       = 0x2c,
+       MLX4_CMD_MODIFY_CQ       = 0x2c,
 
        /* SRQ commands */
        MLX4_CMD_SW2HW_SRQ       = 0x35,
@@ -132,6 +132,15 @@ enum {
        MLX4_MAILBOX_SIZE       =  4096
 };
 
+enum {
+       /* set port opcode modifiers */
+       MLX4_SET_PORT_GENERAL   = 0x0,
+       MLX4_SET_PORT_RQP_CALC  = 0x1,
+       MLX4_SET_PORT_MAC_TABLE = 0x2,
+       MLX4_SET_PORT_VLAN_TABLE = 0x3,
+       MLX4_SET_PORT_PRIO_MAP  = 0x4,
+};
+
 struct mlx4_dev;
 
 struct mlx4_cmd_mailbox {