Commit 25f111e
CKI Backport Bot
cxgb4: use port number to set mac addr
JIRA: https://issues.redhat.com/browse/RHEL-75473
commit 356983f
Author: Anumula Murali Mohan Reddy <anumula@chelsio.com>
Date: Fri Dec 6 11:50:14 2024 +0530
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: e0cdac6 ("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: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>1 parent 35bb9a8 commit 25f111e
File tree
3 files changed
+5
-4
lines changed- drivers/net/ethernet/chelsio/cxgb4
3 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2077 | 2077 | | |
2078 | 2078 | | |
2079 | 2079 | | |
2080 | | - | |
| 2080 | + | |
2081 | 2081 | | |
2082 | 2082 | | |
2083 | 2083 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3246 | 3246 | | |
3247 | 3247 | | |
3248 | 3248 | | |
3249 | | - | |
| 3249 | + | |
3250 | 3250 | | |
3251 | 3251 | | |
3252 | 3252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10215 | 10215 | | |
10216 | 10216 | | |
10217 | 10217 | | |
| 10218 | + | |
10218 | 10219 | | |
10219 | 10220 | | |
10220 | 10221 | | |
10221 | 10222 | | |
10222 | | - | |
| 10223 | + | |
10223 | 10224 | | |
10224 | 10225 | | |
10225 | 10226 | | |
| |||
10234 | 10235 | | |
10235 | 10236 | | |
10236 | 10237 | | |
10237 | | - | |
| 10238 | + | |
10238 | 10239 | | |
10239 | 10240 | | |
10240 | 10241 | | |
| |||
0 commit comments