diff options
| author | Arjun Vynipadath <[email protected]> | 2019-02-01 11:37:04 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-02-03 19:08:36 +0000 |
| commit | 3f8cfd0d95e65ddc6aef70ef28b80cdc3d8ad7e4 (patch) | |
| tree | cc1780dc4e172c50a604d374694bceb6629fba05 /drivers/net/dsa/dsa_loop.c | |
| parent | ipv4/igmp: Don't drop IGMP pkt with zeros src addr (diff) | |
| download | kernel-3f8cfd0d95e65ddc6aef70ef28b80cdc3d8ad7e4.tar.gz kernel-3f8cfd0d95e65ddc6aef70ef28b80cdc3d8ad7e4.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
