Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c542 u16 ds_cnt, inline_hdr_sz; in mlx5e_xmit_xdp_frame() local
561 inline_hdr_sz = 0; in mlx5e_xmit_xdp_frame()
563 inline_hdr_sz = MLX5E_XDP_MIN_INLINE; in mlx5e_xmit_xdp_frame()
565 linear = !!(dma_len - inline_hdr_sz); in mlx5e_xmit_xdp_frame()
566 ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT + linear + !!inline_hdr_sz; in mlx5e_xmit_xdp_frame()
596 if (inline_hdr_sz) { in mlx5e_xmit_xdp_frame()
599 inline_hdr_sz - sizeof(eseg->inline_hdr.start)); in mlx5e_xmit_xdp_frame()
600 dma_len -= inline_hdr_sz; in mlx5e_xmit_xdp_frame()
601 dma_addr += inline_hdr_sz; in mlx5e_xmit_xdp_frame()
621 eseg->inline_hdr.sz = cpu_to_be16(inline_hdr_sz); in mlx5e_xmit_xdp_frame()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c2044 unsigned int inline_hdr_sz = 0; in mlx5e_open_xdpsq() local
2048 inline_hdr_sz = MLX5E_XDP_MIN_INLINE; in mlx5e_open_xdpsq()
2064 eseg->inline_hdr.sz = cpu_to_be16(inline_hdr_sz); in mlx5e_open_xdpsq()