The Hermon driver uses vlan_find() to identify the appropriate VLAN device for packets that are received with the VLAN tag already stripped out by the hardware. Generalise this capability and expose it for use by other network card drivers. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
3207 | 3207 |
|
3208 | 3208 |
|
3209 | 3209 |
|
3210 |
|
|
3211 |
|
|
3212 |
|
|
3213 |
|
|
3214 |
|
|
3215 |
|
|
3216 |
|
|
3217 |
|
|
3218 |
|
|
3219 |
|
|
3210 |
|
|
3211 |
|
|
3212 |
|
|
3213 |
|
|
3220 | 3214 |
|
3221 | 3215 |
|
3222 | 3216 |
|
3223 |
|
|
3217 |
|
|
3224 | 3218 |
|
3225 |
|
|
3219 |
|
|
3226 | 3220 |
|
3227 | 3221 |
|
3228 | 3222 |
|
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
14 |
|
|
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
||
59 | 61 |
|
60 | 62 |
|
61 | 63 |
|
62 |
|
|
63 |
|
|
64 | 64 |
|
65 | 65 |
|
66 | 66 |
|
67 | 67 |
|
68 | 68 |
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
69 | 73 |
|
70 | 74 |
|
|
||
1126 | 1126 |
|
1127 | 1127 |
|
1128 | 1128 |
|
1129 |
|
|
1129 |
|
|
1130 | 1130 |
|
1131 |
|
|
1132 |
|
|
1133 |
|
|
1131 |
|
|
1132 |
|
|
1133 |
|
|
1134 | 1134 |
|
1135 |
|
|
1136 |
|
|
1137 |
|
|
1135 |
|
|
1136 |
|
|
1137 |
|
|
1138 |
|
|
1139 |
|
|
1140 |
|
|
1141 |
|
|
1142 |
|
|
1143 |
|
|
1144 |
|
|
1145 |
|
|
1146 |
|
|
1147 |
|
|
1148 |
|
|
1149 |
|
|
1150 |
|
|
1151 |
|
|
1152 |
|
|
1153 |
|
|
1154 |
|
|
1155 |
|
|
1156 |
|
|
1157 |
|
|
1138 | 1158 |
|
1139 | 1159 |
|
1140 | 1160 |
|
|
||
199 | 199 |
|
200 | 200 |
|
201 | 201 |
|
202 |
|
|
202 |
|
|
203 |
|
|
203 | 204 |
|
204 | 205 |
|
205 | 206 |
|
|
||
506 | 507 |
|
507 | 508 |
|
508 | 509 |
|
510 |
|
|
511 |
|
|
512 |
|
|
513 |
|
|
514 |
|
|
515 |
|
|
516 |
|
|
517 |
|
|
518 |
|
|
519 |
|
|
520 |
|
|
521 |
|
|
522 |
|
|
523 |
|
|
524 |
|
|
525 |
|
|
526 |
|
|
527 |
|
|
528 |
|
|
529 |
|
|
530 |
|
|
531 |
|
|
532 |
|
|
533 |
|
|
534 |
|
|
535 |
|
|
536 |
|
|
537 |
|
|
538 |
|
|
539 |
|
|
540 |
|
|
541 |
|
|
542 |
|
|
543 |
|
|
544 |
|
|
545 |
|
|
546 |
|
|
547 |
|
|
548 |
|
|
549 |
|
|
550 |
|
|
551 |
|
|
552 |
|
|
553 |
|