Home
last modified time | relevance | path

Searched refs:tlv_size (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_fwd.c205 uint64_t tlv_size; in usnic_fwd_alloc_flow() local
210 tlv_size = (2*sizeof(struct filter_tlv) + sizeof(struct filter) + in usnic_fwd_alloc_flow()
217 tlv = dma_alloc_coherent(&pdev->dev, tlv_size, &tlv_pa, GFP_ATOMIC); in usnic_fwd_alloc_flow()
243 a1 = tlv_size; in usnic_fwd_alloc_flow()
261 dma_free_coherent(&pdev->dev, tlv_size, tlv, tlv_pa); in usnic_fwd_alloc_flow()
/linux-6.6.21/drivers/net/ethernet/rocker/
Drocker_tlv.c35 int tail_room = desc_info->data_size - desc_info->tlv_size; in rocker_tlv_put()
43 desc_info->tlv_size += total_size; in rocker_tlv_put()
Drocker_tlv.h125 desc_info->desc->tlv_size); in rocker_tlv_parse_desc()
132 desc_info->tlv_size); in rocker_tlv_start()
206 desc_info->tlv_size = (const char *) start - desc_info->data; in rocker_tlv_nest_cancel()
Drocker.h23 size_t tlv_size; member
Drocker_hw.h104 u16 tlv_size; member
Drocker_main.c376 desc_info->tlv_size = 0; in rocker_desc_head_get()
383 desc_info->desc->tlv_size = desc_info->tlv_size; in rocker_desc_commit()
409 desc_info->tlv_size = desc_info->desc->tlv_size; in rocker_desc_tail_get()
693 desc_info->tlv_size = 0; in rocker_dma_rx_ring_skb_map()
714 desc_info->tlv_size = 0; in rocker_dma_rx_ring_skb_alloc()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_seg6_loop.c181 struct sr6_tlv_t *itlv, uint8_t tlv_size) in add_tlv() argument
204 err = bpf_lwt_seg6_store_bytes(skb, tlv_off, (void *)itlv, tlv_size); in add_tlv()
Dtest_lwt_seg6local.c178 struct sr6_tlv_t *itlv, uint8_t tlv_size) in add_tlv() argument
201 err = bpf_lwt_seg6_store_bytes(skb, tlv_off, (void *)itlv, tlv_size); in add_tlv()
/linux-6.6.21/drivers/net/ethernet/cisco/enic/
Dvnic_dev.c1200 u64 tlv_size; in vnic_dev_classifier() local
1203 tlv_size = sizeof(struct filter) + in vnic_dev_classifier()
1206 tlv_va = dma_alloc_coherent(&vdev->pdev->dev, tlv_size, in vnic_dev_classifier()
1212 a1 = tlv_size; in vnic_dev_classifier()
1213 memset(tlv, 0, tlv_size); in vnic_dev_classifier()
1230 dma_free_coherent(&vdev->pdev->dev, tlv_size, tlv_va, tlv_pa); in vnic_dev_classifier()