lkml.org 
[lkml]   [2021]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [Intel-wired-lan] [PATCH 2/2] igc: wait for the MAC copy when enabled MAC passthrough
    From
    Date

    On 7/5/21 7:54 PM, Neftin, Sasha wrote:
    > Hello Aaron, Thanks to point me on this document. I see... This is recommendation for Windows driver. Anyway, "delay" approach is error-prone. We need rather ask for MNG FW confirmation (message) that MAC address is copied.
    > Can we call (in case we know that MNG FW copied MAC address):
    > igc_rar_set (method from igc_mac.c), update the mac.addr and then perform": memcpy(netdev->dev_addr, hw->mac.addr, netdev->addr_len);?

    Without delay, after igc_rar_set, the MAC address is all 0.
    The MAC addr is the from dock instead of MAC passthrough with the original driver.

    Thanks,
    Aaron

    \
     
     \ /
      Last update: 2021-07-06 08:48    [W:2.660 / U:0.112 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site