Files
@ d6b9b2ac5869
Branch filter:
Location: vmkdrivers/BLD/build/HEADERS/vmkapi-current-all-public-bincomp/vmkernel64/release/net/vmkapi_net_dcb.h
d6b9b2ac5869
26.2 KiB
text/x-chdr
ESXi-5.5-U2
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 | /* **********************************************************
* Copyright 2010 VMware, Inc. All rights reserved.
* **********************************************************/
/*
* @VMKAPIMOD_LICENSE@
*/
/*
***********************************************************************
* DCB
* \addtogroup Network
*@{
* \defgroup DCB DCB (Data Center Bridging) Interfaces
*
* DCB (Data Center Bridging) is set of extension protocols that try to
* enhance ethernet for use in data centers. This group defines DCB data
* structures and APIs for getting/setting DCB parameters from/to the
* hardware.
*
* This implementation is based on the DCB spec Rev1.01. Priority-based
* Flow Control, Priority Group, and Application structures are all
* derived from the DCB spec Rev 1.01.
*
* Link to the DCB spec Rev 1.01:
* http://www.ieee802.org/1/files/public/docs2008/az-wadekar-dcbx-capability-exchange-discovery-protocol-1108-v1.01.pdf
*
*@{
*
***********************************************************************
*/
#ifndef _VMKAPI_NET_DCB_H_
#define _VMKAPI_NET_DCB_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 */
/** Maximum number of different User Priority */
#define VMK_DCB_MAX_PRIORITY_COUNT 8
/** Maximum number of Priority Groups */
#define VMK_DCB_MAX_PG_COUNT 8
/** Maximum number of DCB Applications */
#define VMK_DCB_MAX_APP_COUNT 16
/**
* \brief DCB version
*/
typedef struct vmk_DCBVersion {
/**
* \brief Major version of DCB
*/
vmk_uint8 majorVersion;
/**
* \brief Minor version of DCB
*/
vmk_uint8 minorVersion;
} vmk_DCBVersion;
/**
* \brief Traffic Classes information of the device.
*
* Traffic Class information indicates how many Traffic Classes supported
* by the hardware for Priority Group and Priority-based Flow Control.
*/
typedef struct vmk_DCBNumTCs {
/**
* \brief Number of Traffic Classes supported for Priority Group.
*/
vmk_uint8 pgTcs;
/**
* \brief Number of Traffic Classes supported for Priority-based
* Flow Control.
*/
vmk_uint8 pfcTcs;
} vmk_DCBNumTCs;
/**
* \brief DCB Priority Group parameters of the device.
*
* DCB Priority Group Parameters include User Priority to Priority Group
* mapping and bandwidth divvying between Priority Groups.
*/
typedef struct vmk_DCBPriorityGroup {
/** \brief Maps PGID : Link Bandwidth %. */
vmk_uint8 pgBwPercent[VMK_DCB_MAX_PG_COUNT];
/** \brief Maps UP : PGID.
*
* upToPgIDMap[X] = Y indicates that UP X belongs to Priority Group Y.
*/
vmk_uint8 upToPgIDMap[VMK_DCB_MAX_PRIORITY_COUNT];
} vmk_DCBPriorityGroup;
/**
* \brief DCB Priority-based Flow Control parameters.
*
* DCB Priority-based Flow Control Parameters indicate if PFC is enabled on a
* certain priority.
*/
typedef struct vmk_DCBPriorityFlowControlCfg {
/** \brief PFC configuration. */
vmk_Bool pfcEnable[VMK_DCB_MAX_PRIORITY_COUNT];
} vmk_DCBPriorityFlowControlCfg;
/**
* \brief DCB capabilities of the device.
*
* DCB capability attributes indicates whether the hardware supports a
* specific DCB capability or not. DCB capabilities include Priority Group,
* Priority-based Flow Control, and Traffic Classes supported.
*/
typedef struct vmk_DCBCapabilities {
/** \brief Capability of Priority Groups. */
vmk_Bool priorityGroup;
/** \brief Capability of Priority-based Flow Control. */
vmk_Bool priorityFlowControl;
/** \brief Number of PG Traffic Classes supported. */
vmk_uint8 pgTrafficClasses;
/** \brief Number of PFC Traffic Classes supported. */
vmk_uint8 pfcTrafficClasses;
} vmk_DCBCapabilities;
/**
* \brief DCB Application Protocol Selector Field.
*
* DCB Application Protocol Selector Field types.
*/
typedef enum vmk_DCBAppSelectorField {
/** \brief App Proto ID carries L2 EtherType. */
VMK_DCB_APP_L2_ETHTYPE = 0x0,
/** \brief App Proto ID carries Socket Number (TCP/UDP). */
VMK_DCB_APP_SOCKET_NUM = 0x1,
/** \brief Reserved. */
VMK_DCB_APP_RSVD1 = 0x2,
/** \brief Reserved. */
VMK_DCB_APP_RSVD2 = 0x3,
} vmk_DCBAppSelectorField;
/**
* \brief DCB Application Protocol parameters.
*
* DCB Application Protocol parameters indicate whether a DCB Application
* Protocol is enabled, and which priority it uses.
*/
typedef struct vmk_DCBApplication {
/** \brief Whether this Application is enabled. */
vmk_Bool enabled;
/** \brief Selector Field. */
vmk_DCBAppSelectorField sf;
/** \brief Application Protocol ID. */
vmk_uint16 protoID;
/** \brief 802.1p User Priority. */
vmk_VlanPriority priority;
} vmk_DCBApplication;
/**
* \brief All DCB Application Protocols been supported.
*/
typedef struct vmk_DCBApplications {
/** \brief Stores all available DCB Application Protocols. */
vmk_DCBApplication app[VMK_DCB_MAX_APP_COUNT];
} vmk_DCBApplications;
/**
* \brief Cached DCB configuration data of the device associated to an uplink.
*/
typedef struct vmk_DCBConfig {
/** \brief DCB version. */
vmk_DCBVersion version;
/** \brief Whether DCB is enabled on the device. */
vmk_Bool dcbEnabled;
/** \brief Traffic Classes information of the device. */
vmk_DCBNumTCs numTCs;
/** \brief DCB Priority Group parameters of the device. */
vmk_DCBPriorityGroup priorityGroup;
/** \brief Whether Priority-based Flow Control is enabled on the device. */
vmk_Bool pfcEnabled;
/** \brief DCB Priority-based Flow Control parameters. */
vmk_DCBPriorityFlowControlCfg pfcCfg;
/** \brief DCB capabilities of the device. */
vmk_DCBCapabilities caps;
/** \brief DCB application settings of the device. */
vmk_DCBApplications apps;
} vmk_DCBConfig;
/*
***********************************************************************
* vmk_UplinkDCBIsEnabledCB -- */ /**
*
* \brief Handler used by vmkernel to check whether DCB support is
* enabled on the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \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_UplinkDCBIsEnabledCB)(vmk_AddrCookie driverData,
vmk_Bool *enabled,
vmk_DCBVersion *version);
/*
***********************************************************************
* vmk_UplinkDCBEnableCB -- */ /**
*
* \brief Handler used by vmkernel 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 Uplink layer will call vmk_UplinkDCBApplySettingsCB() after
* this call to guarantee the changes will be flushed onto the
* device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBEnableCB)(vmk_AddrCookie driverData);
/*
***********************************************************************
* vmk_UplinkDCBDisableCB -- */ /**
*
* \brief Handler used by vmkernel 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 Uplink layer will call vmk_UplinkDCBApplySettingsCB() after
* this call to guarantee the changes will be flushed onto the
* device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBDisableCB)(vmk_AddrCookie driverData);
/*
***********************************************************************
* vmk_UplinkDCBNumTCsGetCB -- */ /**
*
* \brief Handler used by vmkernel to retrieve Traffic Classes
* information from the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \param[out] numTCs Used to store the Traffic Class
* information.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBNumTCsGetCB)(vmk_AddrCookie driverData,
vmk_DCBNumTCs *numTCs);
/*
***********************************************************************
* vmk_UplinkDCBPriorityGroupGetCB -- */ /**
*
* \brief Handler used by vmkernel to retrieve DCB Priority Group
* settings from the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \param[out] pg Used to stored the current PG setting.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBPriorityGroupGetCB)(vmk_AddrCookie driverData,
vmk_DCBPriorityGroup *pg);
/*
***********************************************************************
* vmk_UplinkDCBPriorityGroupSetCB -- */ /**
*
* \brief Handler used by vmkernel 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 Uplink layer will call vmk_UplinkDCBApplySettingsCB() after
* this call to guarantee the changes will be flushed onto the
* device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \param[in] pg The Priority Group to be set up.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBPriorityGroupSetCB)(vmk_AddrCookie driverData,
vmk_DCBPriorityGroup *pg);
/*
***********************************************************************
* vmk_UplinkDCBPriorityFCGetCB -- */ /**
*
* \brief Handler used by vmkernel to retrieve Priority-based Flow
* Control configurations from the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \param[out] pfcCfg Used to stored the current PFC configuration.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBPriorityFCGetCB)(vmk_AddrCookie driverData,
vmk_DCBPriorityFlowControlCfg *pfcCfg);
/*
***********************************************************************
* vmk_UplinkDCBPriorityFCSetCB -- */ /**
*
* \brief Handler used by vmkernel 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 Uplink layer will call vmk_UplinkDCBApplySettingsCB() after
* this call to guarantee the changes will be flushed onto the
* device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \param[in] pfcCfg The PFC configuration to be set.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBPriorityFCSetCB)(vmk_AddrCookie driverData,
vmk_DCBPriorityFlowControlCfg *pfcCfg);
/*
***********************************************************************
* vmk_UplinkDCBIsPriorityFCEnabledCB -- */ /**
*
* \brief Handler used by vmkernel to check whether Priority-based Flow
* Control support is enabled on the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \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_UplinkDCBIsPriorityFCEnabledCB)(vmk_AddrCookie driverData,
vmk_Bool *enabled);
/*
***********************************************************************
* vmk_UplinkDCBPriorityFCEnableCB -- */ /**
*
* \brief Handler used by vmkernel 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 Uplink layer will call vmk_UplinkDCBApplySettingsCB() after
* this call to guarantee the changes will be flushed onto the
* device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBPriorityFCEnableCB)(vmk_AddrCookie driverData);
/*
***********************************************************************
* vmk_UplinkDCBPriorityFCDisableCB -- */ /**
*
* \brief Handler used by vmkernel 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 Uplink layer will call vmk_UplinkDCBApplySettingsCB() after
* this call to guarantee the changes will be flushed onto the
* device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBPriorityFCDisableCB)(vmk_AddrCookie driverData);
/*
***********************************************************************
* vmk_UplinkDCBApplicationsGetCB -- */ /**
*
* \brief Handler used by vmkernel to retrieve all DCB Application
* Protocols settings from the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \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_UplinkDCBApplicationsGetCB)(vmk_AddrCookie driverData,
vmk_DCBApplications *apps);
/*
***********************************************************************
* vmk_UplinkDCBApplicationsSetCB -- */ /**
*
* \brief Handler used by vmkernel 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 Uplink layer will call vmk_UplinkDCBApplySettingsCB() after
* this call to guarantee the changes will be flushed onto the
* device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \param[in] app DCB Application Protocol setting of the
* device.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBApplicationsSetCB)(vmk_AddrCookie driverData,
vmk_DCBApplication *app);
/*
***********************************************************************
* vmk_UplinkDCBCapabilitiesGetCB -- */ /**
*
* \brief Handler used by vmkernel to retrieve DCB capabilities
* information from the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \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_UplinkDCBCapabilitiesGetCB)(vmk_AddrCookie driverData,
vmk_DCBCapabilities *caps);
/*
***********************************************************************
* vmk_UplinkDCBSettingsApplyCB -- */ /**
*
* \brief Handler used by vmkernel 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] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
*
* \retval VMK_OK If operation succeeds.
* \retval VMK_FAILURE Otherwise.
*
***********************************************************************
*/
typedef VMK_ReturnStatus (*vmk_UplinkDCBSettingsApplyCB)(vmk_AddrCookie driverData);
/*
***********************************************************************
* vmk_UplinkDCBSettingsGetCB -- */ /**
*
* \brief Handler used by vmkernel to retrieve all DCB settings from
* the device.
*
* \param[in] driverData Points to the internal module structure for
* the device associated to the uplink. Before
* calling vmk_DeviceRegister, device driver
* needs to assign this pointer to member
* driverData in structure vmk_UplinkRegData.
* \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_UplinkDCBSettingsGetCB)(vmk_AddrCookie driverData,
vmk_DCBConfig *dcb);
typedef struct vmk_UplinkDCBOps {
/** Handler used to check whether DCB is enabled on the deivce */
vmk_UplinkDCBIsEnabledCB isDCBEnabled;
/** Handler used to enable DCB support on the device */
vmk_UplinkDCBEnableCB enableDCB;
/** Handler used to disable DCB support on the device */
vmk_UplinkDCBDisableCB disableDCB;
/**
* Handler used to retrieve Traffic Classes information from the
* device
*/
vmk_UplinkDCBNumTCsGetCB getNumTCs;
/**
* Handler used to retrieve Priority Group information from the
* device
*/
vmk_UplinkDCBPriorityGroupGetCB getPG;
/**
* Handler used to push down Priority Group settings to the
* device
*/
vmk_UplinkDCBPriorityGroupSetCB setPG;
/**
* Handler used to retrieve Priority-based Flow Control
* configurations from the device
*/
vmk_UplinkDCBPriorityFCGetCB getPFCCfg;
/**
* Handler used to pushdown Priority-based Flow Control
* configurations to the device
*/
vmk_UplinkDCBPriorityFCSetCB setPFCCfg;
/**
* Handler used to check whether Priority-based Flow Control support
* is enabled on the device
*/
vmk_UplinkDCBIsPriorityFCEnabledCB isPFCEnabled;
/**
* Handler used to enable Priority-based Flow Control on the
* device
*/
vmk_UplinkDCBPriorityFCEnableCB enablePFC;
/**
* Handler used to disable Priority-based Flow Control on the
* device
*/
vmk_UplinkDCBPriorityFCDisableCB disablePFC;
/**
* Handler used to retrieve all DCB Application Protocols settings
* from the device
*/
vmk_UplinkDCBApplicationsGetCB getApps;
/**
* Handler used to pushdown DCB Application Protocol settings to the
* device
*/
vmk_UplinkDCBApplicationsSetCB setApp;
/**
* Handler used to retrieve DCB capabilities information from the
* device
*/
vmk_UplinkDCBCapabilitiesGetCB getCaps;
/**
* Handler used to flush all pending DCB configuration changes to
* the device
*/
vmk_UplinkDCBSettingsApplyCB applySettings;
/** Handler used to retrieve all DCB settings from the device */
vmk_UplinkDCBSettingsGetCB getSettings;
} vmk_UplinkDCBOps;
#endif /* _VMKAPI_NET_DCB_H_ */
/** @} */
/** @} */
|