Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 29) sorted by relevance

12

/dpdk/dts/framework/testbed_model/
H A Dsut_node.py96 self.virtual_devices = [] argument
71 __init__(self, node_config: SutNodeConfiguration) global() argument
108 _remote_dpdk_dir(self, value: PurePath) global() argument
112 remote_dpdk_build_dir(self) global() argument
126 dpdk_version(self) global() argument
133 node_info(self) global() argument
140 compiler_version(self) global() argument
155 path_to_devbind_script(self) global() argument
163 get_build_target_info(self) global() argument
173 _guess_dpdk_remote_dir(self) global() argument
176 set_up_test_run(self, test_run_config: TestRunConfiguration) global() argument
187 tear_down_test_run(self) global() argument
192 set_up_build_target(self, build_target_config: BuildTargetConfiguration) global() argument
207 tear_down_build_target(self) global() argument
216 _configure_build_target(self, build_target_config: BuildTargetConfiguration) global() argument
228 _copy_dpdk_tarball(self) global() argument
257 _build_dpdk(self) global() argument
270 build_dpdk_app(self, app_name: str, **meson_dpdk_args: str | bool) global() argument
301 kill_cleanup_dpdk_apps(self) global() argument
312 run_dpdk_app( self, app_path: PurePath, eal_params: EalParams, timeout: float = 30 ) global() argument
331 configure_ipv4_forwarding(self, enable: bool) global() argument
339 bind_ports_to_driver(self, for_dpdk: bool = True) global() argument
[all...]
H A Dposix_session.py58 def guess_dpdk_remote_dir(self, remote_dir: str | PurePath) -> PurePosixPath: argument
52 guess_dpdk_remote_dir(self, remote_dir: str | PurePath) global() argument
62 get_dpdk_build_env_vars(self, arch: Architecture) global() argument
84 join_remote_path(self, *args: str | PurePath) global() argument
89 copy_from( self, source_file: str | PurePath, destination_file: str | PurePath, ) global() argument
97 copy_to( self, source_file: str | PurePath, destination_file: str | PurePath, ) global() argument
105 remove_remote_dir( self, remote_dir_path: str | PurePath, recursive: bool = True, force: bool = True, ) global() argument
115 extract_remote_tarball( self, remote_tarball_path: str | PurePath, expected_dir: str | PurePath | None = None, ) global() argument
128 build_dpdk( self, env_vars: dict, meson_args: MesonArgs, remote_dpdk_dir: str | PurePath, remote_dpdk_build_dir: str | PurePath, rebuild: bool = False, timeout: float = SETTINGS.compile_timeout, ) global() argument
165 get_dpdk_version(self, build_dir: str | PurePath) global() argument
170 kill_cleanup_dpdk_apps(self, dpdk_prefix_list: Iterable[str]) global() argument
182 _get_dpdk_runtime_dirs(self, dpdk_prefix_list: Iterable[str]) global() argument
201 _list_remote_dirs(self, remote_path: str | PurePath) global() argument
216 _get_dpdk_pids(self, dpdk_runtime_dirs: Iterable[str | PurePath]) global() argument
241 _remote_files_exists(self, remote_path: PurePath) global() argument
245 _check_dpdk_hugepages(self, dpdk_runtime_dirs: Iterable[str | PurePath]) global() argument
264 _remove_dpdk_runtime_dirs(self, dpdk_runtime_dirs: Iterable[str | PurePath]) global() argument
268 get_dpdk_file_prefix(self, dpdk_prefix: str) global() argument
272 get_compiler_version(self, compiler_name: str) global() argument
290 get_node_info(self) global() argument
[all...]
H A Dcpu.py48 def __int__(self) -> int: argument
65 def __init__(self, lcore_list: list[int] | list[str] | list[LogicalCore] | str): argument
93 def lcore_list(self) -> list[int]: argument
97 def _get_consecutive_lcores_range(self, lcore_ids_list: list[int]) -> list[str]: argument
119 def __str__(self) -> str: argument
150 self, argument
173 def filter(self) -> list[LogicalCore]: argument
200 def filter(self) -> list[LogicalCore]: argument
220 self, lcores_to_filter: Iterable[LogicalCore] argument
267 self, lcores_to_filter: Iterable[LogicalCore] argument
[all …]
H A Dtg_node.py42 def __init__(self, node_config: TGNodeConfiguration): argument
55 self, argument
86 def send_packets(self, packets: list[Packet], port: Port): argument
[all...]
H A Dvirtual_device.py19 def __init__(self, name: str): argument
27 def __str__(self) -> str: argument
/dpdk/examples/ipsec-secgw/test/
H A Dtun_null_header_reconstruct.py118 def setUp(self): argument
132 def gen_pkt_plain_ipv4(self, src, dst, tos): argument
137 def gen_pkt_plain_ipv6(self, src, dst, tc): argument
142 def gen_pkt_tun_ipv4v4(self, tos_outter, tos_inner): argument
151 def gen_pkt_tun_ipv6v6(self, tc_outter, tc_inner): argument
160 def gen_pkt_tun_ipv4v6(self, tos_outter, tc_inner): argument
169 def gen_pkt_tun_ipv6v4(self, tc_outter, tos_inner): argument
179 def test_outb_ipv4v4_ecn(self): argument
201 def test_outb_ipv6v6_ecn(self): argument
222 def test_outb_ipv4v6_ecn(self): argument
[all …]
H A Dpkttest.py50 def __init__(self, ifname): argument
62 def __del__(self): argument
65 def send_l3packet(self, pkt, mac): argument
69 def send_packet(self, pkt): argument
72 def send_bytes(self, bytedata): argument
75 def recv_packet(self): argument
78 def recv_bytes(self): argument
81 def get_mac(self): argument
86 def __init__(self, protected_iface=TAP_PROTECTED, unprotected_iface=TAP_UNPROTECTED): argument
90 def send_to_protected_port(self, pkt, remote_mac=None): argument
[all …]
H A Dtrs_ipv6opts.py59 def setUp(self): argument
64 def test_outb_ipv6_noopt(self): argument
80 def test_outb_ipv6_opt(self): argument
119 def test_inb_ipv6_noopt(self): argument
134 def test_inb_ipv6_opt(self): argument
163 def test_inb_ipv6_frag(self): argument
/dpdk/drivers/net/atlantic/hw_atl/
H A Dhw_atl_b0.c16 int hw_atl_b0_hw_reset(struct aq_hw_s *self) in hw_atl_b0_hw_reset()
29 int hw_atl_b0_set_fc(struct aq_hw_s *self, u32 fc, u32 tc) in hw_atl_b0_set_fc()
35 static int hw_atl_b0_hw_qos_set(struct aq_hw_s *self) in hw_atl_b0_hw_qos_set()
103 static int hw_atl_b0_hw_rss_hash_type_set(struct aq_hw_s *self) in hw_atl_b0_hw_rss_hash_type_set()
117 int hw_atl_b0_hw_rss_hash_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_hash_set()
149 int hw_atl_b0_hw_rss_set(struct aq_hw_s *self, in hw_atl_b0_hw_rss_set()
186 static int hw_atl_b0_hw_offload_set(struct aq_hw_s *self) in hw_atl_b0_hw_offload_set()
232 int hw_atl_b0_hw_init_tx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_tx_path()
256 int hw_atl_b0_hw_init_rx_path(struct aq_hw_s *self) in hw_atl_b0_hw_init_rx_path()
303 static int hw_atl_b0_hw_mac_addr_set(struct aq_hw_s *self, u8 *mac_addr) in hw_atl_b0_hw_mac_addr_set()
[all …]
/dpdk/usertools/
H A Ddpdk-telemetry-client.py23 def __init__(self): argument
28 def __del__(self): argument
39 def __init__(self): argument
47 def __del__(self): argument
54 def getFilepath(self, file_path): argument
58 def setRunpath(self, file_prefix): argument
62 def register(self): argument
78 def unregister(self): argument
83 def requestMetrics(self): argument
89 def repeatedlyRequestMetrics(self, sleep_time): argument
[all …]
H A Ddpdk-rss-flows.py26 def __init__(self, ip_src: Address, ip_dst: Address, l4_sport: int, l4_dport: int): argument
32 def reverse(self): argument
40 hash_data(self, use_l4_port: bool = False) global() argument
50 __init__( self, ip_src: Network, ip_dst: Network, l4_sport_range: PortList, l4_dport_range: PortList, ) global() argument
61 __iter__(self) global() argument
73 __init__( self, queues_count: int, key: bytes, reta_size: int, use_l4_port: bool, ) global() argument
84 toeplitz_hash(self, data: bytes) global() argument
107 get_queue_index(self, packet: Packet) global() argument
159 __init__(self, key: bytes = None, reta_size: int = None) global() argument
163 rss_key(self) global() argument
166 reta_size(self, num_queues: int) global() argument
171 rss_key(self) global() argument
185 reta_size(self, num_queues: int) global() argument
[all...]
H A Ddpdk-telemetry-exporter.py163 def __init__(self, path: str): argument
170 self, uri: str, arg: typing.Any = None argument
184 def __enter__(self): argument
187 def __exit__(self, *args, **kwargs): argument
296 def escape(self, value: typing.Any) -> str: argument
305 def do_GET(self): argument
363 def log_message(self, fmt, *args): argument
/dpdk/buildtools/
H A Dpmdinfogen.py24 def __init__(self, image, symbol): argument
29 def string_value(self): argument
34 def get_value(self, offset, size): argument
42 def __init__(self, data): argument
54 def is_big_endian(self): argument
57 def find_by_name(self, name): argument
61 def _get_symbol_by_name(self, name): argument
70 def find_by_pattern(self, pattern): argument
79 def __init__(self, image, symbol): argument
83 def get_value(self, offset, size): argument
[all …]
H A Dcoff.py77 def __init__(self, image, symbol: CoffSymbol): argument
82 def name(self): argument
90 def get_value(self, offset): argument
108 def __init__(self, data): argument
134 def symbols(self): argument
141 def get_section_data(self, number): argument
147 def get_string(self, offset): argument
/dpdk/dts/framework/testbed_model/traffic_generator/
H A Dscapy.py136 __init__(self, *args, **kwargs) global() argument
150 quit(self) global() argument
155 add_rpc_function(self, name: str, function_bytes: xmlrpc.client.Binary) global() argument
166 serve_forever(self, poll_interval: float = 0.5) global() argument
197 __init__(self, tg_node: Node, config: ScapyTrafficGeneratorConfig) global() argument
246 _start_xmlrpc_server_in_remote_python(self, listen_port: int) global() argument
260 _send_packets(self, packets: list[Packet], port: Port) global() argument
264 _create_packet_filter(self, filter_config: PacketFilteringConfig) global() argument
287 _send_packets_and_capture( self, packets: list[Packet], send_port: Port, receive_port: Port, filter_config: PacketFilteringConfig, duration: float, capture_name: str = _get_default_capture_name(), ) global() argument
310 close(self) global() argument
[all...]
H A Dtraffic_generator.py33 __init__(self, tg_node: Node, config: TrafficGeneratorConfig) global() argument
44 send_packet(self, packet: Packet, port: Port) global() argument
55 send_packets(self, packets: list[Packet], port: Port) global() argument
69 _send_packets(self, packets: list[Packet], port: Port) global() argument
79 is_capturing(self) global() argument
84 close(self) global() argument
[all...]
H A Dcapturing_traffic_generator.py62 def is_capturing(self) -> bool: argument
67 self, argument
98 send_packets_and_capture( self, packets: list[Packet], send_port: Port, receive_port: Port, filter_config: PacketFilteringConfig, duration: float, capture_name: str = _get_default_capture_name(), ) global() argument
144 _send_packets_and_capture( self, packets: list[Packet], send_port: Port, receive_port: Port, filter_config: PacketFilteringConfig, duration: float, ) global() argument
159 _write_capture_from_packets(self, capture_name: str, packets: list[Packet]) global() argument
[all...]
/dpdk/dts/framework/
H A Dutils.py106 __str__(self) global() argument
116 __init__(self, default_library: str | None = None, **dpdk_args: str | bool) global() argument
138 __str__(self) global() argument
178 __init__( self, git_ref: str, output_dir: str, tar_compression_format: _TarCompressionFormat = _TarCompressionFormat.xz, ) global() argument
208 _create_tarball_dir(self) global() argument
211 _check_tarball_path(self) global() argument
216 _create_tarball(self) global() argument
240 _delete_tarball(self) global() argument
244 __fspath__(self) global() argument
[all...]
/dpdk/dts/tests/
H A DTestSuite_pmd_buffer_scatter.py52 set_up_suite(self) global() argument
68 scatter_pktgen_send_packet(self, pktsize: int) global() argument
95 pmd_scatter(self, mbsize: int) global() argument
124 test_scatter_mbuf_2048(self) global() argument
128 tear_down_suite(self) global() argument
[all...]
H A DTestSuite_smoke_tests.py50 self.nics_in_node = self.sut_node.config.ports argument
41 set_up_suite(self) global() argument
66 test_driver_tests(self) global() argument
94 test_devices_listed_in_testpmd(self) global() argument
111 test_device_bound_to_driver(self) global() argument
[all...]
H A DTestSuite_os_udp.py
H A DTestSuite_hello_world.py30 self.app_helloworld_path = self.sut_node.build_dpdk_app("helloworld") argument
22 set_up_suite(self) global() argument
49 test_hello_world_all_cores(self) global() argument
[all...]
/dpdk/app/test-crypto-perf/
H A Ddpdk-graph-crypto-perf.py29 def __init__(self, config, suite, graph_path): argument
38 def save_graph(self, fig, subdir): argument
49 def boxplot_graph(self, x_axis_label, burst, buffer): argument
60 def grouped_graph(self, y_axis_label, x_axis_label, color_label): argument
75 def histogram_graph(self, x_axis_label, burst, buffer): argument
/dpdk/drivers/dma/idxd/
H A Ddpdk_idxd_cfg.py19 def __init__(self, path): argument
22 def read_int(self, filename): argument
29 def write_values(self, values): argument
/dpdk/lib/pcapng/
H A Drte_pcapng.c102 pcapng_timestamp(const rte_pcapng_t *self, uint64_t cycles) in pcapng_timestamp() argument
141 pcapng_section_block(rte_pcapng_t *self, in pcapng_section_block() argument
203 rte_pcapng_add_interface(rte_pcapng_t *self, uint16_t port, in rte_pcapng_add_interface() argument
324 rte_pcapng_write_stats(rte_pcapng_t *self, uint16_ argument
611 rte_pcapng_write_packets(rte_pcapng_t * self,struct rte_mbuf * pkts[],uint16_t nb_pkts) rte_pcapng_write_packets() argument
685 rte_pcapng_t *self; rte_pcapng_fdopen() local
717 rte_pcapng_close(rte_pcapng_t * self) rte_pcapng_close() argument
[all...]

12