diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-08 18:29:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-08 18:29:48 -0400 |
commit | e0fd9affeb64088eff407dfc98bbd3a5c17ea479 (patch) | |
tree | 94ee7e3410fffb305aa6901053b85245686444a2 /drivers/net/ethernet/mellanox/mlx4/mlx4.h | |
parent | 3d15b798eafd3b6b3cc25f20747008ab9401a57f (diff) | |
parent | ea9627c800e99a902e2668ac8e6377f02d6f720a (diff) |
Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband
Pull InfiniBand/RDMA changes from Roland Dreier:
- XRC transport fixes
- Fix DHCP on IPoIB
- mlx4 preparations for flow steering
- iSER fixes
- miscellaneous other fixes
* tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband: (23 commits)
IB/iser: Add support for iser CM REQ additional info
IB/iser: Return error to upper layers on EAGAIN registration failures
IB/iser: Move informational messages from error to info level
IB/iser: Add module version
mlx4_core: Expose a few helpers to fill DMFS HW strucutures
mlx4_core: Directly expose fields of DMFS HW rule control segment
mlx4_core: Change a few DMFS fields names to match firmare spec
mlx4: Match DMFS promiscuous field names to firmware spec
mlx4_core: Move DMFS HW structs to common header file
IB/mlx4: Set link type for RAW PACKET QPs in the QP context
IB/mlx4: Disable VLAN stripping for RAW PACKET QPs
mlx4_core: Reduce warning message for SRQ_LIMIT event to debug level
RDMA/iwcm: Don't touch cmid after dropping reference
IB/qib: Correct qib_verbs_register_sysfs() error handling
IB/ipath: Correct ipath_verbs_register_sysfs() error handling
RDMA/cxgb4: Fix SQ allocation when on-chip SQ is disabled
SRPT: Fix odd use of WARN_ON()
IPoIB: Fix ipoib_hard_header() return value
RDMA: Rename random32() to prandom_u32()
RDMA/cxgb3: Fix uninitialized variable
...
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx4/mlx4.h | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4.h b/drivers/net/ethernet/mellanox/mlx4/mlx4.h index eac3dae10efe..df15bb6631cc 100644 --- a/drivers/net/ethernet/mellanox/mlx4/mlx4.h +++ b/drivers/net/ethernet/mellanox/mlx4/mlx4.h | |||
@@ -730,85 +730,6 @@ struct mlx4_steer { | |||
730 | struct list_head steer_entries[MLX4_NUM_STEERS]; | 730 | struct list_head steer_entries[MLX4_NUM_STEERS]; |
731 | }; | 731 | }; |
732 | 732 | ||
733 | struct mlx4_net_trans_rule_hw_ctrl { | ||
734 | __be32 ctrl; | ||
735 | u8 rsvd1; | ||
736 | u8 funcid; | ||
737 | u8 vep; | ||
738 | u8 port; | ||
739 | __be32 qpn; | ||
740 | __be32 rsvd2; | ||
741 | }; | ||
742 | |||
743 | struct mlx4_net_trans_rule_hw_ib { | ||
744 | u8 size; | ||
745 | u8 rsvd1; | ||
746 | __be16 id; | ||
747 | u32 rsvd2; | ||
748 | __be32 qpn; | ||
749 | __be32 qpn_mask; | ||
750 | u8 dst_gid[16]; | ||
751 | u8 dst_gid_msk[16]; | ||
752 | } __packed; | ||
753 | |||
754 | struct mlx4_net_trans_rule_hw_eth { | ||
755 | u8 size; | ||
756 | u8 rsvd; | ||
757 | __be16 id; | ||
758 | u8 rsvd1[6]; | ||
759 | u8 dst_mac[6]; | ||
760 | u16 rsvd2; | ||
761 | u8 dst_mac_msk[6]; | ||
762 | u16 rsvd3; | ||
763 | u8 src_mac[6]; | ||
764 | u16 rsvd4; | ||
765 | u8 src_mac_msk[6]; | ||
766 | u8 rsvd5; | ||
767 | u8 ether_type_enable; | ||
768 | __be16 ether_type; | ||
769 | __be16 vlan_id_msk; | ||
770 | __be16 vlan_id; | ||
771 | } __packed; | ||
772 | |||
773 | struct mlx4_net_trans_rule_hw_tcp_udp { | ||
774 | u8 size; | ||
775 | u8 rsvd; | ||
776 | __be16 id; | ||
777 | __be16 rsvd1[3]; | ||
778 | __be16 dst_port; | ||
779 | __be16 rsvd2; | ||
780 | __be16 dst_port_msk; | ||
781 | __be16 rsvd3; | ||
782 | __be16 src_port; | ||
783 | __be16 rsvd4; | ||
784 | __be16 src_port_msk; | ||
785 | } __packed; | ||
786 | |||
787 | struct mlx4_net_trans_rule_hw_ipv4 { | ||
788 | u8 size; | ||
789 | u8 rsvd; | ||
790 | __be16 id; | ||
791 | __be32 rsvd1; | ||
792 | __be32 dst_ip; | ||
793 | __be32 dst_ip_msk; | ||
794 | __be32 src_ip; | ||
795 | __be32 src_ip_msk; | ||
796 | } __packed; | ||
797 | |||
798 | struct _rule_hw { | ||
799 | union { | ||
800 | struct { | ||
801 | u8 size; | ||
802 | u8 rsvd; | ||
803 | __be16 id; | ||
804 | }; | ||
805 | struct mlx4_net_trans_rule_hw_eth eth; | ||
806 | struct mlx4_net_trans_rule_hw_ib ib; | ||
807 | struct mlx4_net_trans_rule_hw_ipv4 ipv4; | ||
808 | struct mlx4_net_trans_rule_hw_tcp_udp tcp_udp; | ||
809 | }; | ||
810 | }; | ||
811 | |||
812 | enum { | 733 | enum { |
813 | MLX4_PCI_DEV_IS_VF = 1 << 0, | 734 | MLX4_PCI_DEV_IS_VF = 1 << 0, |
814 | MLX4_PCI_DEV_FORCE_SENSE_PORT = 1 << 1, | 735 | MLX4_PCI_DEV_FORCE_SENSE_PORT = 1 << 1, |