[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f8d9d910-e2bf-42cf-b15a-b6624c0bda56@oracle.com>
Date: Thu, 8 Jan 2026 14:39:11 +0530
From: ALOK TIWARI <alok.a.tiwari@...cle.com>
To: Ratheesh Kannoth <rkannoth@...vell.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, andrew+netdev@...n.ch
Cc: sgoutham@...vell.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next v2 09/10] octeontx2: switch: Flow offload support
On 1/7/2026 6:54 PM, Ratheesh Kannoth wrote:
> + 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
> + __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
Powered by blists - more mailing lists