Lines Matching refs:cmsg_hdr
255 struct nfp_flower_cmsg_hdr *cmsg_hdr; in nfp_flower_cmsg_process_one_rx() local
259 cmsg_hdr = nfp_flower_cmsg_get_hdr(skb); in nfp_flower_cmsg_process_one_rx()
261 type = cmsg_hdr->type; in nfp_flower_cmsg_process_one_rx()
351 struct nfp_flower_cmsg_hdr *cmsg_hdr; in nfp_flower_cmsg_rx() local
353 cmsg_hdr = nfp_flower_cmsg_get_hdr(skb); in nfp_flower_cmsg_rx()
355 if (unlikely(cmsg_hdr->version != NFP_FLOWER_CMSG_VER1)) { in nfp_flower_cmsg_rx()
357 cmsg_hdr->version); in nfp_flower_cmsg_rx()
362 if (cmsg_hdr->type == NFP_FLOWER_CMSG_TYPE_FLOW_STATS) { in nfp_flower_cmsg_rx()
366 } else if (cmsg_hdr->type == NFP_FLOWER_CMSG_TYPE_PORT_MOD && in nfp_flower_cmsg_rx()
370 } else if (cmsg_hdr->type == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH || in nfp_flower_cmsg_rx()
371 cmsg_hdr->type == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6) { in nfp_flower_cmsg_rx()
374 } else if (cmsg_hdr->type == NFP_FLOWER_CMSG_TYPE_PORT_REIFY) { in nfp_flower_cmsg_rx()
379 nfp_flower_queue_ctl_msg(app, skb, cmsg_hdr->type); in nfp_flower_cmsg_rx()