Home
last modified time | relevance | path

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

/dpdk/drivers/common/cnxk/
H A Droc_nix_ops.c377 if (switch_header_type == 0) in roc_nix_switch_hdr_set()
378 switch_header_type = ROC_PRIV_FLAGS_DEFAULT; in roc_nix_switch_hdr_set()
380 if (switch_header_type != ROC_PRIV_FLAGS_DEFAULT && in roc_nix_switch_hdr_set()
381 switch_header_type != ROC_PRIV_FLAGS_EDSA && in roc_nix_switch_hdr_set()
382 switch_header_type != ROC_PRIV_FLAGS_HIGIG && in roc_nix_switch_hdr_set()
384 switch_header_type != ROC_PRIV_FLAGS_EXDSA && in roc_nix_switch_hdr_set()
386 switch_header_type != ROC_PRIV_FLAGS_PRE_L2 && in roc_nix_switch_hdr_set()
387 switch_header_type != ROC_PRIV_FLAGS_CUSTOM) { in roc_nix_switch_hdr_set()
398 if (switch_header_type == ROC_PRIV_FLAGS_HIGIG && in roc_nix_switch_hdr_set()
407 req->mode = switch_header_type; in roc_nix_switch_hdr_set()
[all …]
H A Droc_npc_parse.c75 if (pst->npc->switch_header_type != ROC_PRIV_FLAGS_PRE_L2) in npc_parse_pre_l2()
205 if (pst->npc->switch_header_type == ROC_PRIV_FLAGS_HIGIG) { in npc_parse_la()
210 if (pst->npc->switch_header_type == ROC_PRIV_FLAGS_HIGIG) { in npc_parse_la()
366 if (pst->npc->switch_header_type == ROC_PRIV_FLAGS_VLAN_EXDSA) { in npc_parse_lb()
368 } else if (pst->npc->switch_header_type == in npc_parse_lb()
H A Droc_npc.h297 uint8_t switch_header_type; member
H A Droc_npc_priv.h383 uint16_t switch_header_type; /* Supported switch header type */ member
H A Droc_npc.c164 npc->switch_header_type = roc_npc->switch_header_type; in roc_npc_init()
H A Droc_nix.h759 uint64_t switch_header_type,
/dpdk/drivers/net/cnxk/
H A Dcnxk_ethdev_devargs.c259 uint16_t switch_header_type = 0; in cnxk_ethdev_parse_devargs() local
293 &parse_switch_header_type, &switch_header_type); in cnxk_ethdev_parse_devargs()
333 dev->npc.switch_header_type = switch_header_type; in cnxk_ethdev_parse_devargs()
H A Dcnxk_ethdev.c14 dev->npc.switch_header_type == ROC_PRIV_FLAGS_HIGIG) in nix_get_rx_offload_capa()
331 dev->npc.switch_header_type != ROC_PRIV_FLAGS_HIGIG) in nix_init_flow_ctrl_config()
358 dev->npc.switch_header_type != ROC_PRIV_FLAGS_HIGIG && in nix_update_flow_ctrl_config()
712 dev->npc.switch_header_type == ROC_PRIV_FLAGS_LEN_90B) { in cnxk_rss_ethdev_to_nix()
1173 dev->npc.switch_header_type == ROC_PRIV_FLAGS_HIGIG) { in cnxk_nix_configure()
1178 rc = roc_nix_switch_hdr_set(nix, dev->npc.switch_header_type, in cnxk_nix_configure()
H A Dcnxk_ptp.c199 if (dev->npc.switch_header_type == ROC_PRIV_FLAGS_HIGIG) { in cnxk_nix_timesync_enable()