Searched refs:i40e_dbg_netdev_ops_buf (Results 1 – 1 of 1) sorted by relevance
1633 static char i40e_dbg_netdev_ops_buf[256] = ""; variable1664 i40e_dbg_netdev_ops_buf); in i40e_dbg_netdev_ops_read()1697 if (count >= sizeof(i40e_dbg_netdev_ops_buf)) in i40e_dbg_netdev_ops_write()1700 memset(i40e_dbg_netdev_ops_buf, 0, sizeof(i40e_dbg_netdev_ops_buf)); in i40e_dbg_netdev_ops_write()1701 bytes_not_copied = copy_from_user(i40e_dbg_netdev_ops_buf, in i40e_dbg_netdev_ops_write()1705 i40e_dbg_netdev_ops_buf[count] = '\0'; in i40e_dbg_netdev_ops_write()1707 buf_tmp = strchr(i40e_dbg_netdev_ops_buf, '\n'); in i40e_dbg_netdev_ops_write()1710 count = buf_tmp - i40e_dbg_netdev_ops_buf + 1; in i40e_dbg_netdev_ops_write()1713 if (strncmp(i40e_dbg_netdev_ops_buf, "change_mtu", 10) == 0) { in i40e_dbg_netdev_ops_write()1716 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i %i", in i40e_dbg_netdev_ops_write()[all …]