Lines Matching +full:hsi +full:- +full:mac
1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
3 * Copyright (c) 2015-2017 QLogic Corporation
45 /* general tlv header (used for both vf->pf request and pf->vf response) */
51 /* header of first vf->pf tlv carries the offset used to calculate response
60 /* header of pf->vf tlvs, carries the status of handling the request */
88 #define VFPF_ACQUIRE_CAP_PRE_FP_HSI BIT(0) /* VF pre-FP hsi version */
90 /* A requirement for supporting multi-Tx queues on a single queue-zone,
166 * mechanism [version-based] and allow a VF that can't be supported to pass
191 /* It's possible PF had to configure an older fastpath HSI
194 * non-matching versions to shed light in VF about failure.
227 /* Extended queue information - additional index for reference inside qzone.
318 u8 mac[ETH_ALEN]; member
343 /* Extended tlvs - need to add rss, mcast, accept mode tlvs */
368 /* There are only 256 approx bins, and in HSI they're divided into
369 * 32-bit values. As old VFs used to set-bit to the values on its side,
431 u8 mac[ETH_ALEN]; member
501 u8 mac[ETH_ALEN]; member
533 /* Alert the VF that a forced MAC was set by the PF */
542 /* Alert the VF that suggested mac was sent by the PF.
549 /* crc of structure to ensure is not in mid-update */
558 u8 mac[ETH_ALEN]; member
641 /* Required for iterating over vport-update tlvs.
642 * Will break in case non-sequential vport-update tlvs.
671 /* In case PF originates prior to the fp-hsi version comparison,
691 * qed_vf_pf_set_coalesce(): VF - Set Rx/Tx coalesce per VF's relative queue.
708 * qed_vf_pf_get_coalesce(): VF - Get coalesce per VF's relative queue.
795 * qed_vf_get_port_mac(): Get port mac address for VF.
798 * @port_mac: destination location for port mac
817 * qed_vf_get_num_mac_filters(): Get number of MAC filters allocated
821 * @num_mac_filters: allocated MAC filters
828 * qed_vf_check_mac(): Check if VF can set a MAC address
831 * @mac: Mac.
835 bool qed_vf_check_mac(struct qed_hwfn *p_hwfn, u8 *mac);
883 * qed_vf_pf_txq_start(): VF - start the TX queue by sending a message to the
901 * qed_vf_pf_rxq_stop(): VF - stop the RX queue by sending a message to the PF.
913 * qed_vf_pf_txq_stop(): VF - stop the TX queue by sending a message to the PF.
923 * qed_vf_pf_vport_update(): VF - send a vport update command.
934 * qed_vf_pf_reset(): VF - send a close message to PF.
943 * qed_vf_pf_release(): VF - free vf`s memories.
966 * @sb_id: zero-based SB index [for fastpath]
1065 * qed_vf_pf_bulletin_update_mac(): Ask PF to update the MAC address in
1069 * @p_mac: mac address to be updated in bulletin board
1118 static inline bool qed_vf_check_mac(struct qed_hwfn *p_hwfn, u8 *mac) in qed_vf_check_mac() argument
1131 return -EINVAL; in qed_vf_hw_prepare()
1141 return -EINVAL; in qed_vf_pf_rxq_start()
1149 return -EINVAL; in qed_vf_pf_txq_start()
1156 return -EINVAL; in qed_vf_pf_rxq_stop()
1162 return -EINVAL; in qed_vf_pf_txq_stop()
1169 return -EINVAL; in qed_vf_pf_vport_update()
1174 return -EINVAL; in qed_vf_pf_reset()
1179 return -EINVAL; in qed_vf_pf_release()
1200 return -EINVAL; in qed_vf_pf_vport_start()
1205 return -EINVAL; in qed_vf_pf_vport_stop()
1211 return -EINVAL; in qed_vf_pf_filter_ucast()
1221 return -EINVAL; in qed_vf_pf_int_cleanup()
1258 return -EINVAL; in qed_vf_pf_tunnel_param_update()
1264 return -EINVAL; in qed_vf_pf_bulletin_update_mac()