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

Function e1000_read_mac_addr

dpdk/drivers/net/e1000/base/e1000_api.c:1172–1178  ·  view source on GitHub ↗

* e1000_read_mac_addr - Reads MAC address * @hw: pointer to the HW structure * * Reads the MAC address out of the adapter and stores it in the HW structure. * Currently no func pointer exists and all implementations are handled in the * generic version of this function. **/

Source from the content-addressed store, hash-verified

1170 * generic version of this function.
1171 **/
1172s32 e1000_read_mac_addr(struct e1000_hw *hw)
1173{
1174 if (hw->mac.ops.read_mac_addr)
1175 return hw->mac.ops.read_mac_addr(hw);
1176
1177 return e1000_read_mac_addr_generic(hw);
1178}
1179
1180/**
1181 * e1000_read_pba_string - Read device part number string

Callers 2

eth_igb_dev_initFunction · 0.85
em_hw_initFunction · 0.85

Calls 1

Tested by

no test coverage detected