| 5287 | } |
| 5288 | |
| 5289 | static void |
| 5290 | ixgbe_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 | |
| 5305 | static int |
| 5306 | ixgbe_set_default_mac_addr(struct rte_eth_dev *dev, struct rte_ether_addr *addr) |
no test coverage detected