Home
last modified time | relevance | path

Searched refs:mac_hdr (Results 1 – 4 of 4) sorted by relevance

/linux-6.3-rc2/drivers/infiniband/ulp/opa_vnic/
A Dopa_vnic_encap.c299 struct ethhdr *mac_hdr) in opa_vnic_chk_mac_tbl() argument
311 key = mac_hdr->h_dest[OPA_VNIC_MAC_HASH_IDX]; in opa_vnic_chk_mac_tbl()
340 dlid = opa_vnic_chk_mac_tbl(adapter, mac_hdr); in opa_vnic_get_dlid()
344 if (is_multicast_ether_addr(mac_hdr->h_dest)) { in opa_vnic_get_dlid()
347 if (is_local_ether_addr(mac_hdr->h_dest)) { in opa_vnic_get_dlid()
349 ((uint32_t)mac_hdr->h_dest[4] << 8) | in opa_vnic_get_dlid()
350 mac_hdr->h_dest[3]; in opa_vnic_get_dlid()
373 if (is_multicast_ether_addr(mac_hdr->h_dest)) in opa_vnic_get_sc()
378 if (is_multicast_ether_addr(mac_hdr->h_dest)) in opa_vnic_get_sc()
396 if (is_multicast_ether_addr(mac_hdr->h_dest)) in opa_vnic_get_vl()
[all …]
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Dvnic_main.c126 struct ethhdr *mac_hdr = (struct ethhdr *)skb_mac_header(skb); in hfi1_vnic_update_tx_counters() local
140 if (is_multicast_ether_addr(mac_hdr->h_dest)) in hfi1_vnic_update_tx_counters()
155 struct ethhdr *mac_hdr = (struct ethhdr *)skb->data; in hfi1_vnic_update_rx_counters() local
169 if (is_multicast_ether_addr(mac_hdr->h_dest)) in hfi1_vnic_update_rx_counters()
/linux-6.3-rc2/drivers/net/wireless/
A Dwl3501.h551 struct ieee80211_hdr mac_hdr; member
/linux-6.3-rc2/drivers/net/bonding/
A Dbond_main.c4032 struct ethhdr *mac_hdr; in bond_vlan_srcmac_hash() local
4039 mac_hdr = (struct ethhdr *)(data + mhoff); in bond_vlan_srcmac_hash()
4042 srcmac_vendor = (srcmac_vendor << 8) | mac_hdr->h_source[i]; in bond_vlan_srcmac_hash()
4045 srcmac_dev = (srcmac_dev << 8) | mac_hdr->h_source[i]; in bond_vlan_srcmac_hash()

Completed in 18 milliseconds