Files @ 763922b5834e
Branch filter:

Location: vmkdrivers/BLD/build/HEADERS/vmkapi-current-all-public/vmkernel64/release/net/vmkapi_net_uplink_incompat.h - annotation

unknown
ESXi-5.0-GA
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 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
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
763922b5834e
0d186246d211
763922b5834e
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
763922b5834e
0d186246d211
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
763922b5834e
0d186246d211
763922b5834e
763922b5834e
763922b5834e
763922b5834e
0d186246d211
763922b5834e
763922b5834e
763922b5834e
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
763922b5834e
0d186246d211
763922b5834e
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
0d186246d211
763922b5834e
763922b5834e
763922b5834e
0d186246d211
763922b5834e
763922b5834e
0d186246d211
0d186246d211
/* **********************************************************
 * Copyright 2006 - 2010 VMware, Inc.  All rights reserved.
 * **********************************************************/

/*
 * @VMKAPIMOD_LICENSE@
 */

/*
 ***********************************************************************
 * Uplink                                                         */ /**
 * \addtogroup Network
 *@{
 * \addtogroup Uplink Uplink management
 *@{
 * \defgroup Incompat Uplink APIs
 *@{
 *
 * \par Uplink:
 *
 * A module may have many different functional direction and one of
 * them is to be a gateway to external network.
 * Thereby vmkernel could rely on this module to Tx/Rx packets.
 *
 * So one can imagine an uplink as a vmkernel bundle containing
 * all the handle required to interact with a module's internal network 
 * object.
 *
 * Something important to understand is that an uplink need to reflect
 * the harware services provided by the network interface is linked to.
 * Thereby if your network interface  do vlan tagging offloading a capability 
 * should be passed to vmkernel to express this service and it will be able
 * to use this capability to optimize its internal path when the got
 * corresponding uplink is going to be used.
 *
 ***********************************************************************
 */

#ifndef _VMKAPI_NET_UPLINK_INCOMPAT_H_
#define _VMKAPI_NET_UPLINK_INCOMPAT_H_

/** \cond never */
#ifndef VMK_HEADER_INCLUDED_FROM_VMKAPI_H
#error This vmkapi file should never be included directly but only via vmkapi.h
#endif
/** \endcond never */

#include "net/vmkapi_net_types.h"
#include "net/vmkapi_net_pkt.h"
#include "net/vmkapi_net_pktlist.h"
#include "net/vmkapi_net_netqueue.h"
#include "net/vmkapi_net_dcb.h"
#include "net/vmkapi_net_pt.h"
#include "net/vmkapi_net_uplink.h"
#include "vds/vmkapi_vds_port.h"

/**
 * \brief Number of bytes for uplink driver info fields.
 */
#define VMK_UPLINK_DRIVER_INFO_MAX      VMK_MODULE_NAME_MAX

/**
 * \brief Number of bytes for uplink wake-on-lan strings.
 */
#define VMK_UPLINK_WOL_STRING_MAX       16

/**
 * \brief Capabilities provided by the device associated to an uplink.
 */

typedef vmk_uint64 vmk_UplinkCapabilities;

/**
 * \brief Structure containing link status information related to the device associated to an uplink.
 */

typedef struct {
   
   /** Device link state */
   vmk_LinkState linkState;
 
   /** Device link speed in Mbps */
   vmk_int32 linkSpeed;

   /** Device full duplex activated */
   vmk_Bool  fullDuplex;
} vmk_UplinkLinkInfo;

/**
 * \brief Structure containing PCI information of the device associated to an uplink.
 */

typedef struct {
   /** Device representing the uplink */
   vmk_Device device;
   
   /** Device DMA constraints */
   vmk_DMAConstraints constraints;
} vmk_UplinkDeviceInfo;

/**
 * \brief Structure containing Panic-time polling information of the device associated to an uplink.
 */

typedef struct {

   /** Interrupt vector */
   vmk_uint32     vector;

   /** Polling data to be passed to the polling function */
   void          *clientData;   
} vmk_UplinkPanicInfo;

/**
 * \brief Structure containing memory resources information related to the device associated to an uplink.
 */

typedef struct {
      
   /** Uplink I/O address */
   void                *baseAddr;
   
   /** Shared mem start */
   void                *memStart;

   /** Shared mem end */
   void                *memEnd;

   /** DMA channel */
   vmk_uint8            dma;
} vmk_UplinkMemResources;

/**
 * \brief Structure containing the information of the driver controlling the
 *        the device associated to an uplink.
 */

typedef struct {

   /** \brief String used to store the name of the driver */
   char driver[VMK_UPLINK_DRIVER_INFO_MAX];

   /** \brief String used to store the version of the driver */
   char version[VMK_UPLINK_DRIVER_INFO_MAX];

   /** \brief String used to store the firmware version of the driver */
   char firmwareVersion[VMK_UPLINK_DRIVER_INFO_MAX];

   /** \brief String used to store the name of the module managing this driver */
   char moduleInterface[VMK_UPLINK_DRIVER_INFO_MAX];
} vmk_UplinkDriverInfo;

/**
 * \brief Capabilities of wake-on-lan (wol)
 */
typedef enum {
   /** \brief wake on directed frames */
   VMK_UPLINK_WAKE_ON_PHY         =       0x01,

   /** \brief wake on unicast frame */
   VMK_UPLINK_WAKE_ON_UCAST       =       0x02,

   /** \brief wake on multicat frame */
   VMK_UPLINK_WAKE_ON_MCAST       =       0x04,

   /** \brief wake on broadcast frame */
   VMK_UPLINK_WAKE_ON_BCAST       =       0x08,

   /** \brief wake on arp */
   VMK_UPLINK_WAKE_ON_ARP         =       0x10,

   /** \brief wake up magic frame */
   VMK_UPLINK_WAKE_ON_MAGIC       =       0x20,

   /** \brief wake on magic frame */
   VMK_UPLINK_WAKE_ON_MAGICSECURE =       0x40

} vmk_UplinkWolCaps;

/**
 * \brief Structure describing the wake-on-lan features and state of an uplink
 */

typedef struct {

   /** \brief bit-flags, describing uplink supported wake-on-lan features */
   vmk_UplinkWolCaps supported;

   /** \brief bit-flags, describing uplink enabled wake-on-lan features */
   vmk_UplinkWolCaps enabled;

   /** \brief wake-on-lan secure on password */
   char secureONPassword[VMK_UPLINK_WOL_STRING_MAX];

} vmk_UplinkWolState;


/**
 * \brief Structure describing interrupt coalescing parameters of an uplink
 */
typedef struct {
   /** \brief number of milliseconds to wait for Rx, before interrupting */
   vmk_uint32             rxUsecs;

   /** \brief maximum number of (Rx) frames to wait for, before interrupting */
   vmk_uint32             rxMaxFrames;

   /** \brief number of milliseconds to wait for completed Tx, before interrupting */
   vmk_uint32             txUsecs;

   /** \brief maximum number of completed (Tx) frames to wait for, before interrupting */
   vmk_uint32             txMaxFrames;

} vmk_UplinkCoalesceParams;


/*
 ***********************************************************************
 * vmk_UplinkStartTx --                                           */ /**
 *
 * \brief Handler used by vmkernel to send packet through the device
 *        associated to an uplink.
 *
 * \param[in] clientData         Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 * \param[in] pktList            The set of packet needed to be sent
 *
 * \retval    VMK_OK             All the packets are being processed
 * \retval    VMK_FAILURE        If the module detects any error during
 *                               Tx process
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkStartTx)(void *clientData, 
					      vmk_PktList pktList);

/*
 ***********************************************************************
 * vmk_UplinkOpenDev --                                           */ /**
 *
 * \brief Handler used by vmkernel to open the device associated to an uplink .
 *
 * \param[in] clientData         Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 *
 * \retval    VMK_OK             Open succeeded
 * \retval    VMK_FAILURE        Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus        (*vmk_UplinkOpenDev)(void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkCloseDev --                                           */ /**
 *
 * \brief Handler used by vmkernel to close the device associated to an uplink
 *
 * \param[in] clientData         Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 *
 * \retval    VMK_OK             Close succeeded
 * \retval    VMK_FAILURE        Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus        (*vmk_UplinkCloseDev)(void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkPanicPoll --                                      */ /**
 *
 * \brief Handler used by vmkernel to poll for packets received by 
 *        the device associated to an uplink. Might be ignored.
 *
 * \param[in]  clientData        Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 * \param[in]  budget            Maximum work to do in the poll function.
 * \param[out] workDone          The amount of work done by the poll handler
 *
 * \retval    VMK_OK             Always
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkPanicPoll)(void *clientData,
                                                vmk_uint32 budget,
                                                vmk_int32* workDone);

/*
 ***********************************************************************
 * vmk_UplinkFlushBuffers --                                      */ /**
 *
 * \brief Handler used by vmkernel to flush the Tx/Rx buffer of 
 *        the device associated to an uplink. Might be ignored.
 *
 * \param[in] clientData         Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 *
 * \retval    VMK_OK             Always
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkFlushBuffers)(void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkIoctlCB --                                           */ /**
 *
 * \brief  Handler used by vmkernel to do an ioctl call against the 
 *         device associated to an uplink.
 *         
 *
 * \param[in]  uplinkName         Name of the aimed device
 * \param[in]  cmd                Command ioctl to be issued
 * \param[in]  args               Arguments to be passed to the ioctl call
 * \param[out] result             Result value of the ioctl call
 *
 * \retval    VMK_OK              If ioctl call succeeded
 * \retval    VMK_FAILURE         Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkIoctlCB)(char *uplinkName,
                                              vmk_uint32 cmd, 
                                              void *args, 
                                              vmk_uint32 *result);

/*
 ***********************************************************************
 * vmk_UplinkBlockDev --                                          */ /**
 *
 * \brief  Handler used by vmkernel to block a device. No more traffic
 *         should go through after this call.
 *
 * \param[in]  clientData         Internal module structure for the device
 *                                associated to the uplink. This structure
 *                                is the one passed during uplink connection
 *
 * \retval    VMK_OK              If device is blocked
 * \retval    VMK_FAILURE         Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkBlockDev)(void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkUnblockDev --                                        */ /**
 *
 * \brief  Handler used by vmkernel to unblock a device. Traffic should
 *         go through after this call.
 *         
 *
 * \param[in]  clientData         Internal module structure for the device
 *                                associated to the uplink. This structure
 *                                is the one passed during uplink connection
 *
 * \retval    VMK_OK              If device is unblocked
 * \retval    VMK_FAILURE         Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkUnblockDev)(void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkSetLinkStatus --                                     */ /**
 *
 * \brief  Handler used by vmkernel to set the speed/duplex of a device
 *         associated with an uplink.
 *
 * \param[in]  clientData         Internal module structure for the device
 *                                associated to the uplink. This structure
 *                                is the one passed during uplink connection
 * \param[in] linkInfo            Specifies speed and duplex
 *
 * \retval    VMK_OK              If operation was successful
 * \retval    VMK_FAILURE         Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkSetLinkStatus)(void *clientData,
                                                    vmk_UplinkLinkInfo *linkInfo);

/*
 ***********************************************************************
 * vmk_UplinkResetDev --                                          */ /**
 *
 * \brief  Handler used by vmkernel to reset a device.
 *
 * \param[in]  clientData         Internal module structure for the device
 *                                associated to the uplink. This structure
 *                                is the one passed during uplink connection
 *
 * \retval    VMK_OK              If device is reset
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkResetDev)(void *clientData);


/*
 ***********************************************************************
 * vmk_UplinkGetStates --                                         */ /**
 *
 * \brief  Handler used by vmkernel to get the state of a device
 *         associated to an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] state       State of the device 
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetStates)(void *clientData, 
						vmk_PortClientStates *states);

/*
 ***********************************************************************
 * vmk_UplinkGetMemResources --                                   */ /**
 *
 * \brief  Handler used by vmkernel to get the memory resources of a device
 *         associated to an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] resources   Memory resources of the device 
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetMemResources)(void *clientData,
						      vmk_UplinkMemResources *resources);

/*
 ***********************************************************************
 * vmk_UplinkGetDeviceProperties --                               */ /**
 *
 * \brief  Handler used by vmkernel to get pci properties of a device
 *         associated to an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection.
 * \param[out] devInfo     Device properties of the device.
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetDeviceProperties)(void *clientData,
						       vmk_UplinkDeviceInfo *devInfo);

/*
 ***********************************************************************
 * vmk_UplinkGetPanicInfo --                                      */ /**
 *
 * \brief  Handler used by vmkernel to get panic-time polling properties 
 *         of a device associated to an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] panicInfo   Panic-time polling properties of the device
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetPanicInfo)(void *clientData,
                                                   vmk_UplinkPanicInfo *panicInfo);

/*
 ***********************************************************************
 * vmk_UplinkGetMACAddr --                                        */ /**
 *
 * \brief  Handler used by vmkernel to get the mac address of a device
 *         associated to an uplink.
 *
 * \param[in]  clientData Internal module structure for the device
 *                        associated to the uplink. This structure
 *                        is the one passed during uplink connection
 * \param[out] macAddr    Buffer used to store the mac address
 *
 * \retval    VMK_OK      If the mac address is properly stored
 * \retval    VMK_FAILURE Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetMACAddr)(void *clientData, 
						 vmk_EthAddress macAddr);

/*
 ***********************************************************************
 * vmk_UplinkGetName --                                           */ /**
 *
 * \brief  Handler used by vmkernel to get the name of the device
 *         associated to an uplink
 *
 * \param[in]  clientData Internal module structure for the device
 *                        associated to the uplink. This structure
 *                        is the one passed during uplink connection
 * \param[out] devName    Buffer used to store uplink device name.
 * \param[in]  devNameLen Length of devName buffer.
 *
 * \retval    VMK_OK              If the name is properly stored.
 * \retval    VMK_LIMIT_EXCEEDED  If the name is too long for provided
 *                                buffer.
 * \retval    VMK_FAILURE         Otherwise.
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetName)(void *clientData,
					      char *devName,
                                              vmk_ByteCount devNameLen);
/*
 ***********************************************************************
 * vmk_UplinkGetStats --                                          */ /**
 *
 * \brief  Handler used by vmkernel to get statistics on a device associated
 *         to an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] stats       Structure used to store all the requested
 *                         information.
 *
 * \retval    VMK_OK       If the statistics are properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetStats)(void *clientData, 
					       vmk_PortClientStats *stats);
	
/*
 ***********************************************************************
 * vmk_UplinkGetDriverInfo --                                     */ /**
 *
 * \brief  Handler used by vmkernel to get driver information of the
 *         device associated with an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] driverInfo  Structure used to store all the requested
 *                         information.
 *
 * \retval    VMK_OK       If the driver information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */
				       
typedef VMK_ReturnStatus (*vmk_UplinkGetDriverInfo)(void *clientData, 
						    vmk_UplinkDriverInfo *driverInfo);

/*
 ***********************************************************************
 * vmk_UplinkGetWolState --                                       */ /**
 *
 * \brief  Handler used by vmkernel to get wake-on-lan state of
 *         device associated with an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] wolState    Structure used to store all the requested
 *                         information.
 *
 * \retval    VMK_OK       If the driver information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */
				       
typedef VMK_ReturnStatus (*vmk_UplinkGetWolState)(void *clientData, 
						  vmk_UplinkWolState *wolState);

/*
 ***********************************************************************
 * vmk_UplinkSetWolState --                                       */ /**
 *
 * \brief  Handler used by vmkernel to get wake-on-lan state of
 *         device associated with an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] wolState    Structure used to store all the requested
 *                         information.
 *
 * \retval    VMK_OK       If the driver information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */
				       
typedef VMK_ReturnStatus (*vmk_UplinkSetWolState)(void *clientData, 
						  vmk_UplinkWolState *wolState);

/*
 ***********************************************************************
 * vmk_UplinkGetCoalesceParams --                                 */ /**
 *
 * \brief  Handler used by vmkernel to get coalescing parameters of
 *         device associated with an uplink.
 *
 * \param[in]  clientData      Internal module structure for the device
 *                             associated to the uplink. This structure
 *                             is the one passed during uplink connection
 * \param[out] coalesceParams  Structure used to store all the requested
 *                             information.
 *
 * \retval    VMK_OK       If the driver information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */
				       
typedef VMK_ReturnStatus (*vmk_UplinkGetCoalesceParams)(void *clientData, 
                                                        vmk_UplinkCoalesceParams *coalesceParams);

/*
 ***********************************************************************
 * vmk_UplinkSetCoalesceParams --                                 */ /**
 *
 * \brief  Handler used by vmkernel to set coalescing parameters of
 *         device associated with an uplink.
 *
 * \param[in]  clientData      Internal module structure for the device
 *                             associated to the uplink. This structure
 *                             is the one passed during uplink connection
 * \param[out] coalesceParams  Structure used to store all the requested
 *                             information.
 *
 * \retval    VMK_OK       If the driver information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */
				       
typedef VMK_ReturnStatus (*vmk_UplinkSetCoalesceParams)(void *clientData, 
                                                        vmk_UplinkCoalesceParams *coalesceParams);


/**
 * \brief Default value for timeout handling before panic.
 */ 

#define VMK_UPLINK_WATCHDOG_HIT_CNT_DEFAULT 5

/*
 ***********************************************************************
 * vmk_UplinkGetWatchdogHitCnt --                                 */ /**
 *
 * \brief  Used only if the module provides a timeout mechanism to
 *         recover from a wedged device.
 *         Handler used by vmkernel to get the timeout hit counter needed 
 *         before hitting a panic.
 *         If no panic mode is implemented you could ignore this handler.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] counter     Used to store the timeout hit counter
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetWatchdogHitCnt)(void *clientData, 
							vmk_int16 *counter);

/*
 ***********************************************************************
 * vmk_UplinkSetWatchdogHitCnt --                                 */ /**
 *
 * \brief  Used only if the module provides a timeout mechanism to
 *         recover from a wedged device.
 *         Handler used by vmkernel to set the timeout hit counter 
 *         needed before hitting a panic.
 *         If no panic mode is implemented you could ignore this handler.
 *
 * \param[in] clientData  Internal module structure for the device
 *                        associated to the uplink. This structure
 *                        is the one passed during uplink connection
 * \param[in] counter     The timeout hit counter
 *
 * \retval    VMK_OK       If the new setting is effective
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkSetWatchdogHitCnt)(void *clientData, 
							vmk_int16 counter);

/*
 ***********************************************************************
 * vmk_UplinkGetWatchdogStats --                                  */ /**
 *
 * \brief  Used only if the module provides a timeout mechanism to
 *         recover from a wedged device.
 *         Handler used by vmkernel to know the number of times the recover
 *         process (usually a reset) has been run on the device associated
 *         to an uplink. Roughly the number of times the device got wedged.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] counter     The number of times the device got wedged
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetWatchdogStats)(void *clientData,
						       vmk_int16 *counter);

/**
 * \brief Define the different status of uplink watchdog panic mod
 */

typedef enum {
   
   /** \brief The device's watchdog panic mod is disabled */
   VMK_UPLINK_WATCHDOG_PANIC_MOD_DISABLE,

   /** \brief The device's watchdog panic mod is enabled */
   VMK_UPLINK_WATCHDOG_PANIC_MOD_ENABLE
} vmk_UplinkWatchdogPanicModState;

/*
 ***********************************************************************
 * vmk_UplinkGetWatchdogPanicModState --                          */ /**
 *
 * \brief  Used only if the module provides a timeout mechanism to
 *         recover from a wedged device.
 *         Handler used by vmkernel to know if the timeout panic mod
 *         is enabled or not.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] status      Status of the watchdog panic mod
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetWatchdogPanicModState)(void *clientData, 
							       vmk_UplinkWatchdogPanicModState *state);

/*
 ***********************************************************************
 * vmk_UplinkSetWatchdogPanicModState --                          */ /**
 *
 * \brief  Used only if the module provides a timeout mechanism to
 *         recover from a wedged device.
 *         Handler used by vmkernel to enable or disable the timeout 
 *         panic mod. Set panic mod could be useful for debugging as it
 *         is possible to get a coredump at this point.
 *
 * \param[in] clientData  Internal module structure for the device
 *                        associated to the uplink. This structure
 *                        is the one passed during uplink connection
 * \param[in] enable      Tne status of the watchdog panic mod
 *
 * \retval    VMK_OK       If the new panic mod is effective
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkSetWatchdogPanicModState)(void *clientData, 
							       vmk_UplinkWatchdogPanicModState state);

/*
 ***********************************************************************
 * vmk_UplinkSetMTU --                                            */ /**
 *
 * \brief  Handler used by vmkernel to set up the mtu of the
 *         device associated with an uplink.
 *
 * \param[in] clientData  Internal module structure for the device
 *                        associated to the uplink. This structure
 *                        is the one passed during uplink connection
 * \param[in] mtu         The mtu to be set up
 *
 * \retval    VMK_OK       If the mtu setting is effective
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkSetMTU) (void *clientData, 
					      vmk_uint32 mtu);

/*
 ***********************************************************************
 * vmk_UplinkGetMTU --                                            */ /**
 *
 * \brief  Handler used by vmkernel to retrieve the mtu of the
 *         device associated with an uplink.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink. This structure
 *                         is the one passed during uplink connection
 * \param[out] mtu         Used to stored the current mtu
 *
 * \retval    VMK_OK       If the information is properly stored
 * \retval    VMK_FAILURE  Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkGetMTU) (void *clientData,
					      vmk_uint32 *mtu);

/*
 ***********************************************************************
 * vmk_UplinkVlanSetupHw --                                       */ /**
 *
 * \brief Handler used by vmkernel to activate vlan and add vid for the
 *        device associated to an uplink.
 *
 * \param[in] clientData         Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 * \param[in] enable             Initialize hw vlan functionality
 * \param[in] bitmap             A bitmap of permitted vlan id's.
 *
 * \retval    VMK_OK             If vlan (de)activation succeeded
 * \retval    VMK_FAILURE        Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkVlanSetupHw)(void *clientData, 
                                                  vmk_Bool enable,
						  void *bitmap);

/*
 ***********************************************************************
 * vmk_UplinkVlanRemoveHw --                                      */ /**
 *
 * \brief  Handler used by vmkernel to delete vlan ids and deactivate
 *         hw vlan for the device associated to an uplink.
 *
 * \param[in] clientData         Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 * \param[in] disable            Deactivate hw vlan completely
 * \param[in] bitmap             A bitmap of permitted vlan id's.
 *
 * \retval    VMK_OK             If vlan update succeeded
 * \retval    VMK_FAILURE        Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkVlanRemoveHw)(void *clientData, 
						   vmk_Bool disable,
                                                   void *bitmap);

/*
 ***********************************************************************
 * vmk_UplinkNetqueueOpFunc --                                    */ /**
 *
 * \brief  Handler used by vmkernel to issue netqueue control operations
 *
 * \param[in] clientData         Internal module structure for the device
 *                               associated to the uplink. This structure
 *                               is the one passed during uplink connection
 * \param[in] op                 Netqueue operation
 * \param[in] opArgs             Arguments to Netqueue operation
 *
 * \retval    VMK_OK             Operation succeeded
 * \retval    VMK_FAILURE        Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkNetqueueOpFunc)(void *clientData, 
						     vmk_NetqueueOp op, 
						     void *opArgs);

typedef VMK_ReturnStatus (*vmk_UplinkNetqueueXmit)(void *, 
						   vmk_NetqueueQueueID, 
						   vmk_PktList);
/*
 ***********************************************************************
 * vmk_UplinkPTOpFunc --                                          */ /**
 *
 * \brief  The routine to dispatch PT management operations to 
 *         driver exported callbacks
 *
 * \param[in] clientData         Used to identify a VF 
 * \param[in] op                 The operation
 * \param[in] args               The optional arguments for the operation
 *
 * \retval    VMK_OK             If the operation succeeds
 * \retval    VMK_FAILURE        Otherwise
 *
 ***********************************************************************
 */

typedef VMK_ReturnStatus (*vmk_UplinkPTOpFunc)(void *clientData, 
                                               vmk_NetPTOP op, 
                                               void *args);

/*
 ***********************************************************************
 * vmk_UplinkIsDCBEnabled --                                      */ /**
 *
 * \brief  The routine to check whether DCB support is enabled on
 *         the device.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink.
 * \param[out] enabled     Used to store the DCB state of the device.
 * \param[out] version     Used to store the DCB version supported by
 *                         the device.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  If the operation fails or if the device
 *                         is not DCB capable.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkIsDCBEnabled) (void *clientData,
                                                    vmk_Bool *enabled,
                                                    vmk_DCBVersion *version);

/*
 ***********************************************************************
 * vmk_UplinkEnableDCB --                                         */ /**
 *
 * \brief  The routine to enable DCB support on the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device.
 *
 * \note   vmk_UplinkDCBApplySettings() needs to be called after
 *         this call to guaranttee the changes will be flushed
 *         onto the device.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkEnableDCB) (void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkDisableDCB --                                        */ /**
 *
 * \brief  The routine to disable DCB support on the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device.
 *
 * \note   vmk_UplinkDCBApplySettings() needs to be called after
 *         this call to guaranttee the changes will be flushed
 *         onto the device.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDisableDCB) (void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkDCBGetNumTCs --                                      */ /**
 *
 * \brief  The routine to retrieve Traffic Classes information
 *         from the device.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink.
 * \param[out] numTCs      Used to store the Traffic Class information.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBGetNumTCs) (void *clientData,
                                                    vmk_DCBNumTCs *numTCs);

/*
 ***********************************************************************
 * vmk_UplinkDCBGetPriorityGroup --                               */ /**
 *
 * \brief  The routine to retrieve DCB Priority Group settings from
 *         the device.
 *
 * \param[in]  clientData   Internal module structure for the device
 *                          associated to the uplink.
 * \param[out] pg           Used to stored the current PG setting.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBGetPriorityGroup) (void *clientData,
                                                  vmk_DCBPriorityGroup *pg);

/*
 ***********************************************************************
 * vmk_UplinkDCBSetPriorityGroup --                               */ /**
 *
 * \brief  The routine to pushdown DCB Priority Group settings to
 *         the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device.
 *
 * \note   vmk_UplinkDCBApplySettings() needs to be called after
 *         this call to guaranttee the changes will be flushed
 *         onto the device.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 * \param[in] pg           The Priority Group to be set up.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBSetPriorityGroup) (void *clientData,
                                                  vmk_DCBPriorityGroup *pg);

/*
 ***********************************************************************
 * vmk_UplinkDCBGetPFCCfg --                                      */ /**
 *
 * \brief  The routine to retrieve Priority-based Flow Control
 *         configurations from the device.
 *
 * \param[in]  clientData   Internal module structure for the device
 *                          associated to the uplink.
 * \param[out] pfcCfg       Used to stored the current PFC configuration.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBGetPFCCfg) (void *clientData,
                              vmk_DCBPriorityFlowControlCfg *pfcCfg);

/*
 ***********************************************************************
 * vmk_UplinkDCBSetPFCCfg --                                      */ /**
 *
 * \brief  The routine to pushdown Priority-based Flow Control
 *         configurations to the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device.
 *
 * \note   vmk_UplinkDCBApplySettings() needs to be called after
 *         this call to guaranttee the changes will be flushed
 *         onto the device.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 * \param[in] pfcCfg       The PFC configuration to be set.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBSetPFCCfg) (void *clientData,
                               vmk_DCBPriorityFlowControlCfg *pfcCfg);

/*
 ***********************************************************************
 * vmk_UplinkDCBIsPFCEnabled --                                   */ /**
 *
 * \brief  The routine to check whether Priority-based Flow Control
 *         support is enabled on the device.
 *
 * \param[in]  clientData   Internal module structure for the device
 *                          associated to the uplink.
 * \param[out] enabled      Used to stored the current PFC support state.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBIsPFCEnabled) (void *clientData,
                                                       vmk_Bool *enabled);

/*
 ***********************************************************************
 * vmk_UplinkDCBEnablePFC --                                      */ /**
 *
 * \brief  The routine to enable Priority-based Flow Control support
 *         on the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device.
 *
 * \note   PFC configurations must be setup correctly before enabling
 *         PFC support on the device.
 *
 * \note   vmk_UplinkDCBApplySettings() needs to be called after
 *         this call to guaranttee the changes will be flushed
 *         onto the device.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBEnablePFC) (void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkDCBDisablePFC --                                     */ /**
 *
 * \brief  The routine to disable Priority-based Flow Control
 *         support on the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device.
 *
 * \note   vmk_UplinkDCBApplySettings() needs to be called after
 *         this call to guaranttee the changes will be flushed
 *         onto the device.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBDisablePFC) (void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkDCBGetApplications --                                */ /**
 *
 * \brief  The routine to retrieve all DCB Application Protocols
 *         settings from the device.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink.
 * \param[out] apps        Used to store the DCB Applications
 *                         settings of the device.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBGetApplications) (void *clientData,
                                                vmk_DCBApplications *apps);

/*
 ***********************************************************************
 * vmk_UplinkDCBSetApplication --                                 */ /**
 *
 * \brief  The routine to pushdown DCB Application Protocol
 *         settings to the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device.
 *
 * \note   vmk_UplinkDCBApplySettings() needs to be called after
 *         this call to guaranttee the changes will be flushed
 *         onto the device.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 * \param[in] app          DCB Application Protocol setting of the
 *                         device.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBSetApplication) (void *clientData,
                                                 vmk_DCBApplication *app);

/*
 ***********************************************************************
 * vmk_UplinkDCBGetCapabilities --                                */ /**
 *
 * \brief  The routine to retrieve DCB capabilities information
 *         from the device.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink.
 * \param[out] caps        Used to store the DCB capabilities
 *                         information of the device.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBGetCapabilities) (void *clientData,
                                                vmk_DCBCapabilities *caps);

/*
 ***********************************************************************
 * vmk_UplinkDCBApplySettings --                                  */ /**
 *
 * \brief  The routine to flush out all pending DCB configuration
 *         changes on the device.
 *
 * \note   It should only be called from the DCB daemon that does
 *         DCB negotiation on behalf of this device. DCB daemon
 *         calls this routine after all DCB parameters are negotiated
 *         and pushed down to the driver.
 *
 * \param[in] clientData   Internal module structure for the device
 *                         associated to the uplink.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBApplySettings) (void *clientData);

/*
 ***********************************************************************
 * vmk_UplinkDCBGetSettings --                                    */ /**
 *
 * \brief  The routine to retrieve all DCB settings from the device.
 *
 * \param[in]  clientData  Internal module structure for the device
 *                         associated to the uplink.
 * \param[out] dcb         Used to store the DCB configurations of
 *                         the device.
 *
 * \retval    VMK_OK       If operation succeeds.
 * \retval    VMK_FAILURE  Otherwise.
 *
 ***********************************************************************
 */
typedef VMK_ReturnStatus (*vmk_UplinkDCBGetSettings) (void *clientData,
                                                      vmk_DCBConfig *dcb);

/**
 * \brief Structure used to have access to the properties of the
 *        device associated to an uplink. 
 */

typedef struct {

   /** Handler used to retrieve the state of the device */
   vmk_UplinkGetStates          getStates;

   /** Handler used to retrieve memory resources of the device */
   vmk_UplinkGetMemResources    getMemResources;

   /** Handler used to retrieve device properties of the device */
   vmk_UplinkGetDeviceProperties getDeviceProperties;

   /** Handler used to retrieve panic-time polling properties of the device */
   vmk_UplinkGetPanicInfo       getPanicInfo;

   /** Handler used to retrieve the MAC address of the device */
   vmk_UplinkGetMACAddr         getMACAddr;

   /** Handler used to retrieve the name of the device */
   vmk_UplinkGetName            getName;

   /** Handler used to retrieve the statistics of the device */
   vmk_UplinkGetStats           getStats;

   /** Handler used to retrieve the driver information of the device */
   vmk_UplinkGetDriverInfo      getDriverInfo;

   /** Handler used to retrieve the wake-on-lan state of the device */
   vmk_UplinkGetWolState        getWolState;

   /** Handler used to set the wake-on-lan state of the device */
   vmk_UplinkGetWolState        setWolState;

   /** Handler used to get colesing state of the device */
   vmk_UplinkGetCoalesceParams  getCoalesceParams;

   /** Handler used to set colesing state of the device */
   vmk_UplinkSetCoalesceParams  setCoalesceParams;
} vmk_UplinkPropFunctions;

/** 
 * \brief Structure used to have access to the timeout properties of the
 *        device associated to an uplink.
 *        If the module does not provide a timeout mechanism, this information
 *        can be ignored.
 */

typedef struct {

   /** Handler used to retrieve the number of times the device handles timeout before hitting a panic */
   vmk_UplinkGetWatchdogHitCnt         getHitCnt;

   /** Handler used to set the number of times the device handles timeout before hitting a panic */
   vmk_UplinkSetWatchdogHitCnt         setHitCnt;

   /** Handler used to retrieve the global number of times the device hit a timeout */
   vmk_UplinkGetWatchdogStats          getStats;

   /** Handler used to retrieve the timeout panic mod's status for the device */
   vmk_UplinkGetWatchdogPanicModState  getPanicMod;

   /** Handler used to set the timeout panic mod's status for the device */
   vmk_UplinkSetWatchdogPanicModState  setPanicMod;
} vmk_UplinkWatchdogFunctions;

typedef struct {
   /** Netqueue control operation entry point */
   vmk_UplinkNetqueueOpFunc               netqOpFunc;

   /** Netqueue packet transmit function (obsolete) */
   vmk_UplinkNetqueueXmit                 netqXmit;
} vmk_UplinkNetqueueFunctions;

typedef struct {
   /** dispatch routine for PT management operations */
   vmk_UplinkPTOpFunc                     ptOpFunc;
} vmk_UplinkPTFunctions;

typedef struct {

   /** Handler used to setup vlan hardware context and add vid */
   vmk_UplinkVlanSetupHw            setupVlan;

   /** Handler used to delete vlan id and deactivate hw for the device */
   vmk_UplinkVlanRemoveHw           removeVlan;
} vmk_UplinkVlanFunctions;

typedef struct {

   /** Handler used to retrieve the MTU of the device */
   vmk_UplinkGetMTU                 getMTU;

   /** Handler used to set the MTU of the device */
   vmk_UplinkSetMTU                 setMTU;
} vmk_UplinkMtuFunctions;

typedef struct {

   /** Handler used to Tx a packet immediately through the device */
   vmk_UplinkStartTx                startTxImmediate;

   /** Handler used to set up the resources of the device */
   vmk_UplinkOpenDev                open;

   /** Handler used to release the resources of the device */
   vmk_UplinkCloseDev               close;

   /** Handler used to poll device for a Rx packet */
   vmk_UplinkPanicPoll              panicPoll;

   /** Handler used to flush the Rx/Tx buffers of the device */
   vmk_UplinkFlushBuffers           flushRxBuffers;

   /** Handler used to issue an ioctl command to the device */
   vmk_UplinkIoctlCB                ioctl;

   /** Handler used to set the device as blocked */
   vmk_UplinkBlockDev               block;

   /** Handler used to set the device as unblocked */
   vmk_UplinkUnblockDev             unblock;

   /** Handler used to change link speed and duplex */
   vmk_UplinkSetLinkStatus          setLinkStatus;

   /** Handler used to reset a device */
   vmk_UplinkResetDev               reset;
} vmk_UplinkCoreFunctions;

typedef struct {

   /** Handler used to check whether DCB is enabled on the deivce */
   vmk_UplinkIsDCBEnabled           isDCBEnabled;

   /** Handler used to enable DCB support on the device */
   vmk_UplinkEnableDCB              enableDCB;

   /** Handler used to disable DCB support on the device */
   vmk_UplinkDisableDCB             disableDCB;

   /** Handler used to retrieve Traffic Classes information from the device */
   vmk_UplinkDCBGetNumTCs           getNumTCs;

   /** Handler used to retrieve Priority Group information from the device */
   vmk_UplinkDCBGetPriorityGroup    getPG;

   /** Handler used to push down Priority Group settings to the device */
   vmk_UplinkDCBSetPriorityGroup    setPG;

   /**
    * Handler used to retrieve Priority-based Flow Control configurations
    * from the device
    */
   vmk_UplinkDCBGetPFCCfg           getPFCCfg;

   /**
    * Handler used to pushdown Priority-based Flow Control configurations
    * to the device
    */
   vmk_UplinkDCBSetPFCCfg           setPFCCfg;

   /**
    * Handler used to check whether Priority-based Flow Control support is
    * enabled on the device
    */
   vmk_UplinkDCBIsPFCEnabled        isPFCEnabled;

   /** Handler used to enable Priority-based Flow Control on the device */
   vmk_UplinkDCBEnablePFC           enablePFC;

   /** Handler used to disable Priority-based Flow Control on the device */
   vmk_UplinkDCBDisablePFC          disablePFC;

   /**
    * Handler used to retrieve all DCB Application Protocols settings
    * from the device
    */
   vmk_UplinkDCBGetApplications     getApps;

   /**
    * Handler used to pushdown DCB Application Protocol settings to the device
    */
   vmk_UplinkDCBSetApplication      setApp;

   /** Handler used to retrieve DCB capabilities information from the device */
   vmk_UplinkDCBGetCapabilities     getCaps;

   /**
    * Handler used to flush all pending DCB configuration changes to the device
    */
   vmk_UplinkDCBApplySettings       applySettings;

   /** Handler used to retrieve all DCB settings from the device */
   vmk_UplinkDCBGetSettings         getSettings;
} vmk_UplinkDCBFunctions;

/**
 * \brief Structure passed to vmkernel in order to interact with the device
 *        associated to an uplink.
 */

typedef struct vmk_UplinkFunctions {

   /** Set of functions giving access to the core services of the device */
   vmk_UplinkCoreFunctions          coreFns;

   /** Set of functions giving access to the vlan services of the device */
   vmk_UplinkVlanFunctions          vlanFns;

   /** Set of functions giving access to the MTU services of the device*/
   vmk_UplinkMtuFunctions           mtuFns;

   /** Set of functions giving access to the properties/statistics of the device */
   vmk_UplinkPropFunctions          propFns;

   /** Set of functions giving access to the watchdog management of the device */
   vmk_UplinkWatchdogFunctions      watchdogFns;

   /** Set of functions giving access to the netqueue services of the device */
   vmk_UplinkNetqueueFunctions      netqueueFns;

   /** Set of functions giving access to the PT services of the device */
   vmk_UplinkPTFunctions            ptFns;

   /** Set of functions giving access to the DCB services of the device */
   vmk_UplinkDCBFunctions           dcbFns;

} vmk_UplinkFunctions;

/**
 * \brief Uplink flags for misc. info.
 */
typedef enum {
   /** \brief hidden from management apps */
   VMK_UPLINK_FLAG_HIDDEN         =       0x01,

} vmk_UplinkFlags;

/**
 * \brief Structure containing all the required information to bind a 
 *        device to an uplink.
 */

typedef struct {

   /** Name of the freshly connected device */
   char                  *devName;

   /** Internal module structure for this network device */
   void                  *clientData;

   /** Module identifier of the caller module */
   vmk_ModuleID          moduleID;

   /** Functions used by vmkernel to interact with module network services */
   vmk_UplinkFunctions   *functions;

   /** Capabilities populated to vmkernel level for this particular uplink */
   vmk_UplinkCapabilities cap;

   /** Data misc. flags for the uplink */
   vmk_UplinkFlags       flags;
} vmk_UplinkConnectInfo;

/*
 ***********************************************************************
 * vmk_UplinkUpdateLinkState --                                   */ /**
 *
 * \brief Update link status information related to a specified uplink
 *        with a bundle containing the information.
 *
 * \param[in] uplink   Uplink aimed
 * \param[in] linkInfo Structure containing link information
 *
 * \retval    VMK_OK   Always
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkUpdateLinkState(vmk_Uplink uplink,
					   vmk_UplinkLinkInfo *linkInfo);

/*
 ***********************************************************************
 * vmk_UplinkWatchdogTimeoutHit --                                */ /**
 *
 * \brief Notify vmkernel that a watchdog timeout has occurred.
 *
 * \note If an uplink driver has a watchdog for the transmit queue of the device,
 *       the driver should notify vmkernel when a timeout occurs. Vmkernel may use this
 *       information to determine the reliability of a particular uplink.
 *
 * \param[in]  uplink    Uplink aimed
 *
 * \retval     VMK_OK    Always
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkWatchdogTimeoutHit(vmk_Uplink uplink);

/*
 ***********************************************************************
 * vmk_UplinkRegister --                                          */ /**
 *
 * \brief Notify vmkernel that an uplink has been connected.
 *
 * \note This function create the bond between vmkernel uplink and 
 *       a module internal structure.
 *       Through this connection vmkernel will be able to manage
 *       Rx/Tx and other operations on module network services.
 *
 * \param[out] uplink         Address of the new uplink
 * \param[in]  connectInfo    Information passed to vmkernel to bind an 
 *                            uplink to a module internal NIC representation
 *
 * \retval     VMK_OK        if succeed
 * \retval     VMK_FAILURE   otherwise
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkRegister(vmk_Uplink *uplink,
                                    vmk_UplinkConnectInfo *connectInfo);

/*
 ***********************************************************************
 * vmk_UplinkUnregister                                           */ /**
 *
 * \brief Destroys the corresponding uplink
 *
 * \note Once called, the uplink handle is no longer valid.
 *
 * \param[in]  uplink        Uplink to unregister
 *
 * \retval     VMK_OK        if succeed
 * \retval     VMK_FAILURE   otherwise
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkUnregister(vmk_Uplink uplink);

/*
 ***********************************************************************
 * vmk_UplinkOpen --                                              */ /**
 *
 * \brief Open the device associated with the uplink
 *
 * \note This function needs to be called if the device associated with
 *       the uplink is not a PCI device. For PCI device, 
 *       vmk_PCIDoPostInsert() should be called instead.
 *
 * \param[in]  uplink        Uplink to be opened
 *
 * \retval     VMK_OK        if succeed
 * \retval     VMK_FAILURE   otherwise
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkOpen(vmk_Uplink uplink);

/*
 ***********************************************************************
 * vmk_UplinkClose --                                             */ /**
 *
 * \brief Close the device associated with the uplink and disconnect the
 *        uplink from the network services
 *
 * \note This function needs to be called if the device associated with
 *       the uplink is not a PCI device. For PCI device,
 *       vmk_PCIDoPreRemove() should be called instead.
 *
 * \param[in]  uplink        Uplink to be closed
 *
 * \retval     VMK_OK        if succeed
 * \retval     VMK_FAILURE   otherwise
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkClose(vmk_Uplink uplink);

/*
 ***********************************************************************
 * vmk_UplinkIsNameAvailable --                                   */ /**
 *
 * \brief Check if a name is already used by an uplink in vmkernel.
 *
 * \param[in]  uplinkName     Name of the uplink
 *
 * \retval     VMK_TRUE       the uplink name is available
 * \retval     VMK_FALSE      otherwise
 *
 ***********************************************************************
 */

vmk_Bool vmk_UplinkIsNameAvailable(char *uplinkName);

/*
 ***********************************************************************
 * vmk_UplinkWorldletSet --                                       */ /**
 *
 * \brief Associate worldlet with an uplink.
 *
 * \param[in]  uplink   Uplink aimed
 * \param[in]  worldlet Worldlet to associate with this uplink
 *
 * \retval     VMK_OK        if succeed
 * \retval     VMK_FAILURE   otherwise
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkWorldletSet(vmk_Uplink uplink,
                                       void *worldlet);

/*
 ***********************************************************************
 * vmk_UplinkCapabilitySet --                                     */ /**
 *
 * \brief Enable/Disable a capability for an uplink.
 *
 * \param[in] uplinkCaps    Capabilities to be modified
 * \param[in] cap           Capability to be enabled/disabled
 * \param[in] enable        true => enable, false => disable
 *
 * \retval    VMK_OK        If capability is valid
 * \retval    VMK_NOT_FOUND Otherwise
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkCapabilitySet(vmk_UplinkCapabilities *uplinkCaps, 
					 vmk_PortClientCaps cap, 
					 vmk_Bool enable);

/*
 ***********************************************************************
 * vmk_UplinkCapabilityGet --                                     */ /**
 *
 * \brief Retrieve status of a capability for an uplink.
 *
 * \param[in]  uplinkCaps    Capabilities to be modified
 * \param[in]  cap           Capability to be checked
 * \param[out] status        true => enabled, false => disabled
 *
 * \retval     VMK_OK        If capability is valid
 * \retval     VMK_NOT_FOUND Otherwise
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkCapabilityGet(vmk_UplinkCapabilities *uplinkCaps, 
					 vmk_PortClientCaps cap, 
					 vmk_Bool *status);

/*
 ***********************************************************************
 * vmk_UplinkQueueStop --                                         */ /**
 *
 * \brief Notify stack of uplink queue stop
 *
 * \param[in]  uplink        Uplink aimed
 * \param[in]  qid           Queue ID
 *
 * \retval     VMK_OK
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkQueueStop(vmk_Uplink uplink,
                                     vmk_NetqueueQueueID qid);

/*
 ***********************************************************************
 * vmk_UplinkQueueStart --                                        */ /**
 *
 * \brief Notify stack of uplink queue (re)start
 *
 * \param[in]  uplink        Uplink aimed
 * \param[in]  qid           Queue ID
 *
 * \retval     VMK_OK
 *
 ***********************************************************************
 */

VMK_ReturnStatus vmk_UplinkQueueStart(vmk_Uplink uplink,
                                      vmk_NetqueueQueueID qid);

/*
 ***********************************************************************
 * vmk_PktQueueForRxProcess --                                    */ /**
 *
 * \brief Queue a specified packet coming from an uplink for Rx process.
 *
 * \param[in] pkt       Target packet
 * \param[in] uplink    Uplink where the packet came from
 *
 ***********************************************************************
 */
extern
void vmk_PktQueueForRxProcess(vmk_PktHandle *pkt,
                              vmk_Uplink uplink);

/*
 ***********************************************************************
 * vmk_PktListRxProcess --                                        */ /**
 *
 * \brief Process a list of packets from an uplink.
 *
 * \param[in] pktList   Set of packets to process.
 * \param[in] uplink    Uplink from where the packets came from.
 *
 ***********************************************************************
 */
void vmk_PktListRxProcess(vmk_PktList pktList,
                          vmk_Uplink uplink);


#endif /* _VMKAPI_NET_UPLINK_INCOMPAT_H_ */
/** @} */
/** @} */
/** @} */