src/dpdk/drivers/net/igc/base/igc_mac.c
void igc_init_rx_addrs_generic(struct igc_hw *hw, u16 rar_count)
{
	u32 i;
	u8 mac_addr[ETH_ADDR_LEN] = {0};

	DEBUGFUNC("igc_init_rx_addrs_generic");

	/* Setup the receive address */
	DEBUGOUT("Programming MAC Address into RAR[0]\n");

	hw->mac.ops.rar_set(hw, hw->mac.addr, 0);

	/* Zero out the other (rar_entry_count - 1) receive addresses */
	DEBUGOUT1("Clearing RAR[1-%u]\n", rar_count - 1);
	for (i = 1; i < rar_count; i++)
		hw->mac.ops.rar_set(hw, mac_addr, i);
}
/**
 *  igc_init_rx_addrs_generic - Initialize receive address's
 *  @hw: pointer to the HW structure
 *  @rar_count: receive address registers
 *
 *  Setup the receive address registers by setting the base receive address
 *  register to the devices MAC address and clearing all the other receive
 *  address registers to 0.
 **/
Initialize receive address's
@hw: pointer to the HW structure
@rar_count: receive address registers

Setup the receive address registers by setting the base receive address
register to the devices MAC address and clearing all the other receive
address registers to 0.
Initialize receive address ' s @hw : pointer to the HW structure @rar_count : receive address registers Setup the receive address registers by setting the base receive address register to the devices MAC address and clearing all the other receive address registers to 0 .
void igc_init_rx_addrs_generic(struct igc_hw *hw, u16 rar_count)
{
	u32 i;
	u8 mac_addr[ETH_ADDR_LEN] = {0};
	DEBUGFUNC("igc_init_rx_addrs_generic");
	DEBUGOUT("Programming MAC Address into RAR[0]\n");
	hw->mac.ops.rar_set(hw, hw->mac.addr, 0);
	DEBUGOUT1("Clearing RAR[1-%u]\n", rar_count - 1);
	for (i = 1; i < rar_count; i++)
		hw->mac.ops.rar_set(hw, mac_addr, i);
}
void igc_init_rx_addrs_generic ( struct igc_hw * hw , u16 rar_count ) { u32 i ; u8 mac_addr [ ETH_ADDR_LEN ] = { 0 } ; DEBUGFUNC ( " " ) ; DEBUGOUT ( " \n " ) ; hw -> mac . ops . rar_set ( hw , hw -> mac . addr , 0 ) ; DEBUGOUT1 ( " \n " , rar_count - 1 ) ; for ( i = 1 ; i < rar_count ; i ++ ) hw -> mac . ops . rar_set ( hw , mac_addr , i ) ; }
igc_init_rx_addrs_generic - Initialize receive address's
  @hw: pointer to the HW structure
  @rar_count: receive address registers
igc_init_rx_addrs_generic - Initialize receive address ' s @hw : pointer to the HW structure @rar_count : receive address registers
/* Setup the receive address */ /* Zero out the other (rar_entry_count - 1) receive addresses */