Home
last modified time | relevance | path

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

1234567891011

/dpdk/lib/net/
H A Drte_ether.h60 struct rte_ether_addr { struct
81 static inline int rte_is_same_ether_addr(const struct rte_ether_addr *ea1, in rte_is_same_ether_addr() argument
82 const struct rte_ether_addr *ea2) in rte_is_same_ether_addr()
100 static inline int rte_is_zero_ether_addr(const struct rte_ether_addr *ea) in rte_is_zero_ether_addr()
117 static inline int rte_is_unicast_ether_addr(const struct rte_ether_addr *ea) in rte_is_unicast_ether_addr()
218 rte_ether_addr_copy(const struct rte_ether_addr *__restrict ea_from, in rte_ether_addr_copy()
219 struct rte_ether_addr *__restrict ea_to) in rte_ether_addr_copy()
251 const struct rte_ether_addr *eth_addr);
267 rte_ether_unformat_addr(const char *str, struct rte_ether_addr *eth_addr);
274 struct rte_ether_addr dst_addr; /**< Destination address. */
[all …]
H A Drte_ether.c23 const struct rte_ether_addr *eth_addr) in rte_ether_format_addr()
41 static bool get_ether_addr6(const char *s0, struct rte_ether_addr *ea) in get_ether_addr6()
69 static bool get_ether_addr3(const char *s, struct rte_ether_addr *ea) in get_ether_addr3()
101 rte_ether_unformat_addr(const char *s, struct rte_ether_addr *ea) in rte_ether_unformat_addr()
H A Drte_arp.h25 struct rte_ether_addr arp_sha; /**< sender hardware address */
27 struct rte_ether_addr arp_tha; /**< target hardware address */
65 const struct rte_ether_addr *mac);
/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;
217 struct rte_ether_addr *mac_addr = (struct rte_ether_addr *)slave_mac; in test_setup()
721 struct rte_ether_addr read_mac_addr; in test_set_primary_slave()
831 struct rte_ether_addr read_mac_addr; in test_set_explicit_bonded_mac()
832 struct rte_ether_addr *mac_addr; in test_set_explicit_bonded_mac()
1343 (struct rte_ether_addr *)src_mac, in generate_test_burst()
1348 (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 = {
225 struct rte_ether_addr addr, addr_check; in add_slave()
737 generate_packets(struct rte_ether_addr *src_mac, in generate_packets()
785 struct rte_ether_addr *src_mac, in generate_and_put_packets()
818 struct rte_ether_addr src_mac = { in test_mode4_rx()
820 struct rte_ether_addr dst_mac; in test_mode4_rx()
821 struct rte_ether_addr bonded_mac; in test_mode4_rx()
1008 struct rte_ether_addr dst_mac = { in test_mode4_tx_burst()
1010 struct rte_ether_addr bonded_mac; in test_mode4_tx_burst()
1387 struct rte_ether_addr src_mac, dst_mac; in test_mode4_ext_ctrl()
[all …]
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_nl.h37 struct rte_ether_addr *mac, uint32_t index);
40 uint64_t *mac_own, struct rte_ether_addr *mac,
44 struct rte_ether_addr *mac_addrs, int n);
47 struct rte_ether_addr *mac_addrs, int n,
61 struct rte_ether_addr *mac, int vf_index);
/dpdk/drivers/net/hns3/
H A Dhns3_common.c317 const struct rte_ether_addr *ether_addr) in hns3_ether_format_addr()
327 struct rte_ether_addr *mc_addr_set, in hns3_set_mc_addr_chk_param()
332 struct rte_ether_addr *addr; in hns3_set_mc_addr_chk_param()
395 struct rte_ether_addr *mc_addr_set, in hns3_set_mc_mac_addr_list()
399 struct rte_ether_addr *addr; in hns3_set_mc_mac_addr_list()
447 struct rte_ether_addr *addr; in hns3_configure_all_mc_mac_addr()
475 struct rte_ether_addr *addr; in hns3_configure_all_mac_addr()
508 struct rte_ether_addr *addr; in hns3_find_duplicate_mc_addr()
599 struct rte_ether_addr *eth_addr; in hns3_init_mac_addrs()
603 sizeof(struct rte_ether_addr) * mac_addrs_capa, in hns3_init_mac_addrs()
[all …]
H A Dhns3_common.h46 int hns3_add_mac_addr(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr,
51 struct rte_ether_addr *mc_addr_set,
54 const struct rte_ether_addr *ether_addr);
/dpdk/drivers/net/mlx5/
H A Dmlx5_mac.c36 memset(&dev->data->mac_addrs[index], 0, sizeof(struct rte_ether_addr)); in mlx5_internal_mac_addr_remove()
53 mlx5_internal_mac_addr_add(struct rte_eth_dev *dev, struct rte_ether_addr *mac, in mlx5_internal_mac_addr_add()
123 mlx5_mac_addr_add(struct rte_eth_dev *dev, struct rte_ether_addr *mac, in mlx5_mac_addr_add()
152 mlx5_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr) in mlx5_mac_addr_set()
197 struct rte_ether_addr *mc_addr_set, uint32_t nb_mc_addr) in mlx5_set_mc_addr_list()
/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);
/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()
/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()
/dpdk/lib/node/
H A Dip4_rewrite_priv.h25 struct rte_ether_addr dst;
27 struct rte_ether_addr src;
/dpdk/drivers/net/mlx4/
H A Dmlx4.h190 struct rte_ether_addr mac[MLX4_MAX_MAC_ADDRESSES];
217 int mlx4_mac_addr_add(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr,
219 int mlx4_mac_addr_set(struct rte_eth_dev *dev, struct rte_ether_addr *mac_addr);
220 int mlx4_set_mc_addr_list(struct rte_eth_dev *dev, struct rte_ether_addr *list,
/dpdk/drivers/bus/dpaa/include/
H A Dnetcfg.h32 struct rte_ether_addr mac_addr;
33 struct rte_ether_addr peer_mac;
/dpdk/lib/ethdev/
H A Dethdev_driver.h119 struct rte_ether_addr *mac_addrs;
126 struct rte_ether_addr *hash_mac_addrs;
581 struct rte_ether_addr *mac_addr,
587 struct rte_ether_addr *mac_addr);
591 struct rte_ether_addr *mac_addr,
613 struct rte_ether_addr *mc_addr_set,
1824 struct rte_ether_addr mac_addr; /**< Mac address to match */
1873 struct rte_ether_addr outer_mac; /**< Outer MAC address to match */
1874 struct rte_ether_addr inner_mac; /**< Inner MAC address to match */
/dpdk/drivers/vdpa/sfc/
H A Dsfc_vdpa_filter.c17 struct rte_ether_addr *mac_addr = extra_args; in sfc_vdpa_get_eth_addr()
62 struct rte_ether_addr bcast_eth_addr; in sfc_vdpa_filter_config()
63 struct rte_ether_addr ucast_eth_addr; in sfc_vdpa_filter_config()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.h16 struct rte_ether_addr app_mac;
20 struct rte_ether_addr cli_mac;
/dpdk/lib/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;
/dpdk/drivers/net/ice/
H A Dice_dcf_ethdev.h39 struct rte_ether_addr mc_addrs[DCF_NUM_MACADDR_MAX];
60 struct rte_ether_addr mac_addr;
/dpdk/drivers/net/ark/
H A Dark_ext.h194 struct rte_ether_addr *macaddr,
228 struct rte_ether_addr *mac_addr,
/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,

1234567891011