Searched refs:l2_len (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_tc_tunnel.c | 79 int olen, l2_len; in encap_ipv4() local 133 l2_len = 0; in encap_ipv4() 139 l2_len = sizeof(mpls_label); in encap_ipv4() 143 l2_len = ETH_HLEN; in encap_ipv4() 147 flags |= BPF_F_ADJ_ROOM_ENCAP_L2(l2_len); in encap_ipv4() 164 l2_len); in encap_ipv4() 184 olen += l2_len; in encap_ipv4() 224 int olen, l2_len; in encap_ipv6() local 241 l2_len = 0; in encap_ipv6() 247 l2_len = sizeof(mpls_label); in encap_ipv6() [all …]
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | actions.c | 52 unsigned int l2_len; member 781 if (skb_cow_head(skb, data->l2_len) < 0) { in ovs_vport_output() 795 skb_push(skb, data->l2_len); in ovs_vport_output() 796 memcpy(skb->data, &data->l2_data, data->l2_len); in ovs_vport_output() 797 skb_postpush_rcsum(skb, skb->data, data->l2_len); in ovs_vport_output() 842 data->l2_len = hlen; in prepare_frag()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_enet.h | 231 __u8 l2_len; member
|
D | hns3_debugfs.c | 215 dev_info(dev, "(TX)l2_len: %u\n", tx_desc->tx.l2_len); in hns3_dbg_bd_info()
|
D | hns3_enet.c | 807 u32 l2_len, l3_len, l4_len; in hns3_set_outer_l2l3l4() local 816 l2_len = l3.hdr - skb->data; in hns3_set_outer_l2l3l4() 817 hns3_set_field(*ol_type_vlan_len_msec, HNS3_TXD_L2LEN_S, l2_len >> 1); in hns3_set_outer_l2l3l4() 860 u32 l2_len, l3_len; in hns3_set_l2l3l4() local 905 l2_len = l3.hdr - l2_hdr; in hns3_set_l2l3l4() 906 hns3_set_field(*type_cs_vlan_tso, HNS3_TXD_L2LEN_S, l2_len >> 1); in hns3_set_l2l3l4()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_txrx.c | 1883 u32 l4_len = 0, l3_len = 0, l2_len = 0; in ice_tx_csum() local 1906 l2_len = ip.hdr - skb->data; in ice_tx_csum() 1907 offset = (l2_len / 2) << ICE_TX_DESC_LEN_MACLEN_S; in ice_tx_csum()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/ |
D | ibmvnic.h | 256 u8 l2_len; member
|
D | ibmvnic.c | 1470 hdr_desc.hdr.l2_len = (u8)hdr_len[0]; in create_hdr_descs()
|