kernel_samsung_a53x/drivers/net/ethernet/chelsio
Anumula Murali Mohan Reddy 3684062493 cxgb4: use port number to set mac addr
[ Upstream commit 356983f569c1f5991661fc0050aa263792f50616 ]

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 <anumula@chelsio.com>
Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241206062014.49414-1-anumula@chelsio.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-01-02 17:00:50 +01:00
..
cxgb Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cxgb3 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cxgb4 cxgb4: use port number to set mac addr 2025-01-02 17:00:50 +01:00
cxgb4vf Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inline_crypto chtls: fix tp->rcv_tstamp initialization 2024-11-18 11:42:50 +01:00
libcxgb Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00