From: Arjun Vynipadath <[email protected]>
Date: Fri, 1 Feb 2019 17:07:04 +0530
> {t4/t4_vf}_change_mac() API's were only doing additions to MPS_TCAM.
> This will fail, when the number of tcam entries is limited particularly
> in vf's.
> This fix programs hash region with the mac address, when TCAM
> addtion fails for {t4/t4vf}_change_mac(). Since the locally maintained
> driver list for hash entries is shared across mac_{sync/unsync}(),
> added an extra parameter if_mac to track the address added thorugh
> {t4/t4vf}_change_mac()
>
> Signed-off-by: Arjun Vynipadath <[email protected]>
Applied.