Commit 356983f5 authored by Anumula Murali Mohan Reddy's avatar Anumula Murali Mohan Reddy Committed by Jakub Kicinski
Browse files

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: e0cdac65 ("cxgb4vf: configure ports accessible by the VF")
Signed-off-by: default avatarAnumula Murali Mohan Reddy <anumula@chelsio.com>
Signed-off-by: default avatarPotnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241206062014.49414-1-anumula@chelsio.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent b4906787
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment