> From: Raslan Darawsheh [mailto:rasl...@nvidia.com]
> Sent: Monday, 24 March 2025 09.50
>
> When processing VLAN or QinQ packets, an infinite loop occurred,
> preventing the csum forward engine from proceeding and causing
> testpmd to hang during shutdown attempts.
>
> Updated the `get_ethertype
>> - eth_hdr->ether_type == _htons(RTE_ETHER_TYPE_QINQ)) {
>> - vlan_hdr = (struct rte_vlan_hdr *)
>> - ((char *)eth_hdr + sizeof(*eth_hdr));
>> + vlan_hdr = (struct rte_vlan_hdr *) RTE_PTR_ADD(eth_hdr,
>> +
2 matches
Mail list logo