Lines Matching refs:vsi_seid
541 static void i40e_dbg_dump_desc(int cnt, int vsi_seid, int ring_id, int desc_n, in i40e_dbg_dump_desc() argument
551 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_dump_desc()
553 dev_info(&pf->pdev->dev, "vsi %d not found\n", vsi_seid); in i40e_dbg_dump_desc()
561 vsi_seid, vsi->type); in i40e_dbg_dump_desc()
565 dev_info(&pf->pdev->dev, "XDP not enabled on VSI %d\n", vsi_seid); in i40e_dbg_dump_desc()
575 vsi_seid); in i40e_dbg_dump_desc()
599 dev_info(&pf->pdev->dev, "VSI = %02i Rx ring = %02i\n", vsi_seid, ring_id); in i40e_dbg_dump_desc()
602 dev_info(&pf->pdev->dev, "VSI = %02i Tx ring = %02i\n", vsi_seid, ring_id); in i40e_dbg_dump_desc()
605 dev_info(&pf->pdev->dev, "VSI = %02i XDP ring = %02i\n", vsi_seid, ring_id); in i40e_dbg_dump_desc()
633 vsi_seid, ring_id, desc_n, in i40e_dbg_dump_desc()
639 vsi_seid, ring_id, desc_n, in i40e_dbg_dump_desc()
782 int vsi_seid; in i40e_dbg_command_write() local
808 vsi_seid = -1; in i40e_dbg_command_write()
809 cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); in i40e_dbg_command_write()
812 vsi_seid = pf->vsi[pf->lan_vsi]->seid; in i40e_dbg_command_write()
813 } else if (vsi_seid < 0) { in i40e_dbg_command_write()
815 vsi_seid); in i40e_dbg_command_write()
827 vsi = i40e_vsi_setup(pf, I40E_VSI_VMDQ2, vsi_seid, 0); in i40e_dbg_command_write()
835 cnt = sscanf(&cmd_buf[7], "%i", &vsi_seid); in i40e_dbg_command_write()
842 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_command_write()
845 vsi_seid); in i40e_dbg_command_write()
849 dev_info(&pf->pdev->dev, "deleting VSI %d\n", vsi_seid); in i40e_dbg_command_write()
856 cnt = sscanf(&cmd_buf[9], "%i %i", &uplink_seid, &vsi_seid); in i40e_dbg_command_write()
869 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_command_write()
872 "add relay: VSI %d not found\n", vsi_seid); in i40e_dbg_command_write()
887 veb = i40e_veb_setup(pf, 0, uplink_seid, vsi_seid, in i40e_dbg_command_write()
925 cnt = sscanf(&cmd_buf[8], "%i %u", &vsi_seid, &v); in i40e_dbg_command_write()
932 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_command_write()
935 vsi_seid); in i40e_dbg_command_write()
944 vid, vsi_seid); in i40e_dbg_command_write()
948 vid, vsi_seid, ret); in i40e_dbg_command_write()
952 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); in i40e_dbg_command_write()
960 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_command_write()
963 "del pvid: VSI %d not found\n", vsi_seid); in i40e_dbg_command_write()
969 "del pvid: removed from VSI %d\n", vsi_seid); in i40e_dbg_command_write()
975 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); in i40e_dbg_command_write()
977 i40e_dbg_dump_vsi_seid(pf, vsi_seid); in i40e_dbg_command_write()
981 cnt = sscanf(&cmd_buf[8], "%i", &vsi_seid); in i40e_dbg_command_write()
983 i40e_dbg_dump_veb_seid(pf, vsi_seid); in i40e_dbg_command_write()
996 &vsi_seid, &ring_id, &desc_n); in i40e_dbg_command_write()
997 i40e_dbg_dump_desc(cnt, vsi_seid, ring_id, in i40e_dbg_command_write()
1002 &vsi_seid, &ring_id, &desc_n); in i40e_dbg_command_write()
1003 i40e_dbg_dump_desc(cnt, vsi_seid, ring_id, in i40e_dbg_command_write()
1008 &vsi_seid, &ring_id, &desc_n); in i40e_dbg_command_write()
1009 i40e_dbg_dump_desc(cnt, vsi_seid, ring_id, in i40e_dbg_command_write()
1253 cnt = sscanf(&cmd_buf[15], "%i", &vsi_seid); in i40e_dbg_command_write()
1261 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_command_write()
1265 vsi_seid); in i40e_dbg_command_write()
1271 vsi_seid); in i40e_dbg_command_write()
1704 int vsi_seid; in i40e_dbg_netdev_ops_write() local
1730 &vsi_seid, &mtu); in i40e_dbg_netdev_ops_write()
1735 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_netdev_ops_write()
1738 "change_mtu: VSI %d not found\n", vsi_seid); in i40e_dbg_netdev_ops_write()
1741 vsi_seid); in i40e_dbg_netdev_ops_write()
1752 cnt = sscanf(&i40e_dbg_netdev_ops_buf[11], "%i", &vsi_seid); in i40e_dbg_netdev_ops_write()
1757 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_netdev_ops_write()
1760 "set_rx_mode: VSI %d not found\n", vsi_seid); in i40e_dbg_netdev_ops_write()
1763 vsi_seid); in i40e_dbg_netdev_ops_write()
1773 cnt = sscanf(&i40e_dbg_netdev_ops_buf[4], "%i", &vsi_seid); in i40e_dbg_netdev_ops_write()
1778 vsi = i40e_dbg_find_vsi(pf, vsi_seid); in i40e_dbg_netdev_ops_write()
1781 vsi_seid); in i40e_dbg_netdev_ops_write()
1784 vsi_seid); in i40e_dbg_netdev_ops_write()