Re: [PATCH net-next V5 1/7] net/mlx5e: Generalize TC <-> IPsec mutual exclusion

From: Alexandre Cassen

Date: Sat Dec 05 2026 - 18:40:29 EST




On 11/29/26 13:03, Tariq Toukan wrote:
This means that TC offload will not be able to coexist with any of
the currently implemented accel protocols (IPsec, MACsec, PSP).

This exclusion kills offloaded flower on a device with IPsec packet offload. It forces an IPsecGW to forward every decrypted packet on the CPU while the HW can do the job. (it kills the use-case of IPsecGW with full HW data-path).

Could a skip_sw FDB rule on the uplink representor be accepted next to packet offload SA ?

(1) The order matches software. The FDB runs IPsec RX before TC. With packet offload a software filter on the uplink representor also see the decrypted packet.

(2) skip_sw installs the rule in hardware only (explicit setting)

(3) VF representor and tunnel device rules are already accepted in that FDB once the SA are installed.

I can send patches running here for it.

-- Alexandre