diff mbox

[08/10] enable vlan support in mlx4 qp path

Message ID 4C5C91E9.10002@mellanox.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Vu Pham Aug. 6, 2010, 10:51 p.m. UTC
None
diff mbox

Patch

    Enable vlan support in qp path, allow traffic to be encapsulated in tagged
    vlan frames.
    
    Signed-off-by: Vu Pham <vu@mellanox.com>


diff --git a/include/linux/mlx4/qp.h b/include/linux/mlx4/qp.h
index 7abe643..1e53d45 100644
--- a/include/linux/mlx4/qp.h
+++ b/include/linux/mlx4/qp.h
@@ -109,7 +109,7 @@  struct mlx4_qp_path {
 	__be32			tclass_flowlabel;
 	u8			rgid[16];
 	u8			sched_queue;
-	u8			snooper_flags;
+	u8			vlan_index;
 	u8			reserved3[2];
 	u8			counter_index;
 	u8			reserved4[7];