| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_stats.c | 67 queue_is_valid(struct nix *nix, uint16_t qid, bool is_rx) in queue_is_valid() argument 71 if (is_rx) in queue_is_valid() 224 roc_nix_stats_queue_get(struct roc_nix *roc_nix, uint16_t qid, bool is_rx, in roc_nix_stats_queue_get() argument 233 rc = queue_is_valid(nix, qid, is_rx); in roc_nix_stats_queue_get() 237 if (is_rx) in roc_nix_stats_queue_get() 247 roc_nix_stats_queue_reset(struct roc_nix *roc_nix, uint16_t qid, bool is_rx) in roc_nix_stats_queue_reset() argument 252 rc = queue_is_valid(nix, qid, is_rx); in roc_nix_stats_queue_reset() 256 if (is_rx) in roc_nix_stats_queue_reset()
|
| H A D | roc_npc_mcam_dump.c | 472 npc_flow_dump_parsed_action(FILE *file, uint64_t npc_action, bool is_rx) in npc_flow_dump_parsed_action() argument 474 if (is_rx) { in npc_flow_dump_parsed_action() 573 npc_flow_dump_vtag_action(FILE *file, uint64_t vtag_action, bool is_rx) in npc_flow_dump_vtag_action() argument 575 if (is_rx) { in npc_flow_dump_vtag_action() 589 bool is_rx = 0; in roc_npc_flow_mcam_dump() local 598 is_rx = 1; in roc_npc_flow_mcam_dump() 600 npc_flow_dump_parsed_action(file, flow->npc_action, is_rx); in roc_npc_flow_mcam_dump() 601 npc_flow_dump_vtag_action(file, flow->vtag_action, is_rx); in roc_npc_flow_mcam_dump()
|
| H A D | roc_nix.h | 831 bool is_rx, 834 bool is_rx);
|
| /dpdk/app/test-pmd/ |
| H A D | util.c | 72 uint16_t nb_pkts, int is_rx) in dump_pkt_burst() argument 96 is_rx ? "received" : "sent", (unsigned int) nb_pkts); in dump_pkt_burst() 189 if (!is_rx && (ol_flags & RTE_MBUF_DYNFLAG_TX_METADATA)) in dump_pkt_burst() 193 if (is_rx && (ol_flags & RTE_MBUF_DYNFLAG_RX_METADATA)) in dump_pkt_burst() 278 " - %s queue=0x%x", is_rx ? "Receive" : "Send", in dump_pkt_burst() 281 if (is_rx) in dump_pkt_burst()
|
| H A D | testpmd.h | 1013 void set_qmap(portid_t port_id, uint8_t is_rx, uint16_t queue_id, uint8_t map_value); 1071 void set_vf_traffic(portid_t port_id, uint8_t is_rx, uint16_t vf, uint8_t on);
|
| H A D | config.c | 5523 set_qmap(portid_t port_id, uint8_t is_rx, uint16_t queue_id, uint8_t map_value) in set_qmap() argument 5530 if (is_rx ? (rx_queue_id_is_invalid(queue_id)) : (tx_queue_id_is_invalid(queue_id))) in set_qmap() 5539 if (!is_rx) { /* tx */ in set_qmap() 5883 set_vf_traffic(portid_t port_id, uint8_t is_rx, uint16_t vf, uint8_t on) in set_vf_traffic() argument 5888 if (is_rx) in set_vf_traffic() 5897 is_rx ? "rx" : "tx", port_id, diag); in set_vf_traffic() 5901 is_rx ? "Rx" : "Tx", port_id); in set_vf_traffic()
|
| H A D | cmdline.c | 9021 int is_rx = (strcmp(res->what, "tx") == 0) ? 0 : 1; in cmd_set_qmap_parsed() local 9023 set_qmap(res->port_id, (uint8_t)is_rx, res->queue_id, res->map_value); in cmd_set_qmap_parsed() 9330 int is_rx = (strcmp(res->what, "rx") == 0) ? 1 : 0; in cmd_set_vf_traffic_parsed() local 9333 set_vf_traffic(res->port_id, (uint8_t)is_rx, res->vf_id,(uint8_t) is_on); in cmd_set_vf_traffic_parsed()
|
| /dpdk/drivers/net/cnxk/ |
| H A D | cnxk_stats.c | 73 uint8_t stat_idx, uint8_t is_rx) in cnxk_nix_queue_stats_mapping() argument 77 if (is_rx) { in cnxk_nix_queue_stats_mapping()
|
| H A D | cnxk_ethdev_ops.c | 760 nix_offset_has_packet(uint32_t head, uint32_t tail, uint16_t offset, bool is_rx) in nix_offset_has_packet() argument 768 is_rx : in nix_offset_has_packet() 769 !is_rx; in nix_offset_has_packet()
|
| H A D | cnxk_ethdev.h | 595 uint8_t stat_idx, uint8_t is_rx);
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_vfpf_if.h | 529 u8 is_rx; member
|
| H A D | ecore_vf.c | 1624 req->is_rx = p_cid->b_is_rx ? 1 : 0; in ecore_vf_pf_get_coalesce()
|
| H A D | ecore_sriov.c | 3688 b_is_rx = req->is_rx ? true : false; in ecore_iov_vf_pf_get_coalesce()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 366 uint8_t is_rx) in txgbe_dev_queue_stats_mapping_set() argument 383 (int)(eth_dev->data->port_id), is_rx ? "RX" : "TX", in txgbe_dev_queue_stats_mapping_set() 395 if (!is_rx) in txgbe_dev_queue_stats_mapping_set() 403 if (!is_rx) in txgbe_dev_queue_stats_mapping_set() 409 (int)(eth_dev->data->port_id), is_rx ? "RX" : "TX", in txgbe_dev_queue_stats_mapping_set() 411 PMD_INIT_LOG(DEBUG, "%s[%d] = 0x%08x", is_rx ? "RQSMR" : "TQSM", n, in txgbe_dev_queue_stats_mapping_set() 412 is_rx ? stat_mappings->rqsm[n] : stat_mappings->tqsm[n]); in txgbe_dev_queue_stats_mapping_set()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_stats.c | 473 int bd_num, bool is_rx) in hns3_get_ssu_drop_stats() argument 486 req->rxtx = is_rx ? 0 : 1; in hns3_get_ssu_drop_stats()
|
| /dpdk/lib/ethdev/ |
| H A D | ethdev_driver.h | 433 uint8_t is_rx);
|
| H A D | rte_ethdev.c | 3036 uint8_t stat_idx, uint8_t is_rx) in eth_dev_set_queue_stats_mapping() argument 3043 if (is_rx && (queue_id >= dev->data->nb_rx_queues)) in eth_dev_set_queue_stats_mapping() 3046 if (!is_rx && (queue_id >= dev->data->nb_tx_queues)) in eth_dev_set_queue_stats_mapping() 3053 return (*dev->dev_ops->queue_stats_mapping_set) (dev, queue_id, stat_idx, is_rx); in eth_dev_set_queue_stats_mapping()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 182 uint8_t is_rx); 873 uint8_t is_rx) in ixgbe_dev_queue_stats_mapping_set() argument 895 (int)(eth_dev->data->port_id), is_rx ? "RX" : "TX", in ixgbe_dev_queue_stats_mapping_set() 907 if (!is_rx) in ixgbe_dev_queue_stats_mapping_set() 915 if (!is_rx) in ixgbe_dev_queue_stats_mapping_set() 921 (int)(eth_dev->data->port_id), is_rx ? "RX" : "TX", in ixgbe_dev_queue_stats_mapping_set() 923 PMD_INIT_LOG(DEBUG, "%s[%d] = 0x%08x", is_rx ? "RQSMR" : "TQSM", n, in ixgbe_dev_queue_stats_mapping_set() 924 is_rx ? stat_mappings->rqsmr[n] : stat_mappings->tqsm[n]); in ixgbe_dev_queue_stats_mapping_set() 927 if (is_rx) { in ixgbe_dev_queue_stats_mapping_set()
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_ethdev.c | 217 uint16_t queue_id, uint8_t stat_idx, uint8_t is_rx); 2060 uint16_t queue_id, uint8_t stat_idx, uint8_t is_rx) in eth_igc_queue_stats_mapping_set() argument 2072 if (is_rx) in eth_igc_queue_stats_mapping_set()
|
| /dpdk/drivers/net/tap/ |
| H A D | rte_eth_tap.c | 1516 int is_rx) in tap_setup_queue() argument 1528 if (is_rx) { in tap_setup_queue()
|
| /dpdk/drivers/net/virtio/ |
| H A D | virtio_ethdev.c | 94 uint8_t is_rx); 3116 __rte_unused uint8_t is_rx) in virtio_dev_queue_stats_mapping_set() argument
|
| /dpdk/drivers/net/bnxt/ |
| H A D | bnxt_hwrm.c | 177 bool is_rx = false; in bnxt_hwrm_send_message() local 253 is_rx = true; in bnxt_hwrm_send_message() 263 done = bnxt_check_cq_hwrm_done(cpr, is_tx, is_rx, in bnxt_hwrm_send_message()
|