Re: [PATCH net-next v2 09/10] octeontx2: switch: Flow offload support
From: Ratheesh Kannoth <hidden>
Date: 2026-01-08 10:05:42
Also in:
lkml
From: Ratheesh Kannoth <hidden>
Date: 2026-01-08 10:05:42
Also in:
lkml
On 2026-01-08 at 14:39:11, ALOK TIWARI (alok.a.tiwari@oracle.com) wrote:
On 1/7/2026 6:54 PM, Ratheesh Kannoth wrote:quoted
+ err = sw_fl_get_route(&res, dst); + if (err) { + pr_err("%s:%d Failed to find route to dst %pI4\n", + __func__, __LINE__, &dst); + goto done; + } + + if (res.fi->fib_type != RTN_UNICAST) { + pr_err("%s:%d Not unicast route to dst %pi4\n",%pi4 -> %pI4
ACK
quoted
+ __func__, __LINE__, &dst); + err = -EFAULT; + goto done; + } + + fib_nhc = fib_info_nhc(res.fi, 0); + if (!fib_nhc) { + err = -EINVAL; + pr_err("%s:%d Could not get fib_nhc for %pI4\n", + __func__, __LINE__, &dst); + goto done; + }Thanks, Alok