|
@@ -622,6 +622,14 @@ void qed_vf_get_port_mac(struct qed_hwfn *p_hwfn, u8 *port_mac);
|
|
|
void qed_vf_get_num_vlan_filters(struct qed_hwfn *p_hwfn,
|
|
|
u8 *num_vlan_filters);
|
|
|
|
|
|
+/**
|
|
|
+ * @brief Get number of MAC filters allocated for VF by qed
|
|
|
+ *
|
|
|
+ * @param p_hwfn
|
|
|
+ * @param num_rxqs - allocated MAC filters
|
|
|
+ */
|
|
|
+void qed_vf_get_num_mac_filters(struct qed_hwfn *p_hwfn, u8 *num_mac_filters);
|
|
|
+
|
|
|
/**
|
|
|
* @brief Check if VF can set a MAC address
|
|
|
*
|
|
@@ -872,6 +880,11 @@ static inline void qed_vf_get_num_vlan_filters(struct qed_hwfn *p_hwfn,
|
|
|
{
|
|
|
}
|
|
|
|
|
|
+static inline void qed_vf_get_num_mac_filters(struct qed_hwfn *p_hwfn,
|
|
|
+ u8 *num_mac_filters)
|
|
|
+{
|
|
|
+}
|
|
|
+
|
|
|
static inline bool qed_vf_check_mac(struct qed_hwfn *p_hwfn, u8 *mac)
|
|
|
{
|
|
|
return false;
|