Lines Matching refs:strncmp

732 	if (strncmp(cmd_buf, "add vsi", 7) == 0) {  in i40e_dbg_command_write()
759 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) { in i40e_dbg_command_write()
777 } else if (strncmp(cmd_buf, "add relay", 9) == 0) { in i40e_dbg_command_write()
819 } else if (strncmp(cmd_buf, "del relay", 9) == 0) { in i40e_dbg_command_write()
845 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) { in i40e_dbg_command_write()
875 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) { in i40e_dbg_command_write()
896 } else if (strncmp(cmd_buf, "dump", 4) == 0) { in i40e_dbg_command_write()
897 if (strncmp(&cmd_buf[5], "switch", 6) == 0) { in i40e_dbg_command_write()
899 } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) { in i40e_dbg_command_write()
905 } else if (strncmp(&cmd_buf[5], "veb", 3) == 0) { in i40e_dbg_command_write()
911 } else if (strncmp(&cmd_buf[5], "vf", 2) == 0) { in i40e_dbg_command_write()
917 } else if (strncmp(&cmd_buf[5], "desc", 4) == 0) { in i40e_dbg_command_write()
919 if (strncmp(&cmd_buf[10], "rx", 2) == 0) { in i40e_dbg_command_write()
924 } else if (strncmp(&cmd_buf[10], "tx", 2) in i40e_dbg_command_write()
930 } else if (strncmp(&cmd_buf[10], "aq", 2) == 0) { in i40e_dbg_command_write()
939 } else if (strncmp(&cmd_buf[5], "reset stats", 11) == 0) { in i40e_dbg_command_write()
951 } else if (strncmp(&cmd_buf[5], "port", 4) == 0) { in i40e_dbg_command_write()
1061 } else if (strncmp(&cmd_buf[5], "debug fwdata", 12) == 0) { in i40e_dbg_command_write()
1116 } else if (strncmp(cmd_buf, "pfr", 3) == 0) { in i40e_dbg_command_write()
1120 } else if (strncmp(cmd_buf, "corer", 5) == 0) { in i40e_dbg_command_write()
1124 } else if (strncmp(cmd_buf, "globr", 5) == 0) { in i40e_dbg_command_write()
1128 } else if (strncmp(cmd_buf, "read", 4) == 0) { in i40e_dbg_command_write()
1149 } else if (strncmp(cmd_buf, "write", 5) == 0) { in i40e_dbg_command_write()
1168 } else if (strncmp(cmd_buf, "clear_stats", 11) == 0) { in i40e_dbg_command_write()
1169 if (strncmp(&cmd_buf[12], "vsi", 3) == 0) { in i40e_dbg_command_write()
1192 } else if (strncmp(&cmd_buf[12], "port", 4) == 0) { in i40e_dbg_command_write()
1202 } else if (strncmp(cmd_buf, "send aq_cmd", 11) == 0) { in i40e_dbg_command_write()
1248 } else if (strncmp(cmd_buf, "send indirect aq_cmd", 20) == 0) { in i40e_dbg_command_write()
1314 } else if (strncmp(cmd_buf, "fd current cnt", 14) == 0) { in i40e_dbg_command_write()
1317 } else if (strncmp(cmd_buf, "lldp", 4) == 0) { in i40e_dbg_command_write()
1318 if (strncmp(&cmd_buf[5], "stop", 4) == 0) { in i40e_dbg_command_write()
1343 } else if (strncmp(&cmd_buf[5], "start", 5) == 0) { in i40e_dbg_command_write()
1369 } else if (strncmp(&cmd_buf[5], in i40e_dbg_command_write()
1397 } else if (strncmp(&cmd_buf[5], "get remote", 10) == 0) { in i40e_dbg_command_write()
1425 } else if (strncmp(&cmd_buf[5], "event on", 8) == 0) { in i40e_dbg_command_write()
1436 } else if (strncmp(&cmd_buf[5], "event off", 9) == 0) { in i40e_dbg_command_write()
1448 } else if (strncmp(cmd_buf, "nvm read", 8) == 0) { in i40e_dbg_command_write()
1642 if (strncmp(i40e_dbg_netdev_ops_buf, "change_mtu", 10) == 0) { in i40e_dbg_netdev_ops_write()
1667 } else if (strncmp(i40e_dbg_netdev_ops_buf, "set_rx_mode", 11) == 0) { in i40e_dbg_netdev_ops_write()
1688 } else if (strncmp(i40e_dbg_netdev_ops_buf, "napi", 4) == 0) { in i40e_dbg_netdev_ops_write()