id
stringlengths
4
63
text
stringlengths
153
8.81M
fchownat(2)
NAME chown, fchown, lchown, fchownat - change ownership of a file LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <unistd.h> int chown(const char *path, uid_t owner, gid_t group); int fchown(int fd, uid_t owner, gid_t group); int lchown(const char *path, uid_t owner, gid_t group); ...
fchownat(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME fchownat — change owner and group of a file relative to directo...
fclose(3)
NAME fclose - close a stream LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> int fclose(FILE *stream); DESCRIPTION The fclose() function flushes the stream pointed to by stream (writing any buffered output data using fflush(3)) and closes the underlying file descriptor. RETURN VALUE Upon ...
fclose(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME fclose — close a stream SYNOPSIS #include <stdio.h> in...
fcloseall(3)
NAME fcloseall - close all open streams LIBRARY Standard C library (libc, -lc) SYNOPSIS #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <stdio.h> int fcloseall(void); DESCRIPTION The fcloseall() function closes all of the calling process's open streams. Buffered output for each stream ...
fcntl(2)
NAME fcntl - manipulate file descriptor LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> int fcntl(int fd, int op, ...); DESCRIPTION fcntl() performs one of the operations described below on the open file descriptor fd. The operation is determined by op. Certain of the operation...
fcntl(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME fcntl — file control SYNOPSIS #include <fcntl.h> int f...
fcntl.h(0p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME fcntl.h — file control options SYNOPSIS #include <fcntl.h> DE...
fcntl64(2)
NAME fcntl - manipulate file descriptor LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> int fcntl(int fd, int op, ...); DESCRIPTION fcntl() performs one of the operations described below on the open file descriptor fd. The operation is determined by op. Certain of the operation...
fcntl_locking(2)
NAME F_GETLK, F_SETLK, F_SETLKW, F_OFD_GETLK, F_OFD_SETLK, F_OFD_SETLKW - locking LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <fcntl.h> int fcntl(int fd, F_GETLK, struct flock *lock); int fcntl(int fd, F_SETLK, const struct flock *lock); int fcntl(int fd, F_SETLKW, const struct floc...
fcntl_setdeleg(9)
NAME fcntl_setdeleg - sets a delegation on an open file SYNOPSIS int fcntl_setdeleg (unsigned int fd , struct file *filp , struct delegation *deleg ); ARGUMENTS fd open file descriptor filp file pointer deleg delegation request from userland DESCRIPTION Call this fcntl to establ...
fcntl_setlease(9)
NAME fcntl_setlease - sets a lease on an open file SYNOPSIS int fcntl_setlease (unsigned int fd , struct file *filp , int arg ); ARGUMENTS fd open file descriptor filp file pointer arg type of lease to obtain DESCRIPTION Call this fcntl to establish a lease on the file. Note ...
fcoe_alloc_paged_crc_eof(9)
NAME fcoe_alloc_paged_crc_eof - Allocate a page to be used for the trailer CRC SYNOPSIS int fcoe_alloc_paged_crc_eof (struct sk_buff *skb , int tlen ); ARGUMENTS skb The packet to be transmitted tlen The total length of the trailer RETURN 0 for success SEE ALSO Kernel file ./drivers/scsi/fco...
fcoe_check_wait_queue(9)
NAME fcoe_check_wait_queue - Attempt to clear the transmit backlog SYNOPSIS void fcoe_check_wait_queue (struct fc_lport *lport , struct sk_buff *skb ); ARGUMENTS lport The local port whose backlog is to be cleared skb The received FIP packet DESCRIPTION This empties the wait_queue, dequeues the...
fcoe_clean_pending_queue(9)
NAME fcoe_clean_pending_queue - Dequeue a skb and free it SYNOPSIS void fcoe_clean_pending_queue (struct fc_lport *lport ); ARGUMENTS lport The local port to dequeue a skb on SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_transport.c fcoe_link_speed_update(9), __fcoe_get_lesb(9), fcoe_get_lesb(9), fcoe_ctlr_...
fcoe_create(9)
NAME fcoe_create - Create a fcoe interface SYNOPSIS int fcoe_create (struct net_device *netdev , enum fip_mode fip_mode ); ARGUMENTS netdev The net_device object the Ethernet interface to create on fip_mode The FIP mode for this creation DESCRIPTION Called from fcoe transport RETURN 0 for success S...
fcoe_ctlr_age_fcfs(9)
NAME fcoe_ctlr_age_fcfs - Reset and free all old FCFs for a controller SYNOPSIS unsigned long fcoe_ctlr_age_fcfs (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller to free FCFs on DESCRIPTION Called with lock held and preemption disabled. An FCF is considered old if we have missed two advertisem...
fcoe_ctlr_alloc(9)
NAME fcoe_ctlr_alloc - Allocate a fcoe interface from fcoe_sysfs SYNOPSIS int fcoe_ctlr_alloc (struct net_device *netdev ); ARGUMENTS netdev The net_device to be used by the allocated FCoE Controller DESCRIPTION This routine is called from fcoe_sysfs. It will start the fcoe_ctlr in a link_down state. The all...
fcoe_ctlr_announce(9)
NAME fcoe_ctlr_announce - announce new FCF selection SYNOPSIS void fcoe_ctlr_announce (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Also sets the destination MAC for FCoE and control packets Called with neither ctlr_mutex nor ctlr_lock held. SEE ALSO Kernel file ./drivers/scsi/fc...
fcoe_ctlr_destroy(9)
NAME fcoe_ctlr_destroy - Disable and tear down a FCoE controller SYNOPSIS void fcoe_ctlr_destroy (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller to tear down DESCRIPTION This is called by FCoE drivers before freeing the fcoe_ctlr. The receive handler will have been deleted before this to guarant...
fcoe_ctlr_device_add(9)
NAME fcoe_ctlr_device_add - Add a FIP ctlr to sysfs SYNOPSIS struct fcoe_ctlr_device * fcoe_ctlr_device_add (struct device *parent , struct fcoe_sysfs_function_template *f , int priv_size ); ARGUMENTS parent The parent device to which the fcoe_ctlr instance should be attached f The LLD's FCoE s...
fcoe_ctlr_device_delete(9)
NAME fcoe_ctlr_device_delete - Delete a FIP ctlr and its subtree from sysfs SYNOPSIS void fcoe_ctlr_device_delete (struct fcoe_ctlr_device *ctlr ); ARGUMENTS ctlr A pointer to the ctlr to be deleted DESCRIPTION Deletes a FIP ctlr and any fcfs attached to it. Deleting fcfs will cause their childen to be dele...
fcoe_ctlr_device_flush_devloss(9)
NAME fcoe_ctlr_device_flush_devloss - Flush a FIP ctlr's devloss workqueue SYNOPSIS void fcoe_ctlr_device_flush_devloss (struct fcoe_ctlr_device *ctlr ); ARGUMENTS ctlr Pointer to FIP ctlr whose workqueue is to be flushed SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_sysfs.c fcoe_ctlr_device_release(9), fco...
fcoe_ctlr_device_flush_work(9)
NAME fcoe_ctlr_device_flush_work - Flush a FIP ctlr's workqueue SYNOPSIS void fcoe_ctlr_device_flush_work (struct fcoe_ctlr_device *ctlr ); ARGUMENTS ctlr Pointer to the FIP ctlr whose workqueue is to be flushed SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_sysfs.c fcoe_ctlr_device_release(9), fcoe_fc...
fcoe_ctlr_device_queue_devloss_work(9)
NAME fcoe_ctlr_device_queue_devloss_work - Schedule work for a FIP ctlr's devloss workqueue SYNOPSIS int fcoe_ctlr_device_queue_devloss_work (struct fcoe_ctlr_device *ctlr , struct delayed_work *work , unsigned long delay ); ARGUMENTS ctlr Pointer to the FIP ctlr who owns the devloss workqueue work ...
fcoe_ctlr_device_queue_work(9)
NAME fcoe_ctlr_device_queue_work - Schedule work for a FIP ctlr's workqueue SYNOPSIS int fcoe_ctlr_device_queue_work (struct fcoe_ctlr_device *ctlr , struct work_struct *work ); ARGUMENTS ctlr Pointer to the FIP ctlr who owns the devloss workqueue work Work to queue for execution DESCRIPTION Re...
fcoe_ctlr_device_release(9)
NAME fcoe_ctlr_device_release - Release the FIP ctlr memory SYNOPSIS void fcoe_ctlr_device_release (struct device *dev ); ARGUMENTS dev Pointer to the FIP ctlr's embedded device DESCRIPTION Called when the last FIP ctlr reference is released. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_sysfs.c fcoe_...
fcoe_ctlr_disc_recv(9)
NAME fcoe_ctlr_disc_recv - discovery receive handler for VN2VN mode. SYNOPSIS void fcoe_ctlr_disc_recv (struct fc_lport *lport , struct fc_frame *fp ); ARGUMENTS lport The local port fp The received frame DESCRIPTION This should never be called since we don't see RSCNs or other fabric-generate...
fcoe_ctlr_disc_stop(9)
NAME fcoe_ctlr_disc_stop - stop discovery in VN2VN mode SYNOPSIS void fcoe_ctlr_disc_stop (struct fc_lport *lport ); ARGUMENTS lport The local port DESCRIPTION Called through the local port template for discovery. Called without the ctlr_mutex held. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fco...
fcoe_ctlr_disc_stop_final(9)
NAME fcoe_ctlr_disc_stop_final - stop discovery for shutdown in VN2VN mode SYNOPSIS void fcoe_ctlr_disc_stop_final (struct fc_lport *lport ); ARGUMENTS lport The local port DESCRIPTION Called through the local port template for discovery. Called without the ctlr_mutex held. SEE ALSO Kernel file ./drivers/s...
fcoe_ctlr_disc_stop_locked(9)
NAME fcoe_ctlr_disc_stop_locked - stop discovery in VN2VN mode SYNOPSIS void fcoe_ctlr_disc_stop_locked (struct fc_lport *lport ); ARGUMENTS lport The local port DESCRIPTION Called with ctlr_mutex held. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fco...
fcoe_ctlr_els_send(9)
NAME fcoe_ctlr_els_send - Send an ELS frame encapsulated by FIP if appropriate. SYNOPSIS int fcoe_ctlr_els_send (struct fcoe_ctlr *fip , struct fc_lport *lport , struct sk_buff *skb ); ARGUMENTS fip FCoE controller. lport libfc fc_lport to send from skb FCoE ELS frame including F...
fcoe_ctlr_enabled(9)
NAME fcoe_ctlr_enabled - Enable or disable an FCoE Controller SYNOPSIS int fcoe_ctlr_enabled (struct fcoe_ctlr_device *cdev ); ARGUMENTS cdev The FCoE Controller that is being enabled or disabled DESCRIPTION fcoe_sysfs will ensure that the state of 'enabled' has changed, so no checking is necessary here. T...
fcoe_ctlr_encaps(9)
NAME fcoe_ctlr_encaps - Encapsulate an ELS frame for FIP, without sending it SYNOPSIS int fcoe_ctlr_encaps (struct fcoe_ctlr *fip , struct fc_lport *lport , u8 dtype , struct sk_buff *skb , u32 d_id ); ARGUMENTS fip The FCoE controller for the ELS frame lport The local port dtype T...
fcoe_ctlr_fcf_usable(9)
NAME fcoe_ctlr_fcf_usable - Check if a FCF is usable SYNOPSIS int fcoe_ctlr_fcf_usable (struct fcoe_fcf *fcf ); ARGUMENTS fcf The FCF to check DESCRIPTION Return non-zero if the FCF is usable. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_m...
fcoe_ctlr_fcoe_size(9)
NAME fcoe_ctlr_fcoe_size - Return the maximum FCoE size required for VN_Port SYNOPSIS u32 fcoe_ctlr_fcoe_size (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller to get the maximum FCoE size from DESCRIPTION Returns the maximum packet size including the FCoE header and trailer, but not including any ...
fcoe_ctlr_flogi_retry(9)
NAME fcoe_ctlr_flogi_retry - resend FLOGI request to a new FCF if possible SYNOPSIS int fcoe_ctlr_flogi_retry (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Returns non-zero error code if there's no FLOGI request to retry or no alternate FCF available. SEE ALSO Kernel file ./drive...
fcoe_ctlr_flogi_send(9)
NAME fcoe_ctlr_flogi_send - Handle sending of FIP FLOGI. SYNOPSIS void fcoe_ctlr_flogi_send (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller that timed out DESCRIPTION Done here because fcoe_ctlr_els_send can't get mutex. Called with ctlr_mutex held. The caller must not hold ctlr_lock. SEE ALSO...
fcoe_ctlr_flogi_send_locked(9)
NAME fcoe_ctlr_flogi_send_locked - send FIP-encapsulated FLOGI to current FCF SYNOPSIS int fcoe_ctlr_flogi_send_locked (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Returns non-zero error if it could not be sent. Called with ctlr_mutex and ctlr_lock held. Caller must verify that f...
fcoe_ctlr_get_lesb(9)
NAME fcoe_ctlr_get_lesb - Get the Link Error Status Block (LESB) for a given fcoe controller device SYNOPSIS void fcoe_ctlr_get_lesb (struct fcoe_ctlr_device *ctlr_dev ); ARGUMENTS ctlr_dev The given fcoe controller device SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_transport.c fcoe_link_speed_update(9), __...
fcoe_ctlr_init(9)
NAME fcoe_ctlr_init - Initialize the FCoE Controller instance SYNOPSIS void fcoe_ctlr_init (struct fcoe_ctlr *fip , enum fip_mode mode ); ARGUMENTS fip The FCoE controller to initialize mode FIP mode to set SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe...
fcoe_ctlr_link_down(9)
NAME fcoe_ctlr_link_down - Stop a FCoE controller SYNOPSIS int fcoe_ctlr_link_down (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller to be stopped DESCRIPTION Returns non-zero if the link was up and now isn't. Called from the LLD when the network link is not ready. There may be multiple calls whi...
fcoe_ctlr_link_up(9)
NAME fcoe_ctlr_link_up - Start FCoE controller SYNOPSIS void fcoe_ctlr_link_up (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller to start DESCRIPTION Called from the LLD when the network link is ready. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_va...
fcoe_ctlr_map_dest(9)
NAME fcoe_ctlr_map_dest - Set flag and OUI for mapping destination addresses SYNOPSIS void fcoe_ctlr_map_dest (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_fcf_usable(9), fcoe_ctlr_in...
fcoe_ctlr_mode(9)
NAME fcoe_ctlr_mode - Switch FIP mode SYNOPSIS void fcoe_ctlr_mode (struct fcoe_ctlr_device *ctlr_dev ); ARGUMENTS ctlr_dev The FCoE Controller that is being modified DESCRIPTION When the FIP mode has been changed we need to update the multicast addresses to ensure we get the correct frames. SEE ALSO Kernel fil...
fcoe_ctlr_mode_set(9)
NAME fcoe_ctlr_mode_set - Set or reset the ctlr's mode SYNOPSIS void fcoe_ctlr_mode_set (struct fc_lport *lport , struct fcoe_ctlr *fip , enum fip_mode fip_mode ); ARGUMENTS lport The local port to be (re)configured fip The FCoE controller whose mode is changing fip_mode The new fip m...
fcoe_ctlr_mtu_valid(9)
NAME fcoe_ctlr_mtu_valid - Check if a FCF's MTU is valid SYNOPSIS int fcoe_ctlr_mtu_valid (const struct fcoe_fcf *fcf ); ARGUMENTS fcf The FCF to check DESCRIPTION Return non-zero if FCF fcoe_size has been validated. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_fc...
fcoe_ctlr_parse_adv(9)
NAME fcoe_ctlr_parse_adv - Decode a FIP advertisement into a new FCF entry SYNOPSIS int fcoe_ctlr_parse_adv (struct fcoe_ctlr *fip , struct sk_buff *skb , struct fcoe_fcf *fcf ); ARGUMENTS fip The FCoE controller receiving the advertisement skb The received FIP advertisement frame fcf ...
fcoe_ctlr_priv(9)
NAME fcoe_ctlr_priv - Return the private data from a fcoe_ctlr SYNOPSIS void * fcoe_ctlr_priv (const struct fcoe_ctlr *ctlr ); ARGUMENTS ctlr The fcoe_ctlr whose private data will be returned RETURN pointer to the private data SEE ALSO Kernel file ./include/scsi/libfcoe.h enum fip_state(9), struct fcoe_c...
fcoe_ctlr_recv(9)
NAME fcoe_ctlr_recv - Receive a FIP packet SYNOPSIS void fcoe_ctlr_recv (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip The FCoE controller that received the packet skb The received FIP packet DESCRIPTION This may be called from either NET_RX_SOFTIRQ or IRQ. SEE ALSO Kernel fi...
fcoe_ctlr_recv_adv(9)
NAME fcoe_ctlr_recv_adv - Handle an incoming advertisement SYNOPSIS void fcoe_ctlr_recv_adv (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip The FCoE controller receiving the advertisement skb The received FIP packet SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ct...
fcoe_ctlr_recv_clr_vlink(9)
NAME fcoe_ctlr_recv_clr_vlink - Handle an incoming link reset frame SYNOPSIS void fcoe_ctlr_recv_clr_vlink (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip The FCoE controller that received the frame skb The received FIP packet DESCRIPTION There may be multiple VN_Port descriptor...
fcoe_ctlr_recv_els(9)
NAME fcoe_ctlr_recv_els - Handle an incoming FIP encapsulated ELS frame SYNOPSIS void fcoe_ctlr_recv_els (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip The FCoE controller which received the packet skb The received FIP packet SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr...
fcoe_ctlr_recv_flogi(9)
NAME fcoe_ctlr_recv_flogi - Snoop pre-FIP receipt of FLOGI response SYNOPSIS int fcoe_ctlr_recv_flogi (struct fcoe_ctlr *fip , struct fc_lport *lport , struct fc_frame *fp ); ARGUMENTS fip The FCoE controller lport The local port fp The FC frame to snoop DESCRIPTION Snoop pote...
fcoe_ctlr_recv_handler(9)
NAME fcoe_ctlr_recv_handler - Receive a FIP frame SYNOPSIS int fcoe_ctlr_recv_handler (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip The FCoE controller that received the frame skb The received FIP frame DESCRIPTION Returns non-zero if the frame is dropped. SEE ALSO Kernel fi...
fcoe_ctlr_recv_work(9)
NAME fcoe_ctlr_recv_work - Worker thread function for receiving FIP frames SYNOPSIS void fcoe_ctlr_recv_work (struct work_struct *recv_work ); ARGUMENTS recv_work Handle to a FCoE controller SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_fcf_usable...
fcoe_ctlr_reset(9)
NAME fcoe_ctlr_reset - Reset a FCoE controller SYNOPSIS void fcoe_ctlr_reset (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller to reset SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_fcf_usable(9), fcoe_ctlr_map_dest(9), fcoe_ctlr_i...
fcoe_ctlr_reset_fcfs(9)
NAME fcoe_ctlr_reset_fcfs - Reset and free all FCFs for a controller SYNOPSIS void fcoe_ctlr_reset_fcfs (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller whose FCFs are to be reset DESCRIPTION Called with fcoe_ctlr lock held. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_st...
fcoe_ctlr_rport(9)
NAME fcoe_ctlr_rport - return the fcoe_rport for a given fc_rport_priv SYNOPSIS struct fcoe_rport * fcoe_ctlr_rport (struct fc_rport_priv *rdata ); ARGUMENTS rdata libfc remote port SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_fcf_usable(9), ...
fcoe_ctlr_select(9)
NAME fcoe_ctlr_select - Select the best FCF (if possible) SYNOPSIS struct fcoe_fcf * fcoe_ctlr_select (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Returns the selected FCF, or NULL if none are usable. If there are conflicting advertisements, no FCF can be chosen. If there is alre...
fcoe_ctlr_send_keep_alive(9)
NAME fcoe_ctlr_send_keep_alive - Send a keep-alive to the selected FCF SYNOPSIS void fcoe_ctlr_send_keep_alive (struct fcoe_ctlr *fip , struct fc_lport *lport , int ports , u8 *sa ); ARGUMENTS fip The FCoE controller to send the FKA on lport libfc fc_lport to send from ports 0 for ...
fcoe_ctlr_set_state(9)
NAME fcoe_ctlr_set_state - Set and do debug printing for the new FIP state. SYNOPSIS void fcoe_ctlr_set_state (struct fcoe_ctlr *fip , enum fip_state state ); ARGUMENTS fip The FCoE controller state The new state SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_mtu_valid(9), fco...
fcoe_ctlr_solicit(9)
NAME fcoe_ctlr_solicit - Send a FIP solicitation SYNOPSIS void fcoe_ctlr_solicit (struct fcoe_ctlr *fip , struct fcoe_fcf *fcf ); ARGUMENTS fip The FCoE controller to send the solicitation on fcf The destination FCF (if NULL, a multicast solicitation is sent) SEE ALSO Kernel file ./drivers/...
fcoe_ctlr_timeout(9)
NAME fcoe_ctlr_timeout - FIP timeout handler SYNOPSIS void fcoe_ctlr_timeout (struct timer_list *t ); ARGUMENTS t Timer context use to obtain the controller reference SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_fcf_usable(9), fcoe_ctlr_m...
fcoe_ctlr_timer_work(9)
NAME fcoe_ctlr_timer_work - Worker thread function for timer work SYNOPSIS void fcoe_ctlr_timer_work (struct work_struct *work ); ARGUMENTS work Handle to a FCoE controller DESCRIPTION Ages FCFs. Triggers FCF selection if possible. Sends keep-alives and resets. SEE ALSO Kernel file ./drivers/scsi/fcoe/fc...
fcoe_ctlr_vlan_disc_reply(9)
NAME fcoe_ctlr_vlan_disc_reply - send FIP VLAN Discovery Notification. SYNOPSIS void fcoe_ctlr_vlan_disc_reply (struct fcoe_ctlr *fip , struct fcoe_rport *frport ); ARGUMENTS fip The FCoE controller frport The newly-parsed FCoE rport from the Discovery Request DESCRIPTION Called with ctlr_mutex ...
fcoe_ctlr_vlan_parse(9)
NAME fcoe_ctlr_vlan_parse - parse vlan discovery request or response SYNOPSIS int fcoe_ctlr_vlan_parse (struct fcoe_ctlr *fip , struct sk_buff *skb , struct fcoe_rport *frport ); ARGUMENTS fip The FCoE controller skb incoming packet frport parsed FCoE rport from the probe request ...
fcoe_ctlr_vlan_recv(9)
NAME fcoe_ctlr_vlan_recv - vlan request receive handler for VN2VN mode. SYNOPSIS int fcoe_ctlr_vlan_recv (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip The FCoE controller skb The received FIP packet SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9)...
fcoe_ctlr_vlan_send(9)
NAME fcoe_ctlr_vlan_send - Send a FIP VLAN Notification SYNOPSIS void fcoe_ctlr_vlan_send (struct fcoe_ctlr *fip , enum fip_vlan_subcode sub , const u8 *dest ); ARGUMENTS fip The FCoE controller sub sub-opcode for vlan notification or vn2vn vlan notification dest The destination...
fcoe_ctlr_vn_add(9)
NAME fcoe_ctlr_vn_add - Add a VN2VN entry to the list, based on a claim reply. SYNOPSIS void fcoe_ctlr_vn_add (struct fcoe_ctlr *fip , struct fcoe_rport *new ); ARGUMENTS fip The FCoE controller new newly-parsed FCoE rport as a template for new rdata DESCRIPTION Called with ctlr_mutex held. ...
fcoe_ctlr_vn_age(9)
NAME fcoe_ctlr_vn_age - Check for VN_ports without recent beacons SYNOPSIS unsigned long fcoe_ctlr_vn_age (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Called with ctlr_mutex held. Called only in state FIP_ST_VNMP_UP. Returns the soonest time for next age-out or a time far in the ...
fcoe_ctlr_vn_beacon(9)
NAME fcoe_ctlr_vn_beacon - handle received beacon. SYNOPSIS void fcoe_ctlr_vn_beacon (struct fcoe_ctlr *fip , struct fcoe_rport *new ); ARGUMENTS fip The FCoE controller that received the frame new newly-parsed FCoE rport from the Beacon DESCRIPTION Called with ctlr_mutex held. SEE ALSO Kern...
fcoe_ctlr_vn_claim_notify(9)
NAME fcoe_ctlr_vn_claim_notify - handle received FIP VN2VN Claim Notification SYNOPSIS void fcoe_ctlr_vn_claim_notify (struct fcoe_ctlr *fip , struct fcoe_rport *new ); ARGUMENTS fip The FCoE controller new newly-parsed FCoE rport as a template for new rdata DESCRIPTION Called with ctlr_mutex...
fcoe_ctlr_vn_claim_resp(9)
NAME fcoe_ctlr_vn_claim_resp - handle received Claim Response SYNOPSIS void fcoe_ctlr_vn_claim_resp (struct fcoe_ctlr *fip , struct fcoe_rport *new ); ARGUMENTS fip The FCoE controller that received the frame new newly-parsed FCoE rport from the Claim Response DESCRIPTION Called with ctlr_mut...
fcoe_ctlr_vn_disc(9)
NAME fcoe_ctlr_vn_disc - report FIP VN_port discovery results after claim state. SYNOPSIS void fcoe_ctlr_vn_disc (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Starts the FLOGI and PLOGI login process to each discovered rport for which we've received at least one beacon. Performs th...
fcoe_ctlr_vn_lookup(9)
NAME fcoe_ctlr_vn_lookup - Find VN remote port's MAC address SYNOPSIS int fcoe_ctlr_vn_lookup (struct fcoe_ctlr *fip , u32 port_id , u8 *mac ); ARGUMENTS fip The FCoE controller port_id The port_id of the remote VN_node mac buffer which will hold the VN_NODE destination MAC address...
fcoe_ctlr_vn_parse(9)
NAME fcoe_ctlr_vn_parse - parse probe request or response SYNOPSIS int fcoe_ctlr_vn_parse (struct fcoe_ctlr *fip , struct sk_buff *skb , struct fcoe_rport *frport ); ARGUMENTS fip The FCoE controller skb incoming packet frport parsed FCoE rport from the probe request DESCRIPTION ...
fcoe_ctlr_vn_probe_reply(9)
NAME fcoe_ctlr_vn_probe_reply - handle incoming VN2VN probe reply. SYNOPSIS void fcoe_ctlr_vn_probe_reply (struct fcoe_ctlr *fip , struct fcoe_rport *frport ); ARGUMENTS fip The FCoE controller frport parsed FCoE rport from the probe request DESCRIPTION Called with ctlr_mutex held. SEE ALSO Ker...
fcoe_ctlr_vn_probe_req(9)
NAME fcoe_ctlr_vn_probe_req - handle incoming VN2VN probe request. SYNOPSIS void fcoe_ctlr_vn_probe_req (struct fcoe_ctlr *fip , struct fcoe_rport *frport ); ARGUMENTS fip The FCoE controller frport parsed FCoE rport from the probe request DESCRIPTION Called with ctlr_mutex held. SEE ALSO Kerne...
fcoe_ctlr_vn_recv(9)
NAME fcoe_ctlr_vn_recv - Receive a FIP frame SYNOPSIS int fcoe_ctlr_vn_recv (struct fcoe_ctlr *fip , struct sk_buff *skb ); ARGUMENTS fip The FCoE controller that received the frame skb The received FIP frame DESCRIPTION Returns non-zero if the frame is dropped. Always consumes the frame. S...
fcoe_ctlr_vn_restart(9)
NAME fcoe_ctlr_vn_restart - VN2VN probe restart with new port_id SYNOPSIS void fcoe_ctlr_vn_restart (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Called with fcoe_ctlr lock held. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9),...
fcoe_ctlr_vn_rport_callback(9)
NAME fcoe_ctlr_vn_rport_callback - Event handler for rport events. SYNOPSIS void fcoe_ctlr_vn_rport_callback (struct fc_lport *lport , struct fc_rport_priv *rdata , enum fc_rport_event event ); ARGUMENTS lport The lport which is receiving the event rdata remote port private data event ...
fcoe_ctlr_vn_send(9)
NAME fcoe_ctlr_vn_send - Send a FIP VN2VN Probe Request or Reply. SYNOPSIS void fcoe_ctlr_vn_send (struct fcoe_ctlr *fip , enum fip_vn2vn_subcode sub , const u8 *dest , size_t min_len ); ARGUMENTS fip The FCoE controller sub sub-opcode for probe request, reply, or advertisement. dest ...
fcoe_ctlr_vn_send_claim(9)
NAME fcoe_ctlr_vn_send_claim - send multicast FIP VN2VN Claim Notification. SYNOPSIS void fcoe_ctlr_vn_send_claim (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Called with ctlr_mutex held. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu...
fcoe_ctlr_vn_start(9)
NAME fcoe_ctlr_vn_start - Start in VN2VN mode SYNOPSIS void fcoe_ctlr_vn_start (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller DESCRIPTION Called with fcoe_ctlr lock held. SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_fcf_usable...
fcoe_ctlr_vn_timeout(9)
NAME fcoe_ctlr_vn_timeout - timer work function for VN2VN mode. SYNOPSIS void fcoe_ctlr_vn_timeout (struct fcoe_ctlr *fip ); ARGUMENTS fip The FCoE controller SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9), fcoe_ctlr_mtu_valid(9), fcoe_ctlr_fcf_usable(9), fcoe_ctlr_map_dest(9)...
fcoe_dcb_create(9)
NAME fcoe_dcb_create - Initialize DCB attributes and hooks SYNOPSIS void fcoe_dcb_create (struct fcoe_interface *fcoe ); ARGUMENTS fcoe The new FCoE interface SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), fcoe_interface_create(9), fcoe_interface_remove(9), fcoe_interface_cleanup(9)...
fcoe_ddp_done(9)
NAME fcoe_ddp_done - Call a LLD's ddp_done through the net device SYNOPSIS int fcoe_ddp_done (struct fc_lport *lport , u16 xid ); ARGUMENTS lport The local port to complete DDP on xid The exchange ID for this DDP transfer RETURN the length of data that have been completed by DDP SEE ALSO Kerne...
fcoe_ddp_setup(9)
NAME fcoe_ddp_setup - Call a LLD's ddp_setup through the net device SYNOPSIS int fcoe_ddp_setup (struct fc_lport *lport , u16 xid , struct scatterlist *sgl , unsigned int sgc ); ARGUMENTS lport The local port to setup DDP for xid The exchange ID for this DDP transfer sgl The scat...
fcoe_ddp_target(9)
NAME fcoe_ddp_target - Call a LLD's ddp_target through the net device SYNOPSIS int fcoe_ddp_target (struct fc_lport *lport , u16 xid , struct scatterlist *sgl , unsigned int sgc ); ARGUMENTS lport The local port to setup DDP for xid The exchange ID for this DDP transfer sgl The s...
fcoe_destroy(9)
NAME fcoe_destroy - Destroy a FCoE interface SYNOPSIS int fcoe_destroy (struct net_device *netdev ); ARGUMENTS netdev The net_device object the Ethernet interface to create on DESCRIPTION Called from fcoe transport RETURN 0 for success SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), ...
fcoe_destroy_work(9)
NAME fcoe_destroy_work - Destroy a FCoE port in a deferred work context SYNOPSIS void fcoe_destroy_work (struct work_struct *work ); ARGUMENTS work Handle to the FCoE port to be destroyed SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), fcoe_interface_create(9), fcoe_interface_remove(...
fcoe_dev_cleanup(9)
NAME fcoe_dev_cleanup - Cleanup the link change notification interface SYNOPSIS void fcoe_dev_cleanup (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), fcoe_interface_create(9), fcoe_interface_remove(9), fcoe_interface_cleanup(9), fcoe_fip_recv(9), ...
fcoe_dev_setup(9)
NAME fcoe_dev_setup - Setup the link change notification interface SYNOPSIS void fcoe_dev_setup (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), fcoe_interface_create(9), fcoe_interface_remove(9), fcoe_interface_cleanup(9), fcoe_fip_recv(9), fcoe_f...
fcoe_device_notification(9)
NAME fcoe_device_notification - Handler for net device events SYNOPSIS int fcoe_device_notification (struct notifier_block *notifier , ulong event , void *ptr ); ARGUMENTS notifier The context of the notification event The type of event ptr The net device that the event was on DESCRI...
fcoe_disable(9)
NAME fcoe_disable - Disables a FCoE interface SYNOPSIS int fcoe_disable (struct net_device *netdev ); ARGUMENTS netdev The net_device object the Ethernet interface to create on DESCRIPTION Called from fcoe transport. Deprecated: use fcoe_ctlr_enabled RETURN 0 for success SEE ALSO Kernel file ./drivers/scsi/...
fcoe_em_config(9)
NAME fcoe_em_config - Allocate and configure an exchange manager SYNOPSIS int fcoe_em_config (struct fc_lport *lport ); ARGUMENTS lport The local port that the new EM will be associated with RETURN 0 on success SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), fcoe_interface_create(9),...
fcoe_enable(9)
NAME fcoe_enable - Enables a FCoE interface SYNOPSIS int fcoe_enable (struct net_device *netdev ); ARGUMENTS netdev The net_device object the Ethernet interface to create on DESCRIPTION Called from fcoe transport. RETURN 0 for success SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), f...
fcoe_exit(9)
NAME fcoe_exit - Clean up fcoe.ko SYNOPSIS void fcoe_exit (void ); ARGUMENTS void no arguments RETURN 0 on success or a negative value on failure SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe.c fcoe_interface_setup(9), fcoe_interface_create(9), fcoe_interface_remove(9), fcoe_interface_cleanup(9), fcoe_fip_...
fcoe_fc_crc(9)
NAME fcoe_fc_crc - Calculates the CRC for a given frame SYNOPSIS u32 fcoe_fc_crc (struct fc_frame *fp ); ARGUMENTS fp The frame to be checksumed DESCRIPTION This uses crc32 routine to calculate the CRC for a frame RETURN The 32 bit CRC value SEE ALSO Kernel file ./drivers/scsi/fcoe/fcoe_transport.c fcoe...