Lines Matching refs:strncmp

998 	if (strncmp(cmd_buf, "add vsi", 7) == 0) {  in i40e_dbg_command_write()
1026 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) { in i40e_dbg_command_write()
1044 } else if (strncmp(cmd_buf, "add relay", 9) == 0) { in i40e_dbg_command_write()
1086 } else if (strncmp(cmd_buf, "del relay", 9) == 0) { in i40e_dbg_command_write()
1113 } else if (strncmp(cmd_buf, "add macaddr", 11) == 0) { in i40e_dbg_command_write()
1153 } else if (strncmp(cmd_buf, "del macaddr", 11) == 0) { in i40e_dbg_command_write()
1192 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) { in i40e_dbg_command_write()
1222 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) { in i40e_dbg_command_write()
1243 } else if (strncmp(cmd_buf, "dump", 4) == 0) { in i40e_dbg_command_write()
1244 if (strncmp(&cmd_buf[5], "switch", 6) == 0) { in i40e_dbg_command_write()
1246 } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) { in i40e_dbg_command_write()
1252 } else if (strncmp(&cmd_buf[5], "veb", 3) == 0) { in i40e_dbg_command_write()
1258 } else if (strncmp(&cmd_buf[5], "desc", 4) == 0) { in i40e_dbg_command_write()
1260 if (strncmp(&cmd_buf[10], "rx", 2) == 0) { in i40e_dbg_command_write()
1265 } else if (strncmp(&cmd_buf[10], "tx", 2) in i40e_dbg_command_write()
1271 } else if (strncmp(&cmd_buf[10], "aq", 2) == 0) { in i40e_dbg_command_write()
1280 } else if (strncmp(&cmd_buf[5], "reset stats", 11) == 0) { in i40e_dbg_command_write()
1292 } else if (strncmp(&cmd_buf[5], "port", 4) == 0) { in i40e_dbg_command_write()
1396 } else if (strncmp(&cmd_buf[5], "debug fwdata", 12) == 0) { in i40e_dbg_command_write()
1451 } else if (strncmp(cmd_buf, "msg_enable", 10) == 0) { in i40e_dbg_command_write()
1468 } else if (strncmp(cmd_buf, "pfr", 3) == 0) { in i40e_dbg_command_write()
1472 } else if (strncmp(cmd_buf, "corer", 5) == 0) { in i40e_dbg_command_write()
1476 } else if (strncmp(cmd_buf, "globr", 5) == 0) { in i40e_dbg_command_write()
1480 } else if (strncmp(cmd_buf, "empr", 4) == 0) { in i40e_dbg_command_write()
1484 } else if (strncmp(cmd_buf, "read", 4) == 0) { in i40e_dbg_command_write()
1505 } else if (strncmp(cmd_buf, "write", 5) == 0) { in i40e_dbg_command_write()
1524 } else if (strncmp(cmd_buf, "clear_stats", 11) == 0) { in i40e_dbg_command_write()
1525 if (strncmp(&cmd_buf[12], "vsi", 3) == 0) { in i40e_dbg_command_write()
1548 } else if (strncmp(&cmd_buf[12], "port", 4) == 0) { in i40e_dbg_command_write()
1558 } else if (strncmp(cmd_buf, "send aq_cmd", 11) == 0) { in i40e_dbg_command_write()
1604 } else if (strncmp(cmd_buf, "send indirect aq_cmd", 20) == 0) { in i40e_dbg_command_write()
1670 } else if ((strncmp(cmd_buf, "add fd_filter", 13) == 0) || in i40e_dbg_command_write()
1671 (strncmp(cmd_buf, "rem fd_filter", 13) == 0)) { in i40e_dbg_command_write()
1682 if (strncmp(cmd_buf, "add", 3) == 0) in i40e_dbg_command_write()
1748 } else if (strncmp(cmd_buf, "fd current cnt", 14) == 0) { in i40e_dbg_command_write()
1751 } else if (strncmp(cmd_buf, "lldp", 4) == 0) { in i40e_dbg_command_write()
1752 if (strncmp(&cmd_buf[5], "stop", 4) == 0) { in i40e_dbg_command_write()
1777 } else if (strncmp(&cmd_buf[5], "start", 5) == 0) { in i40e_dbg_command_write()
1803 } else if (strncmp(&cmd_buf[5], in i40e_dbg_command_write()
1831 } else if (strncmp(&cmd_buf[5], "get remote", 10) == 0) { in i40e_dbg_command_write()
1859 } else if (strncmp(&cmd_buf[5], "event on", 8) == 0) { in i40e_dbg_command_write()
1870 } else if (strncmp(&cmd_buf[5], "event off", 9) == 0) { in i40e_dbg_command_write()
1882 } else if (strncmp(cmd_buf, "nvm read", 8) == 0) { in i40e_dbg_command_write()
2083 if (strncmp(i40e_dbg_netdev_ops_buf, "tx_timeout", 10) == 0) { in i40e_dbg_netdev_ops_write()
2106 } else if (strncmp(i40e_dbg_netdev_ops_buf, "change_mtu", 10) == 0) { in i40e_dbg_netdev_ops_write()
2131 } else if (strncmp(i40e_dbg_netdev_ops_buf, "set_rx_mode", 11) == 0) { in i40e_dbg_netdev_ops_write()
2152 } else if (strncmp(i40e_dbg_netdev_ops_buf, "napi", 4) == 0) { in i40e_dbg_netdev_ops_write()