Home
last modified time | relevance | path

Searched refs:l2_rewrite (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/net/rocker/
H A Drocker_of_dpa.c184 } l2_rewrite; member
856 group->l2_rewrite.dst_mac.a, in of_dpa_output_l2_rewrite()
857 group->l2_rewrite.vlan_id); in of_dpa_output_l2_rewrite()
1981 group->l2_rewrite.group_id = in of_dpa_cmd_add_l2_rewrite()
1993 memcpy(group->l2_rewrite.src_mac.a, in of_dpa_cmd_add_l2_rewrite()
1995 sizeof(group->l2_rewrite.src_mac.a)); in of_dpa_cmd_add_l2_rewrite()
1999 memcpy(group->l2_rewrite.dst_mac.a, in of_dpa_cmd_add_l2_rewrite()
2001 sizeof(group->l2_rewrite.dst_mac.a)); in of_dpa_cmd_add_l2_rewrite()
2005 group->l2_rewrite.vlan_id = in of_dpa_cmd_add_l2_rewrite()
2493 ngroup->group_id = group->l2_rewrite.group_id; in of_dpa_group_fill()
[all …]
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c117 } l2_rewrite; member
601 entry->l2_rewrite.group_id)) in ofdpa_cmd_group_tbl_add_l2_rewrite()
603 if (!is_zero_ether_addr(entry->l2_rewrite.eth_src) && in ofdpa_cmd_group_tbl_add_l2_rewrite()
605 ETH_ALEN, entry->l2_rewrite.eth_src)) in ofdpa_cmd_group_tbl_add_l2_rewrite()
607 if (!is_zero_ether_addr(entry->l2_rewrite.eth_dst) && in ofdpa_cmd_group_tbl_add_l2_rewrite()
609 ETH_ALEN, entry->l2_rewrite.eth_dst)) in ofdpa_cmd_group_tbl_add_l2_rewrite()
611 if (entry->l2_rewrite.vlan_id && in ofdpa_cmd_group_tbl_add_l2_rewrite()
613 entry->l2_rewrite.vlan_id)) in ofdpa_cmd_group_tbl_add_l2_rewrite()