Home
last modified time | relevance | path

Searched refs:vlan_tag_flags (Results 1 – 3 of 3) sorted by relevance

/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi.h267 uint16_t vlan_tag_flags; member
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbnx2.c6579 u32 len, vlan_tag_flags, last_frag, mss; in bnx2_start_xmit() local
6603 vlan_tag_flags = 0; in bnx2_start_xmit()
6605 vlan_tag_flags |= TX_BD_FLAGS_TCP_UDP_CKSUM; in bnx2_start_xmit()
6609 vlan_tag_flags |= in bnx2_start_xmit()
6617 vlan_tag_flags |= TX_BD_FLAGS_SW_LSO; in bnx2_start_xmit()
6625 vlan_tag_flags |= ((tcp_opt_len >> 2) << 8) | in bnx2_start_xmit()
6628 vlan_tag_flags &= ~TX_BD_FLAGS_TCP6_OFF0_MSK; in bnx2_start_xmit()
6631 vlan_tag_flags |= ((tcp_off & 0x3) << in bnx2_start_xmit()
6640 vlan_tag_flags |= ((iph->ihl - 5) + in bnx2_start_xmit()
6663 txbd->tx_bd_vlan_tag_flags = vlan_tag_flags | TX_BD_FLAGS_START; in bnx2_start_xmit()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c398 u32 len, free_size, vlan_tag_flags, cfa_action, flags; in bnxt_start_xmit() local
442 vlan_tag_flags = 0; in bnxt_start_xmit()
445 vlan_tag_flags = TX_BD_CFA_META_KEY_VLAN | in bnxt_start_xmit()
451 vlan_tag_flags |= 1 << TX_BD_CFA_META_TPID_SHIFT; in bnxt_start_xmit()
461 if (vlan_tag_flags) in bnxt_start_xmit()
499 tx_push1->tx_bd_cfa_meta = cpu_to_le32(vlan_tag_flags); in bnxt_start_xmit()
602 txbd1->tx_bd_cfa_meta = cpu_to_le32(vlan_tag_flags); in bnxt_start_xmit()