Lines Matching refs:strncmp

786 	if (strncmp(cmd_buf, "add vsi", 7) == 0) {  in i40e_dbg_command_write()
814 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) { in i40e_dbg_command_write()
832 } else if (strncmp(cmd_buf, "add relay", 9) == 0) { in i40e_dbg_command_write()
879 } else if (strncmp(cmd_buf, "del relay", 9) == 0) { in i40e_dbg_command_write()
908 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) { in i40e_dbg_command_write()
938 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) { in i40e_dbg_command_write()
959 } else if (strncmp(cmd_buf, "dump", 4) == 0) { in i40e_dbg_command_write()
960 if (strncmp(&cmd_buf[5], "switch", 6) == 0) { in i40e_dbg_command_write()
962 } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) { in i40e_dbg_command_write()
968 } else if (strncmp(&cmd_buf[5], "veb", 3) == 0) { in i40e_dbg_command_write()
974 } else if (strncmp(&cmd_buf[5], "vf", 2) == 0) { in i40e_dbg_command_write()
980 } else if (strncmp(&cmd_buf[5], "desc", 4) == 0) { in i40e_dbg_command_write()
982 if (strncmp(&cmd_buf[10], "rx", 2) == 0) { in i40e_dbg_command_write()
987 } else if (strncmp(&cmd_buf[10], "tx", 2) in i40e_dbg_command_write()
993 } else if (strncmp(&cmd_buf[10], "xdp", 3) in i40e_dbg_command_write()
999 } else if (strncmp(&cmd_buf[10], "aq", 2) == 0) { in i40e_dbg_command_write()
1010 } else if (strncmp(&cmd_buf[5], "reset stats", 11) == 0) { in i40e_dbg_command_write()
1019 } else if (strncmp(&cmd_buf[5], "port", 4) == 0) { in i40e_dbg_command_write()
1129 } else if (strncmp(&cmd_buf[5], "debug fwdata", 12) == 0) { in i40e_dbg_command_write()
1184 } else if (strncmp(cmd_buf, "pfr", 3) == 0) { in i40e_dbg_command_write()
1188 } else if (strncmp(cmd_buf, "corer", 5) == 0) { in i40e_dbg_command_write()
1192 } else if (strncmp(cmd_buf, "globr", 5) == 0) { in i40e_dbg_command_write()
1196 } else if (strncmp(cmd_buf, "read", 4) == 0) { in i40e_dbg_command_write()
1217 } else if (strncmp(cmd_buf, "write", 5) == 0) { in i40e_dbg_command_write()
1236 } else if (strncmp(cmd_buf, "clear_stats", 11) == 0) { in i40e_dbg_command_write()
1237 if (strncmp(&cmd_buf[12], "vsi", 3) == 0) { in i40e_dbg_command_write()
1260 } else if (strncmp(&cmd_buf[12], "port", 4) == 0) { in i40e_dbg_command_write()
1270 } else if (strncmp(cmd_buf, "send aq_cmd", 11) == 0) { in i40e_dbg_command_write()
1316 } else if (strncmp(cmd_buf, "send indirect aq_cmd", 20) == 0) { in i40e_dbg_command_write()
1382 } else if (strncmp(cmd_buf, "fd current cnt", 14) == 0) { in i40e_dbg_command_write()
1385 } else if (strncmp(cmd_buf, "lldp", 4) == 0) { in i40e_dbg_command_write()
1389 if (strncmp(&cmd_buf[5], "stop", 4) == 0) { in i40e_dbg_command_write()
1413 } else if (strncmp(&cmd_buf[5], "start", 5) == 0) { in i40e_dbg_command_write()
1438 } else if (strncmp(&cmd_buf[5], in i40e_dbg_command_write()
1466 } else if (strncmp(&cmd_buf[5], "get remote", 10) == 0) { in i40e_dbg_command_write()
1494 } else if (strncmp(&cmd_buf[5], "event on", 8) == 0) { in i40e_dbg_command_write()
1505 } else if (strncmp(&cmd_buf[5], "event off", 9) == 0) { in i40e_dbg_command_write()
1517 } else if (strncmp(cmd_buf, "nvm read", 8) == 0) { in i40e_dbg_command_write()
1713 if (strncmp(i40e_dbg_netdev_ops_buf, "change_mtu", 10) == 0) { in i40e_dbg_netdev_ops_write()
1738 } else if (strncmp(i40e_dbg_netdev_ops_buf, "set_rx_mode", 11) == 0) { in i40e_dbg_netdev_ops_write()
1759 } else if (strncmp(i40e_dbg_netdev_ops_buf, "napi", 4) == 0) { in i40e_dbg_netdev_ops_write()