Searched refs:max_ndp_size (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/net/usb/ |
D | cdc_ncm.c | 178 min = ctx->max_datagram_size + ctx->max_ndp_size + sizeof(struct usb_cdc_ncm_nth16); in cdc_ncm_check_tx_max() 311 ctx->delayed_ndp16 = kzalloc(ctx->max_ndp_size, GFP_KERNEL); in ndp_to_end_store() 552 …ctx->max_ndp_size = sizeof(struct usb_cdc_ncm_ndp16) + (ctx->tx_max_datagrams + 1) * sizeof(struct… in cdc_ncm_init() 932 ctx->delayed_ndp16 = kzalloc(ctx->max_ndp_size, GFP_KERNEL); in cdc_ncm_bind_common() 1093 if ((ctx->tx_curr_size - skb->len - reserve) < ctx->max_ndp_size) in cdc_ncm_ndp() 1104 ndp16 = skb_put_zero(skb, ctx->max_ndp_size); in cdc_ncm_ndp() 1129 delayed_ndp_size = ALIGN(ctx->max_ndp_size, ctx->tx_ndp_modulus); in cdc_ncm_fill_tx_frame() 1290 cdc_ncm_align_tail(skb_out, ctx->tx_ndp_modulus, 0, ctx->tx_curr_size - ctx->max_ndp_size); in cdc_ncm_fill_tx_frame() 1292 skb_put_data(skb_out, ctx->delayed_ndp16, ctx->max_ndp_size); in cdc_ncm_fill_tx_frame() 1295 ndp16 = memset(ctx->delayed_ndp16, 0, ctx->max_ndp_size); in cdc_ncm_fill_tx_frame()
|
/Linux-v5.4/include/linux/usb/ |
D | cdc_ncm.h | 115 u32 max_ndp_size; member
|