<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/net/dcbnl.h, branch v3.2.97</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.97</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.97'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2011-10-06T19:49:51Z</updated>
<entry>
<title>dcb: add DCBX mode to event notifier attributes</title>
<updated>2011-10-06T19:49:51Z</updated>
<author>
<name>John Fastabend</name>
<email>john.r.fastabend@intel.com</email>
</author>
<published>2011-10-06T08:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=6bd0e1cb10b6d14dda4a8806d0a2f4f0bbf01931'/>
<id>urn:sha1:6bd0e1cb10b6d14dda4a8806d0a2f4f0bbf01931</id>
<content type='text'>
Add DCBX mode to event notifiers so listeners can learn
currently enabled mode.

Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcb: Use ifindex instead of ifname</title>
<updated>2011-10-06T19:49:51Z</updated>
<author>
<name>Mark Rustad</name>
<email>mark.d.rustad@intel.com</email>
</author>
<published>2011-10-06T08:52:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e290ed81307ca7d92675f0d9c683add693c2f377'/>
<id>urn:sha1:e290ed81307ca7d92675f0d9c683add693c2f377</id>
<content type='text'>
Use ifindex instead of ifname in the DCB app ring. This makes for a smaller
data structure and faster comparisons. It also avoids possible issues when
a net device is renamed.

Signed-off-by: Mark Rustad &lt;mark.d.rustad@intel.com&gt;
Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcbnl: Add CEE notification</title>
<updated>2011-07-06T06:42:17Z</updated>
<author>
<name>Shmulik Ravid</name>
<email>shmulikr@broadcom.com</email>
</author>
<published>2011-07-05T06:16:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5b7f7626743e0912958981343b47ac0ab2206b1c'/>
<id>urn:sha1:5b7f7626743e0912958981343b47ac0ab2206b1c</id>
<content type='text'>
This patch add an unsolicited notification of the DCBX negotiated
parameters for the CEE flavor of the DCBX protocol. The notification
message is identical to the aggregated CEE get operation and holds all
the pertinent local and peer information. The notification routine is
exported so it can be invoked by drivers supporting an embedded DCBX
stack.

Signed-off-by: Shmulik Ravid &lt;shmulikr@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcb: fix return type on dcb_setapp()</title>
<updated>2011-06-21T23:06:12Z</updated>
<author>
<name>John Fastabend</name>
<email>john.r.fastabend@intel.com</email>
</author>
<published>2011-06-21T07:34:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ab6baf980b095c70a56c5eb2f58166aef8a0edc8'/>
<id>urn:sha1:ab6baf980b095c70a56c5eb2f58166aef8a0edc8</id>
<content type='text'>
Incorrect return type on dcb_setapp() this routine
returns negative error codes. All call sites of
dcb_setapp() assign the return value to an int already
so no need to update drivers.

Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcb: Add dcb_ieee_getapp_mask() for drivers to query APP settings</title>
<updated>2011-06-21T23:06:12Z</updated>
<author>
<name>John Fastabend</name>
<email>john.r.fastabend@intel.com</email>
</author>
<published>2011-06-21T07:34:53Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a364c8cf80251849bab207be8c9e66253c8ca8f8'/>
<id>urn:sha1:a364c8cf80251849bab207be8c9e66253c8ca8f8</id>
<content type='text'>
With multiple APP entries per selector and protocol drivers
or stacks may want to pick a specific value or stripe traffic
across many priorities. Also if an APP entry in use is
deleted the stack/driver may want to choose from the existing
APP entries.

To facilitate this and avoid having duplicate code to walk
the APP ring provide a routine dcb_ieee_getapp_mask() to
return a u8 bitmask of all priorities set for the specified
selector and protocol. This routine and bitmask is a helper
for DCB kernel users.

Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcb: Add ieee_dcb_delapp() and dcb op to delete app entry</title>
<updated>2011-06-21T23:06:11Z</updated>
<author>
<name>John Fastabend</name>
<email>john.r.fastabend@intel.com</email>
</author>
<published>2011-06-21T07:34:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f9ae7e4b515c4d56baf6e0e84ebee2e03ae57a25'/>
<id>urn:sha1:f9ae7e4b515c4d56baf6e0e84ebee2e03ae57a25</id>
<content type='text'>
Now that we allow multiple IEEE App entries we need a way
to remove specific entries. To do this add the ieee_dcb_delapp()
routine.

Additionaly drivers may need to remove the APP entry from
their firmware tables. Add dcb ops routine to handle this.

Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcb: Add ieee_dcb_setapp() to be used for IEEE 802.1Qaz APP data</title>
<updated>2011-06-21T23:06:11Z</updated>
<author>
<name>John Fastabend</name>
<email>john.r.fastabend@intel.com</email>
</author>
<published>2011-06-21T07:34:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b6db2174c59ef1e72f7bd63e0f105b1a2d7f18d3'/>
<id>urn:sha1:b6db2174c59ef1e72f7bd63e0f105b1a2d7f18d3</id>
<content type='text'>
This adds a setapp routine for IEEE802.1Qaz encoded APP data types.
The IEEE 802.1Qaz spec encodes the priority bits differently and
allows for multiple APP data entries of the same selector and
protocol. Trying to force these to use the same set routines was
becoming tedious. Furthermore, userspace could probably enforce
the correct semantics, but expecting drivers to do this seems
error prone in the firmware case.

For these reasons add ieee_dcb_setapp() that understands the
IEEE 802.1Qaz encoded form.

Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>net: dcbnl, add multicast group for DCB</title>
<updated>2011-06-21T23:06:11Z</updated>
<author>
<name>John Fastabend</name>
<email>john.r.fastabend@intel.com</email>
</author>
<published>2011-06-21T07:34:37Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=314b4778ed579f29b6d46ba90dbf31314c13805f'/>
<id>urn:sha1:314b4778ed579f29b6d46ba90dbf31314c13805f</id>
<content type='text'>
Now that dcbnl is being used in many cases by more
than a single agent it is beneficial to be notified
when some entity either driver or user space has
changed the DCB attributes.

Today applications either end up polling the interface
or relying on a user space database to maintain the DCB
state and post events. Polling is a poor solution for
obvious reasons. And relying on a user space database
has its own downside. Namely it has created strange
boot dependencies requiring the database be populated
before any applications dependent on DCB attributes
starts or the application goes into a polling loop.
Populating the database requires negotiating link
setting with the peer and can take anywhere from less
than a second up to a few seconds depending on the switch
implementation.

Perhaps more importantly if another application or an
embedded agent sets a DCB link attribute the database
has no way of knowing other than polling the kernel.
This prevents applications from responding quickly to
changes in link events which at least in the FCoE case
and probably any other protocols expecting a lossless
link may result in IO errors.

By adding a multicast group for DCB we have clean way
to disseminate kernel DCB link attributes up to user
space. Avoiding the need for user space to maintain
a coherant database and disperse events that potentially
do not reflect the current link state.

Signed-off-by: John Fastabend &lt;john.r.fastabend@intel.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcbnl: add support for retrieving peer configuration - cee</title>
<updated>2011-03-03T05:58:55Z</updated>
<author>
<name>Shmulik Ravid</name>
<email>shmulikr@broadcom.com</email>
</author>
<published>2011-02-27T05:04:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=dc6ed1df5a5f84e45e77e2acb6fd99b995414956'/>
<id>urn:sha1:dc6ed1df5a5f84e45e77e2acb6fd99b995414956</id>
<content type='text'>
This patch adds the support for retrieving the remote or peer DCBX
configuration via dcbnl for embedded DCBX stacks supporting the CEE DCBX
standard.

Signed-off-by: Shmulik Ravid &lt;shmulikr@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dcbnl: add support for retrieving peer configuration - ieee</title>
<updated>2011-03-03T05:58:54Z</updated>
<author>
<name>Shmulik Ravid</name>
<email>shmulikr@broadcom.com</email>
</author>
<published>2011-02-27T05:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=eed84713bc47ce2f7d675914f297ad9b6227a587'/>
<id>urn:sha1:eed84713bc47ce2f7d675914f297ad9b6227a587</id>
<content type='text'>
These 2 patches add the support for retrieving the remote or peer DCBX
configuration via dcbnl for embedded DCBX stacks. The peer configuration
is part of the DCBX MIB and is useful for debugging and diagnostics of
the overall DCB configuration. The first patch add this support for IEEE
802.1Qaz standard the second patch add the same support for the older
CEE standard. Diff for v2 - the peer-app-info is CEE specific.

Signed-off-by: Shmulik Ravid &lt;shmulikr@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
