Home
last modified time | relevance | path

Searched refs:rte_flow_item_eth (Results 1 – 25 of 42) sorted by relevance

12

/dpdk/drivers/net/mvpp2/
H A Dmrvl_flow.c184 mrvl_parse_mac(const struct rte_flow_item_eth *spec, in mrvl_parse_mac()
185 const struct rte_flow_item_eth *mask, in mrvl_parse_mac()
235 mrvl_parse_dmac(const struct rte_flow_item_eth *spec, in mrvl_parse_dmac()
236 const struct rte_flow_item_eth *mask, in mrvl_parse_dmac()
251 mrvl_parse_smac(const struct rte_flow_item_eth *spec, in mrvl_parse_smac()
252 const struct rte_flow_item_eth *mask, in mrvl_parse_smac()
267 mrvl_parse_type(const struct rte_flow_item_eth *spec, in mrvl_parse_type()
268 const struct rte_flow_item_eth *mask __rte_unused, in mrvl_parse_type()
853 sizeof(struct rte_flow_item_eth), error); in mrvl_parse_eth()
924 struct rte_flow_item_eth spec_eth = { in mrvl_parse_vlan()
[all …]
/dpdk/drivers/net/tap/
H A Dtap_flow.c260 .mask = &(const struct rte_flow_item_eth){
265 .mask_sz = sizeof(struct rte_flow_item_eth),
393 .mask = &(const struct rte_flow_item_eth){
410 .mask = &(const struct rte_flow_item_eth){
413 .spec = &(const struct rte_flow_item_eth){
430 .mask = &(const struct rte_flow_item_eth){
433 .spec = &(const struct rte_flow_item_eth){
464 .mask = &(const struct rte_flow_item_eth){
467 .spec = &(const struct rte_flow_item_eth){
521 const struct rte_flow_item_eth *spec = item->spec; in tap_flow_create_eth()
[all …]
/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c199 const struct rte_flow_item_eth *spec = item->spec; in mlx4_flow_merge_eth()
200 const struct rte_flow_item_eth *mask = in mlx4_flow_merge_eth()
583 .mask_support = &(const struct rte_flow_item_eth){
588 .mask_sz = sizeof(struct rte_flow_item_eth),
1305 struct rte_flow_item_eth eth_spec; in mlx4_flow_internal()
1306 const struct rte_flow_item_eth eth_mask = { in mlx4_flow_internal()
1309 const struct rte_flow_item_eth eth_allmulti = { in mlx4_flow_internal()
/dpdk/drivers/net/mlx5/
H A Dmlx5_trigger.c1296 struct rte_flow_item_eth bcast = { in mlx5_traffic_enable()
1299 struct rte_flow_item_eth ipv6_multi_spec = { in mlx5_traffic_enable()
1302 struct rte_flow_item_eth ipv6_multi_mask = { in mlx5_traffic_enable()
1305 struct rte_flow_item_eth unicast = { in mlx5_traffic_enable()
1308 struct rte_flow_item_eth unicast_mask = { in mlx5_traffic_enable()
1369 struct rte_flow_item_eth promisc = { in mlx5_traffic_enable()
1380 struct rte_flow_item_eth multicast = { in mlx5_traffic_enable()
H A Dmlx5_flow_flex.c1018 const struct rte_flow_item_eth *spec = item->spec; in mlx5_flex_arc_in_eth()
1019 const struct rte_flow_item_eth *mask = item->mask; in mlx5_flex_arc_in_eth()
1020 struct rte_flow_item_eth eth = { .hdr.ether_type = RTE_BE16(0xFFFF) }; in mlx5_flex_arc_in_eth()
1022 if (memcmp(mask, &eth, sizeof(struct rte_flow_item_eth))) { in mlx5_flex_arc_in_eth()
H A Dmlx5.h1804 struct rte_flow_item_eth *eth_spec,
1805 struct rte_flow_item_eth *eth_mask,
1809 struct rte_flow_item_eth *eth_spec,
1810 struct rte_flow_item_eth *eth_mask);
H A Dmlx5_flow_verbs.c420 const struct rte_flow_item_eth *spec = item->spec; in flow_verbs_translate_item_eth()
421 const struct rte_flow_item_eth *mask = item->mask; in flow_verbs_translate_item_eth()
1270 ((const struct rte_flow_item_eth *) in flow_verbs_validate()
1273 ((const struct rte_flow_item_eth *) in flow_verbs_validate()
/dpdk/doc/guides/howto/
H A Drte_flow.rst38 struct rte_flow_item_eth eth;
133 struct rte_flow_item_eth eth;
233 struct rte_flow_item_eth eth;
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_mux.c143 const struct rte_flow_item_eth *spec; in rte_pmd_dpaa2_mux_flow_create()
152 spec = (const struct rte_flow_item_eth *)pattern[0]->spec; in rte_pmd_dpaa2_mux_flow_create()
H A Ddpaa2_flow.c102 static const struct rte_flow_item_eth dpaa2_flow_item_eth_mask = {
875 size = sizeof(struct rte_flow_item_eth); in dpaa2_flow_extract_support()
936 const struct rte_flow_item_eth *spec, *mask; in dpaa2_configure_flow_eth()
939 const struct rte_flow_item_eth *last __rte_unused; in dpaa2_configure_flow_eth()
946 spec = (const struct rte_flow_item_eth *)pattern->spec; in dpaa2_configure_flow_eth()
947 last = (const struct rte_flow_item_eth *)pattern->last; in dpaa2_configure_flow_eth()
948 mask = (const struct rte_flow_item_eth *) in dpaa2_configure_flow_eth()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_flow.c188 const struct rte_flow_item_eth *eth_spec; in cons_parse_ntuple_filter()
189 const struct rte_flow_item_eth *eth_mask; in cons_parse_ntuple_filter()
192 struct rte_flow_item_eth eth_null; in cons_parse_ntuple_filter()
281 sizeof(struct rte_flow_item_eth)) || in cons_parse_ntuple_filter()
283 sizeof(struct rte_flow_item_eth)))) { in cons_parse_ntuple_filter()
690 const struct rte_flow_item_eth *eth_spec; in cons_parse_ethertype_filter()
691 const struct rte_flow_item_eth *eth_mask; in cons_parse_ethertype_filter()
1599 const struct rte_flow_item_eth *eth_spec; in ixgbe_parse_fdir_filter_normal()
1600 const struct rte_flow_item_eth *eth_mask; in ixgbe_parse_fdir_filter_normal()
2313 const struct rte_flow_item_eth *eth_spec; in ixgbe_parse_fdir_filter_tunnel()
[all …]
/dpdk/app/test-flow-perf/
H A Ditems_gen.c26 static struct rte_flow_item_eth eth_spec; in add_ether()
27 static struct rte_flow_item_eth eth_mask; in add_ether()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_flow.c154 const struct rte_flow_item_eth *eth_spec; in cons_parse_ntuple_filter()
155 const struct rte_flow_item_eth *eth_mask; in cons_parse_ntuple_filter()
158 struct rte_flow_item_eth eth_null; in cons_parse_ntuple_filter()
181 memset(&eth_null, 0, sizeof(struct rte_flow_item_eth)); in cons_parse_ntuple_filter()
245 sizeof(struct rte_flow_item_eth))) || in cons_parse_ntuple_filter()
247 sizeof(struct rte_flow_item_eth)))) { in cons_parse_ntuple_filter()
652 const struct rte_flow_item_eth *eth_spec; in cons_parse_ethertype_filter()
653 const struct rte_flow_item_eth *eth_mask; in cons_parse_ethertype_filter()
1544 const struct rte_flow_item_eth *eth_mask; in txgbe_parse_fdir_filter_normal()
2192 const struct rte_flow_item_eth *eth_mask; in txgbe_parse_fdir_filter_tunnel()
/dpdk/drivers/net/sfc/
H A Dsfc_mae.c1861 RTE_SIZEOF_FIELD(struct rte_flow_item_eth, type),
1862 offsetof(struct rte_flow_item_eth, type),
1866 RTE_SIZEOF_FIELD(struct rte_flow_item_eth, dst),
1867 offsetof(struct rte_flow_item_eth, dst),
1871 RTE_SIZEOF_FIELD(struct rte_flow_item_eth, src),
1872 offsetof(struct rte_flow_item_eth, src),
1882 struct rte_flow_item_eth override_mask; in sfc_mae_rule_parse_item_eth()
1883 struct rte_flow_item_eth supp_mask; in sfc_mae_rule_parse_item_eth()
1896 sizeof(struct rte_flow_item_eth), error); in sfc_mae_rule_parse_item_eth()
1919 const struct rte_flow_item_eth *item_spec; in sfc_mae_rule_parse_item_eth()
[all …]
H A Dsfc_flow.c280 const struct rte_flow_item_eth *spec = NULL; in sfc_flow_parse_eth()
281 const struct rte_flow_item_eth *mask = NULL; in sfc_flow_parse_eth()
282 const struct rte_flow_item_eth supp_mask = { in sfc_flow_parse_eth()
287 const struct rte_flow_item_eth ifrm_supp_mask = { in sfc_flow_parse_eth()
293 const struct rte_flow_item_eth *supp_mask_p; in sfc_flow_parse_eth()
294 const struct rte_flow_item_eth *def_mask_p; in sfc_flow_parse_eth()
313 sizeof(struct rte_flow_item_eth), in sfc_flow_parse_eth()
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_flow.c180 const struct rte_flow_item_eth *spec = item->spec; in ch_rte_parsetype_eth()
181 const struct rte_flow_item_eth *umask = item->mask; in ch_rte_parsetype_eth()
182 const struct rte_flow_item_eth *mask; in ch_rte_parsetype_eth()
185 mask = umask ? umask : (const struct rte_flow_item_eth *)dmask; in ch_rte_parsetype_eth()
967 .dmask = &(const struct rte_flow_item_eth){
/dpdk/drivers/net/igc/
H A Digc_flow.c315 const struct rte_flow_item_eth *spec = item->spec; in igc_parse_pattern_ether()
316 const struct rte_flow_item_eth *mask = item->mask; in igc_parse_pattern_ether()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_rte_parser.c754 const struct rte_flow_item_eth *eth_spec = item->spec; in ulp_rte_eth_hdr_handler()
755 const struct rte_flow_item_eth *eth_mask = item->mask; in ulp_rte_eth_hdr_handler()
783 size = sizeof(((struct rte_flow_item_eth *)NULL)->dst.addr_bytes); in ulp_rte_eth_hdr_handler()
789 size = sizeof(((struct rte_flow_item_eth *)NULL)->src.addr_bytes); in ulp_rte_eth_hdr_handler()
795 size = sizeof(((struct rte_flow_item_eth *)NULL)->type); in ulp_rte_eth_hdr_handler()
1804 const struct rte_flow_item_eth *eth_spec) in ulp_rte_enc_eth_hdr_handler()
/dpdk/drivers/net/ipn3ke/
H A Dipn3ke_flow.c86 const struct rte_flow_item_eth *eth = NULL; in ipn3ke_pattern_vxlan()
150 const struct rte_flow_item_eth *eth = NULL; in ipn3ke_pattern_mac()
/dpdk/lib/ethdev/
H A Drte_flow.h877 struct rte_flow_item_eth { struct
896 static const struct rte_flow_item_eth rte_flow_item_eth_mask = { argument
/dpdk/drivers/net/cnxk/
H A Dcnxk_flow.c8 sizeof(struct rte_flow_item_eth)},
/dpdk/drivers/net/i40e/
H A Di40e_flow.c2050 const struct rte_flow_item_eth *eth_spec; in i40e_flow_parse_ethertype_pattern()
2051 const struct rte_flow_item_eth *eth_mask; in i40e_flow_parse_ethertype_pattern()
2358 const struct rte_flow_item_eth *eth_spec, *eth_mask; in i40e_flow_parse_fdir_pattern()
3647 const struct rte_flow_item_eth *eth_spec; in i40e_flow_parse_vxlan_pattern()
3648 const struct rte_flow_item_eth *eth_mask; in i40e_flow_parse_vxlan_pattern()
3877 const struct rte_flow_item_eth *eth_spec; in i40e_flow_parse_nvgre_pattern()
3878 const struct rte_flow_item_eth *eth_mask; in i40e_flow_parse_nvgre_pattern()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_flow.c294 const struct rte_flow_item_eth *eth_spec; in cons_parse_ethertype_filter()
295 const struct rte_flow_item_eth *eth_mask; in cons_parse_ethertype_filter()
305 eth_spec = (const struct rte_flow_item_eth *)item->spec; in cons_parse_ethertype_filter()
306 eth_mask = (const struct rte_flow_item_eth *)item->mask; in cons_parse_ethertype_filter()
/dpdk/app/test-pmd/
H A Dcmdline_flow.c708 struct rte_flow_item_eth item_eth;
740 struct rte_flow_item_eth item_eth;
3587 .priv = PRIV_ITEM(ETH, sizeof(struct rte_flow_item_eth)),
3595 .args = ARGS(ARGS_ENTRY_HTON(struct rte_flow_item_eth, dst)),
3613 .args = ARGS(ARGS_ENTRY_BF(struct rte_flow_item_eth,
7601 struct rte_flow_item_eth eth = { .type = 0, }; in parse_vc_action_l2_encap()
7665 struct rte_flow_item_eth eth = { .type = 0, }; in parse_vc_action_l2_decap()
7719 struct rte_flow_item_eth eth = { .type = 0, }; in parse_vc_action_mplsogre_encap()
7825 struct rte_flow_item_eth eth = { .type = 0, }; in parse_vc_action_mplsogre_decap()
7912 struct rte_flow_item_eth eth = { .type = 0, }; in parse_vc_action_mplsoudp_encap()
[all …]
/dpdk/drivers/net/enic/
H A Denic_flow.c646 const struct rte_flow_item_eth *spec = item->spec; in enic_copy_item_eth_v2()
647 const struct rte_flow_item_eth *mask = item->mask; in enic_copy_item_eth_v2()

12