fm10k: fix a minor typo in some comments
s/funciton/function to resolve a typo, and cleanup grammar on a few comments regarding processing the VF mailboxes. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Родитель
4be37c42a4
Коммит
d8ec92f2cd
|
@ -50,7 +50,7 @@ s32 fm10k_iov_event(struct fm10k_intfc *interface)
|
||||||
s64 vflre;
|
s64 vflre;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* if there is no iov_data then there is no mailboxes to process */
|
/* if there is no iov_data then there is no mailbox to process */
|
||||||
if (!ACCESS_ONCE(interface->iov_data))
|
if (!ACCESS_ONCE(interface->iov_data))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
@ -98,7 +98,7 @@ s32 fm10k_iov_mbx(struct fm10k_intfc *interface)
|
||||||
struct fm10k_iov_data *iov_data;
|
struct fm10k_iov_data *iov_data;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* if there is no iov_data then there is no mailboxes to process */
|
/* if there is no iov_data then there is no mailbox to process */
|
||||||
if (!ACCESS_ONCE(interface->iov_data))
|
if (!ACCESS_ONCE(interface->iov_data))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
|
|
@ -440,7 +440,7 @@ static void fm10k_restore_vxlan_port(struct fm10k_intfc *interface)
|
||||||
* @sa_family: Address family of new port
|
* @sa_family: Address family of new port
|
||||||
* @port: port number used for VXLAN
|
* @port: port number used for VXLAN
|
||||||
*
|
*
|
||||||
* This funciton is called when a new VXLAN interface has added a new port
|
* This function is called when a new VXLAN interface has added a new port
|
||||||
* number to the range that is currently in use for VXLAN. The new port
|
* number to the range that is currently in use for VXLAN. The new port
|
||||||
* number is always added to the tail so that the port number list should
|
* number is always added to the tail so that the port number list should
|
||||||
* match the order in which the ports were allocated. The head of the list
|
* match the order in which the ports were allocated. The head of the list
|
||||||
|
@ -484,7 +484,7 @@ insert_tail:
|
||||||
* @sa_family: Address family of freed port
|
* @sa_family: Address family of freed port
|
||||||
* @port: port number used for VXLAN
|
* @port: port number used for VXLAN
|
||||||
*
|
*
|
||||||
* This funciton is called when a new VXLAN interface has freed a port
|
* This function is called when a new VXLAN interface has freed a port
|
||||||
* number from the range that is currently in use for VXLAN. The freed
|
* number from the range that is currently in use for VXLAN. The freed
|
||||||
* port is removed from the list and the new head is used to determine
|
* port is removed from the list and the new head is used to determine
|
||||||
* the port number for offloads.
|
* the port number for offloads.
|
||||||
|
|
|
@ -1379,7 +1379,7 @@ static s32 fm10k_1588_msg_pf(struct fm10k_hw *hw, u32 **results,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if there is no iov_data then there is no mailboxes to process */
|
/* if there is no iov_data then there is no mailbox to process */
|
||||||
if (!ACCESS_ONCE(interface->iov_data))
|
if (!ACCESS_ONCE(interface->iov_data))
|
||||||
return FM10K_ERR_PARAM;
|
return FM10K_ERR_PARAM;
|
||||||
|
|
||||||
|
@ -2394,7 +2394,7 @@ static struct pci_driver fm10k_driver = {
|
||||||
/**
|
/**
|
||||||
* fm10k_register_pci_driver - register driver interface
|
* fm10k_register_pci_driver - register driver interface
|
||||||
*
|
*
|
||||||
* This funciton is called on module load in order to register the driver.
|
* This function is called on module load in order to register the driver.
|
||||||
**/
|
**/
|
||||||
int fm10k_register_pci_driver(void)
|
int fm10k_register_pci_driver(void)
|
||||||
{
|
{
|
||||||
|
@ -2404,7 +2404,7 @@ int fm10k_register_pci_driver(void)
|
||||||
/**
|
/**
|
||||||
* fm10k_unregister_pci_driver - unregister driver interface
|
* fm10k_unregister_pci_driver - unregister driver interface
|
||||||
*
|
*
|
||||||
* This funciton is called on module unload in order to remove the driver.
|
* This function is called on module unload in order to remove the driver.
|
||||||
**/
|
**/
|
||||||
void fm10k_unregister_pci_driver(void)
|
void fm10k_unregister_pci_driver(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1604,7 +1604,7 @@ static s32 fm10k_request_lport_map_pf(struct fm10k_hw *hw)
|
||||||
* @hw: pointer to hardware structure
|
* @hw: pointer to hardware structure
|
||||||
* @switch_ready: pointer to boolean value that will record switch state
|
* @switch_ready: pointer to boolean value that will record switch state
|
||||||
*
|
*
|
||||||
* This funciton will check the DMA_CTRL2 register and mailbox in order
|
* This function will check the DMA_CTRL2 register and mailbox in order
|
||||||
* to determine if the switch is ready for the PF to begin requesting
|
* to determine if the switch is ready for the PF to begin requesting
|
||||||
* addresses and mapping traffic to the local interface.
|
* addresses and mapping traffic to the local interface.
|
||||||
**/
|
**/
|
||||||
|
|
Загрузка…
Ссылка в новой задаче