Commit 54c4664
i40e: Refactor argument of several client notification functions
Commit 0ef2d5a ("i40e: KISS the client interface") simplified
the client interface so in practice it supports only one client
per i40e netdev. But we have still 2 notification functions that
uses as parameter a pointer to VSI of netdevice associated with
the client. After the mentioned commit only possible and used
VSI is the main (LAN) VSI.
So refactor these functions so they are called with PF pointer argument
and the associated VSI (LAN) is taken inside them.
Reviewed-by: Michal Schmidt <mschmidt@redhat.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>1 parent b92379d commit 54c4664
3 files changed
Lines changed: 17 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
1239 | | - | |
1240 | | - | |
| 1239 | + | |
| 1240 | + | |
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | | - | |
111 | 110 | | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | 125 | | |
125 | 126 | | |
| |||
157 | 158 | | |
158 | 159 | | |
159 | 160 | | |
160 | | - | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
164 | 165 | | |
165 | | - | |
| 166 | + | |
166 | 167 | | |
167 | | - | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11276 | 11276 | | |
11277 | 11277 | | |
11278 | 11278 | | |
11279 | | - | |
11280 | | - | |
| 11279 | + | |
11281 | 11280 | | |
11282 | 11281 | | |
11283 | 11282 | | |
11284 | 11283 | | |
11285 | | - | |
11286 | | - | |
| 11284 | + | |
11287 | 11285 | | |
11288 | 11286 | | |
11289 | 11287 | | |
| |||
16217 | 16215 | | |
16218 | 16216 | | |
16219 | 16217 | | |
16220 | | - | |
| 16218 | + | |
16221 | 16219 | | |
16222 | 16220 | | |
16223 | 16221 | | |
| |||
16476 | 16474 | | |
16477 | 16475 | | |
16478 | 16476 | | |
16479 | | - | |
| 16477 | + | |
16480 | 16478 | | |
16481 | 16479 | | |
16482 | 16480 | | |
| |||
16530 | 16528 | | |
16531 | 16529 | | |
16532 | 16530 | | |
16533 | | - | |
| 16531 | + | |
16534 | 16532 | | |
16535 | 16533 | | |
16536 | 16534 | | |
| |||
0 commit comments