Commit 58f244b
net: libwx: move rss_field to struct wx
For global RSS and multiple RSS scheme, the RSS type fields are defined
identically in the registers. So they can be defined as the macros
WX_RSS_FIELD_* to cleanup the codes. And to prepare for the RXFH support
in the next patch, move the rss_field to struct wx.
Signed-off-by: Jiawen Wu <jiawenwu@trustnetic.com>
Link: https://patch.msgid.link/20250926023843.34340-3-jiawenwu@trustnetic.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 1be6db0 commit 58f244b
2 files changed
Lines changed: 21 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2078 | 2078 | | |
2079 | 2079 | | |
2080 | 2080 | | |
2081 | | - | |
2082 | | - | |
2083 | | - | |
2084 | | - | |
2085 | | - | |
2086 | | - | |
2087 | | - | |
2088 | | - | |
2089 | 2081 | | |
2090 | 2082 | | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
2091 | 2086 | | |
2092 | 2087 | | |
2093 | 2088 | | |
| |||
2097 | 2092 | | |
2098 | 2093 | | |
2099 | 2094 | | |
| 2095 | + | |
| 2096 | + | |
| 2097 | + | |
2100 | 2098 | | |
2101 | 2099 | | |
2102 | 2100 | | |
| |||
2450 | 2448 | | |
2451 | 2449 | | |
2452 | 2450 | | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
2453 | 2454 | | |
2454 | 2455 | | |
2455 | 2456 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
172 | 173 | | |
173 | 174 | | |
174 | 175 | | |
| |||
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| 184 | + | |
183 | 185 | | |
184 | 186 | | |
185 | 187 | | |
| |||
1197 | 1199 | | |
1198 | 1200 | | |
1199 | 1201 | | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
1200 | 1211 | | |
1201 | 1212 | | |
1202 | 1213 | | |
| |||
1307 | 1318 | | |
1308 | 1319 | | |
1309 | 1320 | | |
| 1321 | + | |
1310 | 1322 | | |
1311 | 1323 | | |
1312 | 1324 | | |
| |||
0 commit comments