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

Function check_flow_params

dpdk/examples/ipsec-secgw/ipsec-secgw.c:788–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

786}
787
788int
789check_flow_params(uint16_t fdir_portid, uint8_t fdir_qid)
790{
791 uint16_t i;
792 uint16_t portid, queueid;
793
794 for (i = 0; i < nb_lcore_params; ++i) {
795 portid = lcore_params_array[i].port_id;
796 if (portid == fdir_portid) {
797 queueid = lcore_params_array[i].queue_id;
798 if (queueid == fdir_qid)
799 break;
800 }
801
802 if (i == nb_lcore_params - 1)
803 return -1;
804 }
805
806 return 1;
807}
808
809static int32_t
810check_poll_mode_params(struct eh_conf *eh_conf)

Callers 1

parse_sa_tokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected