|
@@ -518,6 +518,12 @@ struct pfvf_read_coal_resp_tlv {
|
|
u8 padding[6];
|
|
u8 padding[6];
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+struct vfpf_bulletin_update_mac_tlv {
|
|
|
|
+ struct vfpf_first_tlv first_tlv;
|
|
|
|
+ u8 mac[ETH_ALEN];
|
|
|
|
+ u8 padding[2];
|
|
|
|
+};
|
|
|
|
+
|
|
union vfpf_tlvs {
|
|
union vfpf_tlvs {
|
|
struct vfpf_first_tlv first_tlv;
|
|
struct vfpf_first_tlv first_tlv;
|
|
struct vfpf_acquire_tlv acquire;
|
|
struct vfpf_acquire_tlv acquire;
|
|
@@ -532,6 +538,7 @@ union vfpf_tlvs {
|
|
struct vfpf_update_tunn_param_tlv tunn_param_update;
|
|
struct vfpf_update_tunn_param_tlv tunn_param_update;
|
|
struct vfpf_update_coalesce update_coalesce;
|
|
struct vfpf_update_coalesce update_coalesce;
|
|
struct vfpf_read_coal_req_tlv read_coal_req;
|
|
struct vfpf_read_coal_req_tlv read_coal_req;
|
|
|
|
+ struct vfpf_bulletin_update_mac_tlv bulletin_update_mac;
|
|
struct tlv_buffer_size tlv_buf_size;
|
|
struct tlv_buffer_size tlv_buf_size;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -650,6 +657,7 @@ enum {
|
|
CHANNEL_TLV_COALESCE_UPDATE,
|
|
CHANNEL_TLV_COALESCE_UPDATE,
|
|
CHANNEL_TLV_QID,
|
|
CHANNEL_TLV_QID,
|
|
CHANNEL_TLV_COALESCE_READ,
|
|
CHANNEL_TLV_COALESCE_READ,
|
|
|
|
+ CHANNEL_TLV_BULLETIN_UPDATE_MAC,
|
|
CHANNEL_TLV_MAX,
|
|
CHANNEL_TLV_MAX,
|
|
|
|
|
|
/* Required for iterating over vport-update tlvs.
|
|
/* Required for iterating over vport-update tlvs.
|
|
@@ -1042,6 +1050,13 @@ int qed_vf_pf_tunnel_param_update(struct qed_hwfn *p_hwfn,
|
|
struct qed_tunnel_info *p_tunn);
|
|
struct qed_tunnel_info *p_tunn);
|
|
|
|
|
|
u32 qed_vf_hw_bar_size(struct qed_hwfn *p_hwfn, enum BAR_ID bar_id);
|
|
u32 qed_vf_hw_bar_size(struct qed_hwfn *p_hwfn, enum BAR_ID bar_id);
|
|
|
|
+/**
|
|
|
|
+ * @brief - Ask PF to update the MAC address in it's bulletin board
|
|
|
|
+ *
|
|
|
|
+ * @param p_mac - mac address to be updated in bulletin board
|
|
|
|
+ */
|
|
|
|
+int qed_vf_pf_bulletin_update_mac(struct qed_hwfn *p_hwfn, u8 *p_mac);
|
|
|
|
+
|
|
#else
|
|
#else
|
|
static inline void qed_vf_get_link_params(struct qed_hwfn *p_hwfn,
|
|
static inline void qed_vf_get_link_params(struct qed_hwfn *p_hwfn,
|
|
struct qed_mcp_link_params *params)
|
|
struct qed_mcp_link_params *params)
|
|
@@ -1228,6 +1243,12 @@ static inline int qed_vf_pf_tunnel_param_update(struct qed_hwfn *p_hwfn,
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline int qed_vf_pf_bulletin_update_mac(struct qed_hwfn *p_hwfn,
|
|
|
|
+ u8 *p_mac)
|
|
|
|
+{
|
|
|
|
+ return -EINVAL;
|
|
|
|
+}
|
|
|
|
+
|
|
static inline u32
|
|
static inline u32
|
|
qed_vf_hw_bar_size(struct qed_hwfn *p_hwfn,
|
|
qed_vf_hw_bar_size(struct qed_hwfn *p_hwfn,
|
|
enum BAR_ID bar_id)
|
|
enum BAR_ID bar_id)
|