Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/broadcom/
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 …]
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/
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()