Searched refs:i40e_dbg_netdev_ops_buf (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c2002 static char i40e_dbg_netdev_ops_buf[256] = ""; variable
2032 i40e_dbg_netdev_ops_buf); i40e_dbg_netdev_ops_read()
2065 if (count >= sizeof(i40e_dbg_netdev_ops_buf)) i40e_dbg_netdev_ops_write()
2068 memset(i40e_dbg_netdev_ops_buf, 0, sizeof(i40e_dbg_netdev_ops_buf)); i40e_dbg_netdev_ops_write()
2069 bytes_not_copied = copy_from_user(i40e_dbg_netdev_ops_buf, i40e_dbg_netdev_ops_write()
2075 i40e_dbg_netdev_ops_buf[count] = '\0'; i40e_dbg_netdev_ops_write()
2077 buf_tmp = strchr(i40e_dbg_netdev_ops_buf, '\n'); i40e_dbg_netdev_ops_write()
2080 count = buf_tmp - i40e_dbg_netdev_ops_buf + 1; i40e_dbg_netdev_ops_write()
2083 if (strncmp(i40e_dbg_netdev_ops_buf, "tx_timeout", 10) == 0) { i40e_dbg_netdev_ops_write()
2084 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i", &vsi_seid); i40e_dbg_netdev_ops_write()
2106 } else if (strncmp(i40e_dbg_netdev_ops_buf, "change_mtu", 10) == 0) { i40e_dbg_netdev_ops_write()
2108 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i %i", i40e_dbg_netdev_ops_write()
2130 } else if (strncmp(i40e_dbg_netdev_ops_buf, "set_rx_mode", 11) == 0) { i40e_dbg_netdev_ops_write()
2131 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i", &vsi_seid); i40e_dbg_netdev_ops_write()
2151 } else if (strncmp(i40e_dbg_netdev_ops_buf, "napi", 4) == 0) { i40e_dbg_netdev_ops_write()
2152 cnt = sscanf(&i40e_dbg_netdev_ops_buf[4], "%i", &vsi_seid); i40e_dbg_netdev_ops_write()
2171 i40e_dbg_netdev_ops_buf); i40e_dbg_netdev_ops_write()

Completed in 124 milliseconds