Lines Matching refs:strncmp
1012 if (strncmp(cmd_buf, "add vsi", 7) == 0) { in i40e_dbg_command_write()
1040 } else if (strncmp(cmd_buf, "del vsi", 7) == 0) { in i40e_dbg_command_write()
1052 } else if (strncmp(cmd_buf, "add relay", 9) == 0) { in i40e_dbg_command_write()
1094 } else if (strncmp(cmd_buf, "del relay", 9) == 0) { in i40e_dbg_command_write()
1121 } else if (strncmp(cmd_buf, "add macaddr", 11) == 0) { in i40e_dbg_command_write()
1159 } else if (strncmp(cmd_buf, "del macaddr", 11) == 0) { in i40e_dbg_command_write()
1196 } else if (strncmp(cmd_buf, "add pvid", 8) == 0) { in i40e_dbg_command_write()
1226 } else if (strncmp(cmd_buf, "del pvid", 8) == 0) { in i40e_dbg_command_write()
1247 } else if (strncmp(cmd_buf, "dump", 4) == 0) { in i40e_dbg_command_write()
1248 if (strncmp(&cmd_buf[5], "switch", 6) == 0) { in i40e_dbg_command_write()
1250 } else if (strncmp(&cmd_buf[5], "vsi", 3) == 0) { in i40e_dbg_command_write()
1256 } else if (strncmp(&cmd_buf[5], "veb", 3) == 0) { in i40e_dbg_command_write()
1262 } else if (strncmp(&cmd_buf[5], "desc", 4) == 0) { in i40e_dbg_command_write()
1264 if (strncmp(&cmd_buf[10], "rx", 2) == 0) { in i40e_dbg_command_write()
1269 } else if (strncmp(&cmd_buf[10], "tx", 2) in i40e_dbg_command_write()
1275 } else if (strncmp(&cmd_buf[10], "aq", 2) == 0) { in i40e_dbg_command_write()
1284 } else if (strncmp(&cmd_buf[5], "reset stats", 11) == 0) { in i40e_dbg_command_write()
1296 } else if (strncmp(&cmd_buf[5], "port", 4) == 0) { in i40e_dbg_command_write()
1400 } else if (strncmp(&cmd_buf[5], "debug fwdata", 12) == 0) { in i40e_dbg_command_write()
1455 } else if (strncmp(cmd_buf, "msg_enable", 10) == 0) { in i40e_dbg_command_write()
1472 } else if (strncmp(cmd_buf, "pfr", 3) == 0) { in i40e_dbg_command_write()
1476 } else if (strncmp(cmd_buf, "corer", 5) == 0) { in i40e_dbg_command_write()
1480 } else if (strncmp(cmd_buf, "globr", 5) == 0) { in i40e_dbg_command_write()
1484 } else if (strncmp(cmd_buf, "empr", 4) == 0) { in i40e_dbg_command_write()
1488 } else if (strncmp(cmd_buf, "read", 4) == 0) { in i40e_dbg_command_write()
1508 } else if (strncmp(cmd_buf, "write", 5) == 0) { in i40e_dbg_command_write()
1526 } else if (strncmp(cmd_buf, "clear_stats", 11) == 0) { in i40e_dbg_command_write()
1527 if (strncmp(&cmd_buf[12], "vsi", 3) == 0) { in i40e_dbg_command_write()
1549 } else if (strncmp(&cmd_buf[12], "port", 4) == 0) { in i40e_dbg_command_write()
1559 } else if (strncmp(cmd_buf, "send aq_cmd", 11) == 0) { in i40e_dbg_command_write()
1605 } else if (strncmp(cmd_buf, "send indirect aq_cmd", 20) == 0) { in i40e_dbg_command_write()
1671 } else if ((strncmp(cmd_buf, "add fd_filter", 13) == 0) || in i40e_dbg_command_write()
1672 (strncmp(cmd_buf, "rem fd_filter", 13) == 0)) { in i40e_dbg_command_write()
1683 if (strncmp(cmd_buf, "add", 3) == 0) in i40e_dbg_command_write()
1748 } else if (strncmp(cmd_buf, "fd-atr off", 10) == 0) { in i40e_dbg_command_write()
1750 } else if (strncmp(cmd_buf, "fd-atr on", 9) == 0) { in i40e_dbg_command_write()
1752 } else if (strncmp(cmd_buf, "fd current cnt", 14) == 0) { in i40e_dbg_command_write()
1755 } else if (strncmp(cmd_buf, "lldp", 4) == 0) { in i40e_dbg_command_write()
1756 if (strncmp(&cmd_buf[5], "stop", 4) == 0) { in i40e_dbg_command_write()
1780 } else if (strncmp(&cmd_buf[5], "start", 5) == 0) { in i40e_dbg_command_write()
1805 } else if (strncmp(&cmd_buf[5], in i40e_dbg_command_write()
1832 } 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()
1869 } else if (strncmp(&cmd_buf[5], "event off", 9) == 0) { in i40e_dbg_command_write()
1880 } 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()
2130 } else if (strncmp(i40e_dbg_netdev_ops_buf, "set_rx_mode", 11) == 0) { in i40e_dbg_netdev_ops_write()
2151 } else if (strncmp(i40e_dbg_netdev_ops_buf, "napi", 4) == 0) { in i40e_dbg_netdev_ops_write()