On 3/26/26 8:38 AM, tariro mukute wrote:
> Hi OVS developers,
> 
> I'm reporting a bug in OVS 3.3.4 where the kernel datapath rejects set_field
> actions that modify nsh_si or nsh_spi on NSH MD-Type 2 packets, even though
> these fields are in the base header and should be modifiable regardless of
> MD type.
> Environment
> 
>    - OVS version: 3.3.4
>    - Linux kernel: 6.x
>    - Datapath: kernel
>    - OpenFlow version: 1.3
>    - Use case: Multi-VNF service function chaining with NSH MD-Type 2

Hi, Tariro.  The implementation of the set(nsh) had a lot of issues up
until v3.3.8.  So, you should definitely upgrade your setup if you want
to use it.  The main commit is this one:
  
https://github.com/openvswitch/ovs/commit/159475c1dd5cf744fa01533577efca6f6fe4fdbf

However, this will not help much as support for setting NSH fields was
also completely removed from the kernel recently, as it was broken and
never actually worked:
  https://lore.kernel.org/all/[email protected]/

There is a plan to re-introduce it properly, so it will be available in
one of the future 7.x kernels, but it wasn't done yet.  And I'm working
on having a proper detection for the kernel support in userspace, so we
can fall back on the processing in userspace without failing to install
the flow first, but it's also not finished yet.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to