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

Function ixgbe_remove_rar

dpdk/drivers/net/ixgbe/ixgbe_ethdev.c:5289–5303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5287}
5288
5289static void
5290ixgbe_remove_rar(struct rte_eth_dev *dev, uint32_t index)
5291{
5292 struct ixgbe_hw *hw = IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private);
5293
5294 /*
5295 * This function calls into the base driver, which in turn will use
5296 * function pointers, which are not guaranteed to be valid in secondary
5297 * processes, so avoid using this function in secondary processes.
5298 */
5299 if (rte_eal_process_type() != RTE_PROC_PRIMARY)
5300 return;
5301
5302 ixgbe_clear_rar(hw, index);
5303}
5304
5305static int
5306ixgbe_set_default_mac_addr(struct rte_eth_dev *dev, struct rte_ether_addr *addr)

Callers 1

Calls 2

rte_eal_process_typeFunction · 0.85
ixgbe_clear_rarFunction · 0.85

Tested by

no test coverage detected