| /dpdk/lib/node/ |
| H A D | pkt_cls.c | 34 uint8_t l0, l1, l2, l3, last_type; in pkt_cls_node_process() local 81 l2 = mbuf2->packet_type & in pkt_cls_node_process() 90 (last_type ^ l2) | (last_type ^ l3); in pkt_cls_node_process() 122 if (p_nxt[l2] == next_index) { in pkt_cls_node_process() 128 p_nxt[l2], from[2]); in pkt_cls_node_process() 142 if ((last_type != l3) && (l2 == l3) && in pkt_cls_node_process()
|
| /dpdk/lib/ipsec/ |
| H A D | esp_outb.c | 442 uint32_t i, k, n, l2, l3; in esp_outb_trs_prepare() local 462 l2 = mb[i]->l2_len; in esp_outb_trs_prepare() 475 outb_cop_prepare(cop[k], sa, iv, &icv, l2 + l3, rc); in esp_outb_trs_prepare() 538 uint32_t l2, l3; in cpu_outb_pkt_prepare() local 557 l2 = mb[i]->l2_len; in cpu_outb_pkt_prepare() 561 l4ofs[k] = (l2 + l3) & cofs_mask; in cpu_outb_pkt_prepare()
|
| H A D | esp_inb.c | 642 uint32_t i, k, l2, tl, bytes; in trs_process() local 666 l2 = mb[i]->l2_len; in trs_process() 675 update_trs_l3hdr(sa, np + l2, mb[i]->pkt_len, in trs_process() 676 l2, hl[i] - l2, espt[i].next_proto); in trs_process()
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_ptypes.c | 22 #define TPTE(ptid, l2, l3, l4, tun, el2, el3, el4) \ argument 23 [ptid] = (RTE_PTYPE_L2_##l2 | \
|
| H A D | ngbe_ptypes.h | 96 u32 l2:4; /* outer mac */ member
|
| /dpdk/drivers/net/i40e/ |
| H A D | rte_pmd_i40e.c | 2127 uint32_t l2, l3, l4, tnl, il2, il3, il4; in check_invalid_pkt_type() local 2129 l2 = pkt_type & RTE_PTYPE_L2_MASK; in check_invalid_pkt_type() 2137 if (l2 && in check_invalid_pkt_type() 2138 l2 != RTE_PTYPE_L2_ETHER && in check_invalid_pkt_type() 2139 l2 != RTE_PTYPE_L2_ETHER_TIMESYNC && in check_invalid_pkt_type() 2140 l2 != RTE_PTYPE_L2_ETHER_ARP && in check_invalid_pkt_type() 2141 l2 != RTE_PTYPE_L2_ETHER_LLDP && in check_invalid_pkt_type() 2142 l2 != RTE_PTYPE_L2_ETHER_NSH && in check_invalid_pkt_type() 2143 l2 != RTE_PTYPE_L2_ETHER_VLAN && in check_invalid_pkt_type() 2144 l2 != RTE_PTYPE_L2_ETHER_QINQ && in check_invalid_pkt_type() [all …]
|
| /dpdk/app/test/ |
| H A D | test_mbuf.c | 1412 uint16_t l2; in test_tx_offload() member 1420 txof.l2 = rte_rand() % (1 << RTE_MBUF_L2_LEN_BITS); in test_tx_offload() 1434 txof.l2, txof.l3, txof.l4, txof.tso, txof.l3, txof.l2); in test_tx_offload() 1447 set_tx_offload(mb + i, txof.l2, txof.l3, txof.l4, in test_tx_offload() 1448 txof.tso, txof.l3, txof.l2); in test_tx_offload() 1461 mb[i].tx_offload = rte_mbuf_tx_offload(txof.l2, txof.l3, in test_tx_offload() 1462 txof.l4, txof.tso, txof.l3, txof.l2, 0); in test_tx_offload()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ptypes.h | 126 u32 l2:4; /* outer mac */ member
|
| H A D | txgbe_ptypes.c | 33 #define TPTE(ptid, l2, l3, l4, tun, el2, el3, el4) \ argument 34 [ptid] = (RTE_PTYPE_L2_##l2 | \
|
| /dpdk/drivers/net/enic/base/ |
| H A D | vnic_flowman.h | 115 } __rte_packed l2; member
|
| /dpdk/drivers/net/failsafe/ |
| H A D | failsafe_ops.c | 849 struct rte_eth_link *l2; in fs_link_update() local 852 l2 = Ð(TX_SUBDEV(dev))->data->dev_link; in fs_link_update() 853 if (memcmp(l1, l2, sizeof(*l1))) { in fs_link_update() 854 *l1 = *l2; in fs_link_update()
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_fm_flow.c | 427 memcpy(&fm_data->l2.eth, spec, sizeof(struct rte_ether_hdr)); in enic_fm_copy_item_eth() 428 memcpy(&fm_mask->l2.eth, mask, sizeof(struct rte_ether_hdr)); in enic_fm_copy_item_eth() 461 eth_mask = (void *)&fm_mask->l2.eth; in enic_fm_copy_item_vlan() 462 eth_val = (void *)&fm_data->l2.eth; in enic_fm_copy_item_vlan() 916 (fm_mask->l2.eth.fk_ethtype != UINT16_MAX || in enic_fm_copy_item_ecpri() 917 rte_cpu_to_be_16(fm_data->l2.eth.fk_ethtype) != in enic_fm_copy_item_ecpri()
|
| /dpdk/doc/guides/prog_guide/img/ |
| H A D | rib_pic.svg | 19 <path d="M2 1 0 0l2-1v2" style="stroke:none" id="path11"/>
|
| H A D | rib_internals.svg | 10 <path d="M2 1 0 0l2-1v2" style="stroke:none" id="path742"/>
|
| H A D | dir_24_8_alg.svg | 34 <path d="M2 1 0 0l2-1v2" style="stroke:none" id="path12"/>
|
| /dpdk/drivers/net/tap/ |
| H A D | rte_eth_tap.c | 310 uint32_t l2 = mbuf->packet_type & RTE_PTYPE_L2_MASK; in tap_verify_csum() local 320 if (l2 == RTE_PTYPE_L2_ETHER_VLAN) in tap_verify_csum() 322 else if (l2 == RTE_PTYPE_L2_ETHER_QINQ) in tap_verify_csum()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | generic_segmentation_offload_lib.rst | 157 first output packet has the original UDP header, and others just have l2
|
| H A D | link_bonding_poll_mode_drv_lib.rst | 443 to l2 (layer 2) forwarding, the other transmission policies available are
|
| /dpdk/doc/guides/nics/ |
| H A D | mvpp2.rst | 268 - ``<forward_bad_frames>``: Indicate whether to forward or drop l2 bad packets (0 or 1).
|
| /dpdk/doc/guides/testpmd_app_ug/ |
| H A D | testpmd_funcs.rst | 1885 Configure the l2 to be used when encapsulating a packet with L2:: 1899 Configure the l2 to be removed when decapsulating a packet with L2:: 2452 ipv6-other|l2-payload|ipv6-ex|ipv6-tcp-ex|\ 2585 testpmd> set bonding balance_xmit_policy (port_id) (l2|l23|l34) 3297 flow_director_flex_payload (port_id) (raw|l2|l3|l4) (config) 5487 actions rss types eth l2-src-only end queues end / end
|