Skip to content

Commit 1ac5009

Browse files
committed
Add error checking and support for DCB Exchange protocol (DCBX) version 1.01.
From Kaladhar Musunuru <[email protected]>: Added support for DCB Exchange protocol (DCBX) version 1.01. http://www.ieee802.org/1/files/public/docs2008/az-wadekar-dcbx-capability-exchange-discovery-protocol-1108-v1.01.pdf DCBX protocol exchanges control state machine and generic feature state machine parameters as Organizationally specific TLVs. The OUI used for the DCBX TLV 1.01 is 0x001B21. Following TLVs are decoded: - Control state - Priority Groups (PG) - Priority-based Flow Control (PFC) - Application Protocol (APP) From me: Add a bunch of additional error checking, and sort the main switch statement by TLV code (and thus by the order in the specification). Also update/add indications of what standards document what items.
1 parent 47b1a4a commit 1ac5009

File tree

4 files changed

+384
-67
lines changed

4 files changed

+384
-67
lines changed

Diff for: CREDITS

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ Additional people who have contributed patches:
9696
Julian Cowley <julian at lava dot net>
9797
Juliusz Chroboczek <[email protected]>
9898
Kaarthik Sivakumar <kaarthik at torrentnet dot com>
99+
Kaladhar Musunuru <kaladharm at sourceforge dot net>
99100
Karl Norby <karl-norby at sourceforge dot net>
100101
Kazushi Sugyo <sugyo at pb dot jp dot nec dot com>
101102
Kelly Carmichael <kcarmich at ipapp dot com>

Diff for: oui.c

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ const struct tok oui_values[] = {
4242
{ OUI_IEEE_8021_PRIVATE, "IEEE 802.1 Private"},
4343
{ OUI_IEEE_8023_PRIVATE, "IEEE 802.3 Private"},
4444
{ OUI_TIA, "ANSI/TIA"},
45+
{ OUI_DCBX, "DCBX"},
4546
{ 0, NULL }
4647
};
4748

Diff for: oui.h

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ extern const struct tok smi_values[];
3030
#define OUI_IEEE_8021_PRIVATE 0x0080c2 /* IEEE 802.1 Organisation Specific - Annex F */
3131
#define OUI_IEEE_8023_PRIVATE 0x00120f /* IEEE 802.3 Organisation Specific - Annex G */
3232
#define OUI_TIA 0x0012bb /* TIA - Telecommunications Industry Association - ANSI/TIA-1057- 2006 */
33+
#define OUI_DCBX 0x001B21 /* DCBX */
3334

3435
/*
3536
* These are SMI Network Management Private Enterprise Codes for

0 commit comments

Comments
 (0)