Re: [PATCH 05/16] libfcoe, fcoe, bnx2fc: Add new fcoe control interface

2012-12-16 Thread Bhanu Prakash Gollapudi
On 12/12/2012 03:22 PM, Robert Love wrote: +ssize_t fcoe_ctlr_create_store(struct bus_type *bus, + const char *buf, size_t count) +{ + struct net_device *netdev = NULL; + struct fcoe_transport *ft = NULL; + struct fcoe_ctlr_device *ctlr_dev = NULL; +

[PATCH 05/16] libfcoe, fcoe, bnx2fc: Add new fcoe control interface

2012-12-12 Thread Robert Love
This patch does a few things. 1) Makes /sys/bus/fcoe/ctlr_{create,destroy} interfaces. These interfaces take an and will either create an FCoE Controller or destroy an FCoE Controller depending on which file is written to. The new FCoE Controller will start in a DISABLED state and