Use device notifier in Linux kernel switch for detecting port status changes.
authorJustin Pettit <jpettit@nicira.com>
Fri, 19 Sep 2008 23:10:12 +0000 (16:10 -0700)
committerJustin Pettit <jpettit@nicira.com>
Fri, 19 Sep 2008 23:10:28 +0000 (16:10 -0700)
commit1400bbb7eb5b3dc4fc5997d319c14bfb12665151
treee07872c0115b1b9f9535eff85ce3ce295f1da470
parent55ecbead3945d0220f14da489e8cf35fa6d4d4bc
Use device notifier in Linux kernel switch for detecting port status changes.

To report on link status and whether a port is administratively enabled or
disabled, the reference switches poll.  This change uses the Linux kernel's
device notification system, so that polling isn't necessary.
datapath/Modules.mk
datapath/datapath.c
datapath/datapath.h
datapath/dp_notify.c [new file with mode: 0644]
datapath/linux-2.4/.gitignore
datapath/linux-2.6/.gitignore