diff options
author | Arjun Vynipadath <arjun@chelsio.com> | 2019-02-01 14:37:04 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-03 22:08:36 +0300 |
commit | 3f8cfd0d95e65ddc6aef70ef28b80cdc3d8ad7e4 (patch) | |
tree | cc1780dc4e172c50a604d374694bceb6629fba05 /lib/xz | |
parent | 1d2f4ebbbeb1ec055dcd3cf3dba833cfd0a84f3a (diff) | |
download | linux-3f8cfd0d95e65ddc6aef70ef28b80cdc3d8ad7e4.tar.xz |
cxgb4/cxgb4vf: Program hash region for {t4/t4vf}_change_mac()
{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 <arjun@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions