The kernel now exposes interfaces under /sys/bus/fcoe/. This series
adds support for those interfaces to fcoemon and fipvlan. These patches
make it so that fcoemon/fipvlan check for /sys/bus/fcoe/ctlr_create. If
the file exists and is writable then fcoemon will use the new interfaces, if
those conditions aren't met fcoemon/fipvlan will use the legacy interfaces.
The series also adds a [-l|--legacy] argument to fcoemon to force it
to use legacy mode even if the new fcoe_sysfs interfaces are present.
---
Robert Love (8):
fcoemon: Ensure the response to the client is as expected
fcoemon: Add defines for fcoe_sysfs based interface
fcoemon: Find the fcoe_cltr for an <ifname> in sysfs
fcoemon: Create a function template for the libfcoe module paramater
interface
fcoemon: Add fcoe_sysfs based kernel interface support
fcoemon: Add a force legacy mode option
fipvlan: Use fcm_write_str_to_sysfs_file from libutil
fipvlan: Add support for fcoe_sysfs kernel interface
doc/fcoemon.8 | 22 ++++++-
doc/fcoemon.txt | 6 ++
fcoemon.c | 158 +++++++++++++++++++++++++++++++++++++++++++++-----
fipvlan.c | 68 ++++++++++++++++++----
include/fcoe_utils.h | 29 ++++++---
lib/fcoe_utils.c | 104 +++++++++++++++++++++++++++++++++
6 files changed, 346 insertions(+), 41 deletions(-)
--
Thanks, //Rob
_______________________________________________
fcoe-devel mailing list
[email protected]
http://lists.open-fcoe.org/mailman/listinfo/fcoe-devel