src/dpdk/drivers/net/txgbe/base/txgbe_hw.c
static s32 txgbe_get_san_mac_addr_offset(struct txgbe_hw *hw,
					 u16 *san_mac_offset)
{
	s32 err;

	DEBUGFUNC("txgbe_get_san_mac_addr_offset");

	/*
	 * First read the EEPROM pointer to see if the MAC addresses are
	 * available.
	 */
	err = hw->rom.readw_sw(hw, TXGBE_SAN_MAC_ADDR_PTR,
				      san_mac_offset);
	if (err) {
		DEBUGOUT("eeprom at offset %d failed",
			 TXGBE_SAN_MAC_ADDR_PTR);
	}

	return err;
}
/**
 *  txgbe_get_san_mac_addr_offset - Get SAN MAC address offset from the EEPROM
 *  @hw: pointer to hardware structure
 *  @san_mac_offset: SAN MAC address offset
 *
 *  This function will read the EEPROM location for the SAN MAC address
 *  pointer, and returns the value at that location.  This is used in both
 *  get and set mac_addr routines.
 **/
Get SAN MAC address offset from the EEPROM
@hw: pointer to hardware structure
@san_mac_offset: SAN MAC address offset

This function will read the EEPROM location for the SAN MAC address
pointer, and returns the value at that location.  This is used in both
get and set mac_addr routines.
Get SAN MAC address offset from the EEPROM @hw : pointer to hardware structure @san_mac_offset : SAN MAC address offset This function will read the EEPROM location for the SAN MAC address pointer and returns the value at that location . This is used in both get and set mac_addr routines .
static s32 txgbe_get_san_mac_addr_offset(struct txgbe_hw *hw,
					 u16 *san_mac_offset)
{
	s32 err;
	DEBUGFUNC("txgbe_get_san_mac_addr_offset");
	err = hw->rom.readw_sw(hw, TXGBE_SAN_MAC_ADDR_PTR,
				      san_mac_offset);
	if (err) {
		DEBUGOUT("eeprom at offset %d failed",
			 TXGBE_SAN_MAC_ADDR_PTR);
	}
	return err;
}
static s32 txgbe_get_san_mac_addr_offset ( struct txgbe_hw * hw , u16 * san_mac_offset ) { s32 err ; DEBUGFUNC ( " " ) ; err = hw -> rom . readw_sw ( hw , TXGBE_SAN_MAC_ADDR_PTR , san_mac_offset ) ; if ( err ) { DEBUGOUT ( " " , TXGBE_SAN_MAC_ADDR_PTR ) ; } return err ; }
txgbe_get_san_mac_addr_offset - Get SAN MAC address offset from the EEPROM
  @hw: pointer to hardware structure
  @san_mac_offset: SAN MAC address offset
txgbe_get_san_mac_addr_offset - Get SAN MAC address offset from the EEPROM @hw : pointer to hardware structure @san_mac_offset : SAN MAC address offset
/*
	 * First read the EEPROM pointer to see if the MAC addresses are
	 * available.
	 */