Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c6596 u32 len, vlan_tag_flags, last_frag, mss; in bnx2_start_xmit() local
6620 vlan_tag_flags = 0; in bnx2_start_xmit()
6622 vlan_tag_flags |= TX_BD_FLAGS_TCP_UDP_CKSUM; in bnx2_start_xmit()
6626 vlan_tag_flags |= in bnx2_start_xmit()
6634 vlan_tag_flags |= TX_BD_FLAGS_SW_LSO; in bnx2_start_xmit()
6642 vlan_tag_flags |= ((tcp_opt_len >> 2) << 8) | in bnx2_start_xmit()
6645 vlan_tag_flags &= ~TX_BD_FLAGS_TCP6_OFF0_MSK; in bnx2_start_xmit()
6648 vlan_tag_flags |= ((tcp_off & 0x3) << in bnx2_start_xmit()
6657 vlan_tag_flags |= ((iph->ihl - 5) + in bnx2_start_xmit()
6680 txbd->tx_bd_vlan_tag_flags = vlan_tag_flags | TX_BD_FLAGS_START; in bnx2_start_xmit()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c364 u32 len, free_size, vlan_tag_flags, cfa_action, flags; in bnxt_start_xmit() local
404 vlan_tag_flags = 0; in bnxt_start_xmit()
407 vlan_tag_flags = TX_BD_CFA_META_KEY_VLAN | in bnxt_start_xmit()
413 vlan_tag_flags |= 1 << TX_BD_CFA_META_TPID_SHIFT; in bnxt_start_xmit()
423 if (vlan_tag_flags) in bnxt_start_xmit()
461 tx_push1->tx_bd_cfa_meta = cpu_to_le32(vlan_tag_flags); in bnxt_start_xmit()
564 txbd1->tx_bd_cfa_meta = cpu_to_le32(vlan_tag_flags); in bnxt_start_xmit()