MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cpfl_p2p_queue_grps_del

Function cpfl_p2p_queue_grps_del

dpdk/drivers/net/cpfl/cpfl_ethdev.c:1092–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1090}
1091
1092static int
1093cpfl_p2p_queue_grps_del(struct idpf_vport *vport)
1094{
1095 struct virtchnl2_queue_group_id qg_ids;
1096 int ret = 0;
1097
1098 memset(&qg_ids, 0, sizeof(qg_ids));
1099 qg_ids.queue_group_id = CPFL_P2P_QUEUE_GRP_ID;
1100 qg_ids.queue_group_type = VIRTCHNL2_QUEUE_GROUP_P2P;
1101 ret = idpf_vc_queue_grps_del(vport, CPFL_P2P_NB_QUEUE_GRPS, &qg_ids);
1102 if (ret)
1103 PMD_DRV_LOG(ERR, "Failed to delete p2p queue groups");
1104 return ret;
1105}
1106
1107static int
1108cpfl_dev_close(struct rte_eth_dev *dev)

Callers 2

cpfl_dev_closeFunction · 0.85
cpfl_dev_vport_initFunction · 0.85

Calls 2

memsetFunction · 0.85
idpf_vc_queue_grps_delFunction · 0.85

Tested by

no test coverage detected