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

Function txgbe_check_for_bit_pf

dpdk/drivers/net/txgbe/base/txgbe_mbx.c:450–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448}
449
450STATIC s32 txgbe_check_for_bit_pf(struct txgbe_hw *hw, u32 mask, s32 index)
451{
452 u32 mbvficr = rd32(hw, TXGBE_MBVFICR(index));
453 s32 ret_val = TXGBE_ERR_MBX;
454
455 if (mbvficr & mask) {
456 ret_val = 0;
457 wr32(hw, TXGBE_MBVFICR(index), mask);
458 }
459
460 return ret_val;
461}
462
463/**
464 * txgbe_check_for_msg_pf - checks to see if the VF has sent mail

Callers 2

txgbe_check_for_msg_pfFunction · 0.85
txgbe_check_for_ack_pfFunction · 0.85

Calls 2

rd32Function · 0.70
wr32Function · 0.70

Tested by

no test coverage detected