| /dpdk/drivers/net/atlantic/hw_atl/ |
| H A D | hw_atl_b0.c | 20 err = hw_atl_utils_soft_reset(self); in hw_atl_b0_hw_reset() 24 self->aq_fw_ops->set_state(self, MPI_RESET); in hw_atl_b0_hw_reset() 89 return aq_hw_err_from_flags(self); in hw_atl_b0_hw_qos_set() 142 err = aq_hw_err_from_flags(self); in hw_atl_b0_hw_rss_hash_set() 225 hw_atl_rpo_lro_en_set(self, in hw_atl_b0_hw_offload_set() 347 self->aq_fw_ops->set_link_speed(self, aq_nic_cfg->link_speed_msk); in hw_atl_b0_hw_init() 348 self->aq_fw_ops->set_state(self, MPI_INIT); in hw_atl_b0_hw_init() 350 hw_atl_b0_hw_qos_set(self); in hw_atl_b0_hw_init() 366 self->aq_link_status.mbps = 0; in hw_atl_b0_hw_init() 367 self->aq_fw_ops->update_stats(self); in hw_atl_b0_hw_init() [all …]
|
| H A D | hw_atl_utils.c | 67 hw_atl_utils_get_fw_version(self, &self->fw_ver_actual); in hw_atl_utils_initfw() 80 self->fw_ver_actual); in hw_atl_utils_initfw() 83 self->aq_fw_ops = *fw_ops; in hw_atl_utils_initfw() 84 err = self->aq_fw_ops->init(self); in hw_atl_utils_initfw() 267 if (self->rbl_enabled) in hw_atl_utils_soft_reset() 430 err = hw_atl_utils_fw_upload_dwords(self, self->rpc_addr, in hw_atl_utils_fw_rpc_call() 455 self->rpc_tid = sw.tid; in hw_atl_utils_fw_rpc_wait() 477 &self->rpc, in hw_atl_utils_fw_rpc_wait() 485 *rpc = &self->rpc; in hw_atl_utils_fw_rpc_wait() 523 self->mbox_addr, in hw_atl_utils_mpi_read_stats() [all …]
|
| H A D | hw_atl_utils_fw2x.c | 71 AQ_HW_WAIT_FOR(0U != (self->rpc_addr = in aq_fw2x_init() 78 self->caps_lo = mbox.info.caps_lo; in aq_fw2x_init() 313 self->mbox_addr + in aq_fw2x_get_temp() 335 self->mbox_addr + in aq_fw2x_get_cable_len() 479 self->mbox_addr + in aq_fw2x_get_eee_rate() 547 err = hw_atl_utils_fw_upload_dwords(self, self->rpc_addr, in aq_fw2x_get_eeprom() 569 err = hw_atl_utils_fw_downld_dwords(self, self->rpc_addr + sizeof(u32), in aq_fw2x_get_eeprom() 632 err = hw_atl_utils_fw_upload_dwords(self, self->rpc_addr, in aq_fw2x_set_eeprom() 684 err = hw_atl_utils_fw_downld_dwords(self, self->rpc_addr + sizeof(u32), in aq_fw2x_set_eeprom() 718 err = hw_atl_utils_fw_upload_dwords(self, self->rpc_addr, in aq_fw2x_send_macsec_request() [all …]
|
| H A D | hw_atl_b0.h | 11 int hw_atl_b0_hw_reset(struct aq_hw_s *self); 12 int hw_atl_b0_hw_init(struct aq_hw_s *self, u8 *mac_addr); 14 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc); 21 int hw_atl_b0_hw_start(struct aq_hw_s *self); 27 int hw_atl_b0_hw_ring_tx_stop(struct aq_hw_s *self, int index); 28 int hw_atl_b0_hw_ring_rx_stop(struct aq_hw_s *self, int index); 33 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, 35 int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, 38 int hw_atl_b0_hw_irq_enable(struct aq_hw_s *self, u64 mask); 39 int hw_atl_b0_hw_irq_disable(struct aq_hw_s *self, u64 mask); [all …]
|
| H A D | hw_atl_utils.h | 12 #define HW_ATL_FLUSH() { (void)aq_hw_read_reg(self, 0x10); } 505 self->chip_features) 604 int hw_atl_utils_soft_reset(struct aq_hw_s *self); 608 int hw_atl_utils_mpi_read_mbox(struct aq_hw_s *self, 611 void hw_atl_utils_mpi_read_stats(struct aq_hw_s *self, 614 void hw_atl_utils_mpi_set(struct aq_hw_s *self, 624 int hw_atl_utils_hw_get_regs(struct aq_hw_s *self, 627 int hw_atl_utils_hw_set_power(struct aq_hw_s *self, 630 int hw_atl_utils_hw_deinit(struct aq_hw_s *self); 634 int hw_atl_utils_update_stats(struct aq_hw_s *self); [all …]
|
| H A D | hw_atl_b0_internal.h | 130 #define HW_ATL_B0_FLUSH() AQ_HW_READ_REG(self, 0x10)
|
| /dpdk/examples/ipsec-secgw/test/ |
| H A D | tun_null_header_reconstruct.py | 118 def setUp(self): argument 119 self.px = pkttest.PacketXfer() 179 def test_outb_ipv4v4_ecn(self): argument 201 def test_outb_ipv6v6_ecn(self): argument 222 def test_outb_ipv4v6_ecn(self): argument 241 def test_outb_ipv6v4_ecn(self): argument 374 def test_outb_ipv4v4_dscp(self): argument 435 def test_inb_ipv4v4_dscp(self): argument 446 def test_inb_ipv6v6_dscp(self): argument 457 def test_inb_ipv4v6_dscp(self): argument [all …]
|
| H A D | pkttest.py | 50 def __init__(self, ifname): argument 51 self.name = ifname 56 self.s.bind((self.name, 0, socket.PACKET_OTHERHOST)) 62 def __del__(self): argument 63 self.s.close() 67 self.send_packet(e/pkt) 73 self.s.send(bytedata) 75 def recv_packet(self): argument 78 def recv_bytes(self): argument 81 def get_mac(self): argument [all …]
|
| H A D | trs_ipv6opts.py | 59 def setUp(self): argument 60 self.px = pkttest.PacketXfer() 64 def test_outb_ipv6_noopt(self): argument 80 def test_outb_ipv6_opt(self): argument 119 def test_inb_ipv6_noopt(self): argument 123 e = self.inb_sa.encrypt(pkt) 126 resp = self.px.xfer_protected(e) 134 def test_inb_ipv6_opt(self): argument 149 e = self.inb_sa.encrypt(pkt) 163 def test_inb_ipv6_frag(self): argument [all …]
|
| /dpdk/usertools/ |
| H A D | dpdk-telemetry-client.py | 20 def __init__(self): argument 23 self.client_fd = None 25 def __del__(self): argument 36 self.socket = Socket() 37 self.file_path = None 38 self.choice = None 39 self.unregistered = 0 41 def __del__(self): argument 55 self.socket.recv_fd.bind(self.file_path) 64 self.socket.client_fd = self.socket.recv_fd.accept()[0] [all …]
|
| H A D | dpdk-pmdinfo.py | 43 self.name = vendorStr.replace("%s " % self.ID, "").rstrip() 58 def report(self): argument 59 print(self.ID, self.name) 81 self.name = s.replace("%s " % self.ID, "") 84 def report(self): argument 85 print("\t%s\t%s" % (self.ID, self.name)) 129 def report(self): argument 130 print("\t\t%s\t%s\t%s" % (self.vendorID, self.deviceID, self.name)) 152 self.parse() 187 def parse(self): argument [all …]
|
| /dpdk/buildtools/ |
| H A D | pmdinfogen.py | 24 self._image = image 25 self._symbol = symbol 28 def string_value(self): argument 41 def __init__(self, data): argument 48 self._symtab = self._image.get_section_by_name(section) 53 def is_big_endian(self): argument 79 self._image = image 87 def string_value(self): argument 137 self.name = name 140 self.pci_ids = [] [all …]
|
| H A D | coff.py | 78 self._image = image 79 self._coff = symbol 82 def name(self): argument 90 def get_value(self, offset): argument 108 def __init__(self, data): argument 121 self._data = data 122 self._header = header 123 self._sections = sections 124 self._symbols = symbols 125 self._strings = strings [all …]
|
| /dpdk/app/test-crypto-perf/ |
| H A D | dpdk-graph-crypto-perf.py | 30 self.graph_num = 0 32 self.suite = suite 33 self.config = config 34 self.test = "" 35 self.ptest = "" 53 self.suite + "<br>" + self.test + 58 self.graph_num += 1 67 self.suite + "<br>" + self.test + "<br>" 73 self.graph_num += 1 80 data_out = self.data[~((self.data[x_axis_label] < [all …]
|
| /dpdk/drivers/net/atlantic/ |
| H A D | atl_types.h | 148 int (*init)(struct aq_hw_s *self); 150 int (*deinit)(struct aq_hw_s *self); 152 int (*reset)(struct aq_hw_s *self); 158 int (*set_state)(struct aq_hw_s *self, 161 int (*update_link_status)(struct aq_hw_s *self); 163 int (*update_stats)(struct aq_hw_s *self); 168 int (*get_temp)(struct aq_hw_s *self, int *temp); 174 int (*get_eee_rate)(struct aq_hw_s *self, u32 *rate, 178 int (*set_flow_control)(struct aq_hw_s *self); 180 int (*led_control)(struct aq_hw_s *self, u32 mode); [all …]
|
| /dpdk/lib/pcapng/ |
| H A D | rte_pcapng.c | 142 cc = write(self->outfd, buf, len); in pcapng_section_block() 234 return write(self->outfd, buf, len); in pcapng_add_interface() 579 rte_pcapng_t *self; in rte_pcapng_fdopen() local 581 self = malloc(sizeof(*self)); in rte_pcapng_fdopen() 582 if (!self) { in rte_pcapng_fdopen() 587 self->outfd = fd; in rte_pcapng_fdopen() 592 if (pcapng_interfaces(self) < 0) in rte_pcapng_fdopen() 595 return self; in rte_pcapng_fdopen() 597 free(self); in rte_pcapng_fdopen() 604 close(self->outfd); in rte_pcapng_close() [all …]
|
| H A D | rte_pcapng.h | 71 rte_pcapng_close(rte_pcapng_t *self); 153 rte_pcapng_write_packets(rte_pcapng_t *self, 184 rte_pcapng_write_stats(rte_pcapng_t *self, uint16_t port,
|
| /dpdk/app/test/ |
| H A D | test_barrier.c | 87 plock_lock(struct plock *l, uint32_t self) in plock_lock() argument 91 other = self ^ 1; in plock_lock() 93 l->flag[self] = 1; in plock_lock() 95 l->victim = self; in plock_lock() 99 while (l->flag[other] == 1 && l->victim == self) in plock_lock() 105 plock_unlock(struct plock *l, uint32_t self) in plock_unlock() argument 108 l->flag[self] = 0; in plock_unlock() 122 plock_add(struct plock_test *pt, uint32_t self, uint32_t n) in plock_add() argument 124 plock_lock(&pt->lock, self); in plock_add() 127 plock_unlock(&pt->lock, self); in plock_add()
|
| H A D | process.h | 22 #define self "curproc" macro 25 #define self "self" macro 69 const char *procdir = "/proc/" self "/fd/"; in process_dup() 126 strlcpy(path, "/proc/" self "/" exe, sizeof(path)); in process_dup()
|
| /dpdk/drivers/raw/ioat/ |
| H A D | dpdk_idxd_cfg.py | 17 def __init__(self, path): argument 18 self.path = path 20 def read_int(self, filename): argument 22 with open(os.path.join(self.path, filename)) as f: 25 def write_values(self, values): argument 28 with open(os.path.join(self.path, filename), "w") as f:
|
| /dpdk/drivers/dma/idxd/ |
| H A D | dpdk_idxd_cfg.py | 17 def __init__(self, path): argument 18 self.path = path 20 def read_int(self, filename): argument 22 with open(os.path.join(self.path, filename)) as f: 25 def write_values(self, values): argument 28 with open(os.path.join(self.path, filename), "w") as f:
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_cmd.h | 387 struct hns3_waterline self; member
|
| H A D | hns3_ethdev.c | 3178 buf_alloc->s_buf.self.high = shared_buf - pf->dv_buf_size; in hns3_is_rx_buf_ok() 3179 buf_alloc->s_buf.self.low = buf_alloc->s_buf.self.high in hns3_is_rx_buf_ok() 3183 buf_alloc->s_buf.self.high = in hns3_is_rx_buf_ok() 3185 buf_alloc->s_buf.self.low = aligned_mps; in hns3_is_rx_buf_ok() 3574 req->com_wl.high = rte_cpu_to_le_16(buf->self.high >> HNS3_BUF_UNIT_S); in hns3_common_wl_config() 3577 req->com_wl.low = rte_cpu_to_le_16(buf->self.low >> HNS3_BUF_UNIT_S); in hns3_common_wl_config()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | metrics_lib.rst | 24 individual device. Since the metrics library is self-contained, the only
|
| H A D | mbuf_lib.rst | 238 A direct buffer is a buffer that is completely separate and self-contained.
|