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

Function igbvf_set_ivar_map

dpdk/drivers/net/e1000/igb_ethdev.c:560–569  ·  view source on GitHub ↗

only for mailbox now. If RX/TX needed, should extend this function. */

Source from the content-addressed store, hash-verified

558
559/* only for mailbox now. If RX/TX needed, should extend this function. */
560static void
561igbvf_set_ivar_map(struct e1000_hw *hw, uint8_t msix_vector)
562{
563 uint32_t tmp = 0;
564
565 /* mailbox */
566 tmp |= (msix_vector & E1000_VTIVAR_MISC_INTR_MASK);
567 tmp |= E1000_VTIVAR_VALID;
568 E1000_WRITE_REG(hw, E1000_VTIVAR_MISC, tmp);
569}
570
571static void
572eth_igbvf_configure_msix_intr(struct rte_eth_dev *dev)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected