diff options
author | Anumula Murali Mohan Reddy <[email protected]> | 2024-12-06 11:50:14 +0530 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-12-09 16:12:43 -0800 |
commit | 356983f569c1f5991661fc0050aa263792f50616 (patch) | |
tree | 1dc89c9dc73d4c878babef50ef7b9bfe002eef2c /drivers/fpga/fpga-mgr.c | |
parent | b4906787d49b9bfaa277ea919feffbc7cfaee4eb (diff) |
cxgb4: use port number to set mac addr
t4_set_vf_mac_acl() uses pf to set mac addr, but t4vf_get_vf_mac_acl()
uses port number to get mac addr, this leads to error when an attempt
to set MAC address on VF's of PF2 and PF3.
This patch fixes the issue by using port number to set mac address.
Fixes: e0cdac65ba26 ("cxgb4vf: configure ports accessible by the VF")
Signed-off-by: Anumula Murali Mohan Reddy <[email protected]>
Signed-off-by: Potnuri Bharat Teja <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions