linux/drivers/net/ethernet/chelsio
Anumula Murali Mohan Reddy 356983f569 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: e0cdac65ba ("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>
2024-12-09 16:12:43 -08:00
..
cxgb cxgb: Remove unused declarations 2024-09-03 13:07:27 +02:00
cxgb3 net: cxgb3: Remove stid deadcode 2024-10-15 16:51:54 -07:00
cxgb4 cxgb4: use port number to set mac addr 2024-12-09 16:12:43 -08:00
cxgb4vf Revert "net: ethtool: Avoid thousands of -Wflex-array-member-not-at-end warnings" 2024-11-18 18:52:11 -08:00
inline_crypto Fix misspelling of "accept*" in net 2024-10-09 19:55:40 -07:00
libcxgb net/chelsio/libcxgb: Add __percpu annotations to libcxgb_ppm.c 2024-08-06 19:35:40 -07:00
Kconfig
Makefile