Home
last modified time | relevance | path

Searched refs:rte_ether_addr (Results 1 – 25 of 248) sorted by relevance

12345678910

/f-stack/dpdk/lib/librte_net/
H A Drte_ether.h64 struct rte_ether_addr { struct
85 static inline int rte_is_same_ether_addr(const struct rte_ether_addr *ea1, in rte_is_same_ether_addr() argument
86 const struct rte_ether_addr *ea2) in rte_is_same_ether_addr()
104 static inline int rte_is_zero_ether_addr(const struct rte_ether_addr *ea) in rte_is_zero_ether_addr()
121 static inline int rte_is_unicast_ether_addr(const struct rte_ether_addr *ea) in rte_is_unicast_ether_addr()
222 rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from, in rte_ether_addr_copy()
223 struct rte_ether_addr *__restrict ea_to) in rte_ether_addr_copy()
241 const struct rte_ether_addr *eth_addr);
258 rte_ether_unformat_addr(const char *str, struct rte_ether_addr *eth_addr);
265 struct rte_ether_addr d_addr; /**< Destination address. */
[all …]
H A Drte_arp.h25 struct rte_ether_addr arp_sha; /**< sender hardware address */
27 struct rte_ether_addr arp_tha; /**< target hardware address */
69 const struct rte_ether_addr *mac);
H A Drte_ether.c27 const struct rte_ether_addr *eth_addr) in rte_ether_format_addr()
50 static bool get_ether_addr6(const char *s0, struct rte_ether_addr *ea) in get_ether_addr6()
78 static bool get_ether_addr3(const char *s, struct rte_ether_addr *ea) in get_ether_addr3()
110 rte_ether_unformat_addr(const char *s, struct rte_ether_addr *ea) in rte_ether_unformat_addr()
/f-stack/dpdk/app/test/
H A Dtest_cmdline_etheraddr.c76 is_addr_different(const struct rte_ether_addr addr, uint64_t num) in is_addr_different()
91 struct rte_ether_addr result; in test_parse_etheraddr_invalid_param()
142 struct rte_ether_addr result; in test_parse_etheraddr_invalid_data()
147 memset(&result, 0, sizeof(struct rte_ether_addr)); in test_parse_etheraddr_invalid_data()
167 struct rte_ether_addr result; in test_parse_etheraddr_valid()
172 memset(&result, 0, sizeof(struct rte_ether_addr)); in test_parse_etheraddr_valid()
191 memset(&result, 0, sizeof(struct rte_ether_addr)); in test_parse_etheraddr_valid()
H A Dpacket_burst_generator.h28 struct rte_ether_addr *src_mac,
29 struct rte_ether_addr *dst_mac, uint16_t ether_type,
34 struct rte_ether_addr *src_mac, struct rte_ether_addr *dst_mac,
H A Dtest_link_bonding.c76 struct rte_ether_addr *default_slave_mac;
214 struct rte_ether_addr *mac_addr = (struct rte_ether_addr *)slave_mac; in test_setup()
718 struct rte_ether_addr read_mac_addr; in test_set_primary_slave()
828 struct rte_ether_addr read_mac_addr; in test_set_explicit_bonded_mac()
829 struct rte_ether_addr *mac_addr; in test_set_explicit_bonded_mac()
1340 (struct rte_ether_addr *)src_mac, in generate_test_burst()
1345 (struct rte_ether_addr *)src_mac, in generate_test_burst()
2032 struct rte_ether_addr *mac_addr = in test_roundrobin_verfiy_polling_slave_link_status_change()
2132 (struct rte_ether_addr *)src_mac, in test_activebackup_tx_burst()
2706 (struct rte_ether_addr *)src_mac, in test_balance_l2_tx_burst()
[all …]
H A Dtest_link_bonding_mode4.c65 static const struct rte_ether_addr parnter_system = {
227 struct rte_ether_addr addr, addr_check; in add_slave()
739 generate_packets(struct rte_ether_addr *src_mac, in generate_packets()
787 struct rte_ether_addr *src_mac, in generate_and_put_packets()
820 struct rte_ether_addr src_mac = { in test_mode4_rx()
822 struct rte_ether_addr dst_mac; in test_mode4_rx()
823 struct rte_ether_addr bonded_mac; in test_mode4_rx()
1010 struct rte_ether_addr dst_mac = { in test_mode4_tx_burst()
1012 struct rte_ether_addr bonded_mac; in test_mode4_tx_burst()
1388 struct rte_ether_addr src_mac, dst_mac; in test_mode4_ext_ctrl()
[all …]
/f-stack/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_nl.h36 struct rte_ether_addr *mac, uint32_t index);
39 uint64_t *mac_own, struct rte_ether_addr *mac,
43 struct rte_ether_addr *mac_addrs, int n);
46 struct rte_ether_addr *mac_addrs, int n,
58 struct rte_ether_addr *mac, int vf_index);
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_mac.c37 memset(&dev->data->mac_addrs[index], 0, sizeof(struct rte_ether_addr)); in mlx5_internal_mac_addr_remove()
54 mlx5_internal_mac_addr_add(struct rte_eth_dev *dev, struct rte_ether_addr *mac, in mlx5_internal_mac_addr_add()
124 mlx5_mac_addr_add(struct rte_eth_dev *dev, struct rte_ether_addr *mac, in mlx5_mac_addr_add()
153 mlx5_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr) in mlx5_mac_addr_set()
191 struct rte_ether_addr *mc_addr_set, uint32_t nb_mc_addr) in mlx5_set_mc_addr_list()
/f-stack/dpdk/examples/ethtool/lib/
H A Drte_ethtool.h263 int rte_ethtool_net_get_mac_addr(uint16_t port_id, struct rte_ether_addr *addr);
279 int rte_ethtool_net_set_mac_addr(uint16_t port_id, struct rte_ether_addr *addr);
296 struct rte_ether_addr *addr);
/f-stack/dpdk/lib/librte_node/
H A Dip4_rewrite_priv.h29 struct rte_ether_addr dst;
31 struct rte_ether_addr src;
/f-stack/dpdk/drivers/bus/dpaa/include/
H A Dnetcfg.h33 struct rte_ether_addr mac_addr;
34 struct rte_ether_addr peer_mac;
/f-stack/dpdk/examples/ip_pipeline/
H A Dparser.c334 static struct rte_ether_addr *
340 static struct rte_ether_addr ether_addr; in my_ether_aton()
374 return (struct rte_ether_addr *)&ether_addr; in my_ether_aton()
402 parse_mac_addr(const char *token, struct rte_ether_addr *addr) in parse_mac_addr()
404 struct rte_ether_addr *tmp; in parse_mac_addr()
410 memcpy(addr, tmp, sizeof(struct rte_ether_addr)); in parse_mac_addr()
/f-stack/dpdk/drivers/net/softnic/
H A Dparser.c351 static struct rte_ether_addr *
357 static struct rte_ether_addr ether_addr; in my_ether_aton()
391 return (struct rte_ether_addr *)&ether_addr; in my_ether_aton()
419 softnic_parse_mac_addr(const char *token, struct rte_ether_addr *addr) in softnic_parse_mac_addr()
421 struct rte_ether_addr *tmp; in softnic_parse_mac_addr()
427 memcpy(addr, tmp, sizeof(struct rte_ether_addr)); in softnic_parse_mac_addr()
/f-stack/dpdk/drivers/net/mlx4/
H A Dmlx4.h190 struct rte_ether_addr mac[MLX4_MAX_MAC_ADDRESSES];
213 int mlx4_mac_addr_add(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr,
215 int mlx4_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr);
216 int mlx4_set_mc_addr_list(struct rte_eth_dev *dev, struct rte_ether_addr *list,
/f-stack/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.h16 struct rte_ether_addr app_mac;
20 struct rte_ether_addr cli_mac;
/f-stack/dpdk/lib/librte_gro/
H A Dgro_vxlan_udp4.h17 struct rte_ether_addr outer_eth_saddr;
18 struct rte_ether_addr outer_eth_daddr;
H A Dgro_vxlan_tcp4.h17 struct rte_ether_addr outer_eth_saddr;
18 struct rte_ether_addr outer_eth_daddr;
/f-stack/dpdk/drivers/net/ark/
H A Dark_ext.h73 struct rte_ether_addr *macadr,
83 struct rte_ether_addr *mac_addr,
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_mac.c11 otx2_cgx_mac_addr_set(struct rte_eth_dev *eth_dev, struct rte_ether_addr *addr) in otx2_cgx_mac_addr_set()
53 otx2_nix_mac_addr_add(struct rte_eth_dev *eth_dev, struct rte_ether_addr *addr, in otx2_nix_mac_addr_add()
106 otx2_nix_mac_addr_set(struct rte_eth_dev *eth_dev, struct rte_ether_addr *addr) in otx2_nix_mac_addr_set()
/f-stack/dpdk/examples/l2fwd-event/
H A Dl2fwd_common.h79 struct rte_ether_addr eth_addr[RTE_MAX_ETHPORTS];
87 struct rte_ether_addr *addr) in l2fwd_mac_updating()
/f-stack/dpdk/drivers/net/bnxt/
H A Drte_pmd_bnxt.h74 struct rte_ether_addr *mac_addr);
310 int rte_pmd_bnxt_mac_addr_add(uint16_t port, struct rte_ether_addr *mac_addr,
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev_driver.h369 struct rte_ether_addr *mac_addr,
375 struct rte_ether_addr *mac_addr);
379 struct rte_ether_addr *mac_addr,
411 struct rte_ether_addr *mc_addr_set,
1369 struct rte_ether_addr mac_addr; /**< Mac address to match. */
1418 struct rte_ether_addr outer_mac; /**< Outer MAC address to match. */
1419 struct rte_ether_addr inner_mac; /**< Inner MAC address to match. */
H A Drte_ethdev_core.h154 struct rte_ether_addr *mac_addrs;
160 struct rte_ether_addr *hash_mac_addrs;
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_ethdev_vf.c44 struct rte_ether_addr *mac_addr);
46 struct rte_ether_addr *mac_addr);
205 struct rte_ether_addr *addr; in hns3vf_add_mc_addr_common()
295 struct rte_ether_addr *mac_addr) in hns3vf_set_default_mac_addr()
299 struct rte_ether_addr *old_addr; in hns3vf_set_default_mac_addr()
350 struct rte_ether_addr *addr; in hns3vf_configure_mac_addr()
402 struct rte_ether_addr *mac_addr) in hns3vf_remove_mc_mac_addr()
427 struct rte_ether_addr *addr; in hns3vf_set_mc_addr_chk_param()
491 struct rte_ether_addr *addr; in hns3vf_set_mc_mac_addr_list()
538 struct rte_ether_addr *addr; in hns3vf_configure_all_mc_mac_addr()
[all …]

12345678910