IB/core: Remove smac and vlan id from qp_attr and ah_attr
Smac and vlan id could be resolved from the GID attribute, and thus these attributes aren't needed anymore. Removing them. Signed-off-by: Matan Barak <matanb@mellanox.com> Reviewed-By: Devesh Sharma <devesh.sharma@avagotech.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

parent
5c266b2304
commit
aa744cc01f
@@ -699,7 +699,6 @@ struct ib_ah_attr {
|
||||
u8 ah_flags;
|
||||
u8 port_num;
|
||||
u8 dmac[ETH_ALEN];
|
||||
u16 vlan_id;
|
||||
};
|
||||
|
||||
enum ib_wc_status {
|
||||
@@ -958,10 +957,10 @@ enum ib_qp_attr_mask {
|
||||
IB_QP_PATH_MIG_STATE = (1<<18),
|
||||
IB_QP_CAP = (1<<19),
|
||||
IB_QP_DEST_QPN = (1<<20),
|
||||
IB_QP_SMAC = (1<<21),
|
||||
IB_QP_ALT_SMAC = (1<<22),
|
||||
IB_QP_VID = (1<<23),
|
||||
IB_QP_ALT_VID = (1<<24),
|
||||
IB_QP_RESERVED1 = (1<<21),
|
||||
IB_QP_RESERVED2 = (1<<22),
|
||||
IB_QP_RESERVED3 = (1<<23),
|
||||
IB_QP_RESERVED4 = (1<<24),
|
||||
};
|
||||
|
||||
enum ib_qp_state {
|
||||
@@ -1011,10 +1010,6 @@ struct ib_qp_attr {
|
||||
u8 rnr_retry;
|
||||
u8 alt_port_num;
|
||||
u8 alt_timeout;
|
||||
u8 smac[ETH_ALEN];
|
||||
u8 alt_smac[ETH_ALEN];
|
||||
u16 vlan_id;
|
||||
u16 alt_vlan_id;
|
||||
};
|
||||
|
||||
enum ib_wr_opcode {
|
||||
|
Reference in New Issue
Block a user