| /linux/drivers/net/netdevsim/ |
| H A D | bus.c | 69 u8 eth_addr[ETH_ALEN] = {}; in new_port_store() local 79 ð_addr[0], ð_addr[1], ð_addr[2], ð_addr[3], in new_port_store() 80 ð_addr[4], ð_addr[5]); in new_port_store() 83 if (!is_valid_ether_addr(eth_addr)) { in new_port_store() 97 addr_set ? eth_addr : NULL); in new_port_store()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_tc.h | 65 #define bnxt_eth_addr_key_mask_invalid(eth_addr, eth_addr_mask) \ argument 66 ((is_wildcard(&(eth_addr)[0], ETH_ALEN) && \ 67 is_wildcard(&(eth_addr)[ETH_ALEN / 2], ETH_ALEN)) || \
|
| H A D | bnxt_tc.c | 153 u16 *eth_addr, u16 *eth_addr_mask) in bnxt_fill_l2_rewrite_fields() argument 158 if (unlikely(bnxt_eth_addr_key_mask_invalid(eth_addr, eth_addr_mask))) in bnxt_fill_l2_rewrite_fields() 165 p = eth_addr; in bnxt_fill_l2_rewrite_fields() 174 p = ð_addr[ETH_ALEN / 2]; in bnxt_fill_l2_rewrite_fields() 184 struct flow_action_entry *act, int act_idx, u8 *eth_addr, in bnxt_tc_parse_pedit() argument 207 bnxt_set_l2_key_mask(val, mask, ð_addr[offset], in bnxt_tc_parse_pedit() 295 u16 eth_addr[ETH_ALEN] = { 0 }; in bnxt_tc_parse_actions() local 335 (u8 *)eth_addr, in bnxt_tc_parse_actions() 346 rc = bnxt_fill_l2_rewrite_fields(actions, eth_addr, in bnxt_tc_parse_actions()
|
| /linux/drivers/net/ethernet/atheros/atl1e/ |
| H A D | atl1e_hw.c | 60 u8 eth_addr[ETH_ALEN]; in atl1e_get_permanent_address() local 86 *(u32 *) ð_addr[2] = swab32(addr[0]); in atl1e_get_permanent_address() 87 *(u16 *) ð_addr[0] = swab16(*(u16 *)&addr[1]); in atl1e_get_permanent_address() 89 if (is_valid_ether_addr(eth_addr)) { in atl1e_get_permanent_address() 90 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1e_get_permanent_address()
|
| /linux/drivers/net/ethernet/freescale/fman/ |
| H A D | fman_dtsec.c | 359 enet_addr_t eth_addr; in init() local 443 MAKE_ENET_ADDR_FROM_UINT64(addr, eth_addr); in init() 444 set_mac_address(regs, (const u8 *)eth_addr); in init() 1012 enet_addr_t *eth_addr) in dtsec_add_hash_mac_address() argument 1021 addr = ENET_ADDR_TO_UINT64(*eth_addr); in dtsec_add_hash_mac_address() 1031 crc = crc32_le(crc, (u8 *)eth_addr, ETH_ALEN); in dtsec_add_hash_mac_address() 1114 enet_addr_t *eth_addr) in dtsec_del_hash_mac_address() argument 1124 addr = ENET_ADDR_TO_UINT64(*eth_addr); in dtsec_del_hash_mac_address() 1134 crc = crc32_le(crc, (u8 *)eth_addr, ETH_ALEN); in dtsec_del_hash_mac_address()
|
| /linux/drivers/net/ethernet/seeq/ |
| H A D | sgiseeq.h | 25 volatile unsigned int eth_addr[6]; member
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477_acl.c | 1207 u8 *eth_addr, bool is_src) in ksz9477_acl_matching_rule_cfg_l2() argument 1214 if (eth_addr) in ksz9477_acl_matching_rule_cfg_l2() 1222 if (eth_addr) { in ksz9477_acl_matching_rule_cfg_l2() 1228 eth_addr[i]); in ksz9477_acl_matching_rule_cfg_l2()
|
| /linux/drivers/net/ethernet/i825xx/ |
| H A D | 82596.c | 254 char eth_addr[8]; member 713 memcpy(lp->sa_cmd.eth_addr, dev->dev_addr, ETH_ALEN); in init_i596_mem() 1127 char eth_addr[8]; in i82596_probe() local 1146 memcpy(eth_addr, absolute_pointer(0xfffc1f2c), ETH_ALEN); /* YUCK! Get addr from NOVRAM */ in i82596_probe() 1160 eth_addr[i] = rtc[i * 4 + 7]; /* Stored in RTC RAM at offset 1 */ in i82596_probe() 1180 DEB(DEB_PROBE,printk(" %2.2X", eth_addr[i])); in i82596_probe() 1181 eth_hw_addr_set(dev, eth_addr); in i82596_probe()
|
| H A D | lib82596.c | 227 char eth_addr[8]; member 636 memcpy(dma->sa_cmd.eth_addr, dev->dev_addr, ETH_ALEN); in init_i596_mem()
|
| /linux/drivers/net/ethernet/atheros/atl1c/ |
| H A D | atl1c_hw.c | 53 static bool atl1c_read_current_addr(struct atl1c_hw *hw, u8 *eth_addr) in atl1c_read_current_addr() argument 60 *(u32 *) ð_addr[2] = htonl(addr[0]); in atl1c_read_current_addr() 61 *(u16 *) ð_addr[0] = htons((u16)addr[1]); in atl1c_read_current_addr() 63 return is_valid_ether_addr(eth_addr); in atl1c_read_current_addr()
|
| /linux/drivers/net/ethernet/atheros/atlx/ |
| H A D | atl1.c | 421 u8 eth_addr[ETH_ALEN]; in atl1_get_permanent_address() local 454 *(u32 *) ð_addr[2] = swab32(addr[0]); in atl1_get_permanent_address() 455 *(u16 *) ð_addr[0] = swab16(*(u16 *) &addr[1]); in atl1_get_permanent_address() 456 if (is_valid_ether_addr(eth_addr)) { in atl1_get_permanent_address() 457 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 487 *(u32 *) ð_addr[2] = swab32(addr[0]); in atl1_get_permanent_address() 488 *(u16 *) ð_addr[0] = swab16(*(u16 *) &addr[1]); in atl1_get_permanent_address() 489 if (is_valid_ether_addr(eth_addr)) { in atl1_get_permanent_address() 490 memcpy(hw->perm_mac_addr, eth_addr, ETH_ALEN); in atl1_get_permanent_address() 502 *(u32 *) ð_addr[2] = swab32(addr[0]); in atl1_get_permanent_address() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_switchdev.c | 3039 ether_addr_copy(info.eth_addr, mac); in mlxsw_sp_fdb_vxlan_call_notifiers() 3436 vxlan_fdb_info.eth_addr, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 3445 vxlan_fdb_info.eth_addr, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 3450 vxlan_fdb_info.eth_addr, in mlxsw_sp_switchdev_bridge_vxlan_fdb_event() 3593 if (is_zero_ether_addr(vxlan_fdb_info->eth_addr)) { in mlxsw_sp_switchdev_vxlan_fdb_add() 3612 if (br_fdb_find_port(br_dev, vxlan_fdb_info->eth_addr, vid) != dev) in mlxsw_sp_switchdev_vxlan_fdb_add() 3615 err = mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp, vxlan_fdb_info->eth_addr, in mlxsw_sp_switchdev_vxlan_fdb_add() 3624 vxlan_fdb_info->eth_addr, vid, dev, true, in mlxsw_sp_switchdev_vxlan_fdb_add() 3665 if (is_zero_ether_addr(vxlan_fdb_info->eth_addr)) { in mlxsw_sp_switchdev_vxlan_fdb_del() 3671 mlxsw_sp_port_fdb_tunnel_uc_op(mlxsw_sp, vxlan_fdb_info->eth_addr, in mlxsw_sp_switchdev_vxlan_fdb_del() [all …]
|
| /linux/net/bridge/ |
| H A D | br_forward.c | 325 maybe_deliver_addr(lport, skb, p->eth_addr, in br_multicast_flood()
|
| H A D | br_private.h | 353 unsigned char eth_addr[ETH_ALEN] __aligned(2); member
|
| /linux/include/net/ |
| H A D | vxlan.h | 498 u8 eth_addr[ETH_ALEN]; member
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic.h | 192 u8 eth_addr[ETH_ALEN]; member
|
| H A D | qlcnic_io.c | 495 memcpy(&first_desc->eth_addr, skb->data, ETH_ALEN); in qlcnic_tx_pkt()
|