MCPcopy Create free account
hub / github.com/F-Stack/f-stack / ixgbe_pf_mbx_process

Function ixgbe_pf_mbx_process

dpdk/drivers/net/ixgbe/ixgbe_pf.c:946–965  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

944}
945
946void ixgbe_pf_mbx_process(struct rte_eth_dev *eth_dev)
947{
948 uint16_t vf;
949 struct ixgbe_hw *hw =
950 IXGBE_DEV_PRIVATE_TO_HW(eth_dev->data->dev_private);
951
952 for (vf = 0; vf < dev_num_vf(eth_dev); vf++) {
953 /* check & process vf function level reset */
954 if (!ixgbe_check_for_rst(hw, vf))
955 ixgbe_vf_reset_event(eth_dev, vf);
956
957 /* check & process vf mailbox messages */
958 if (!ixgbe_check_for_msg(hw, vf))
959 ixgbe_rcv_msg_from_vf(eth_dev, vf);
960
961 /* check & process acks from vf */
962 if (!ixgbe_check_for_ack(hw, vf))
963 ixgbe_rcv_ack_from_vf(eth_dev, vf);
964 }
965}

Callers 2

Calls 7

ixgbe_check_for_rstFunction · 0.85
ixgbe_vf_reset_eventFunction · 0.85
ixgbe_check_for_msgFunction · 0.85
ixgbe_rcv_msg_from_vfFunction · 0.85
ixgbe_check_for_ackFunction · 0.85
ixgbe_rcv_ack_from_vfFunction · 0.85
dev_num_vfFunction · 0.70

Tested by

no test coverage detected