Re: [PATCH v2 net-next] octeontx2-af: pass devlink switch id and cache representor map

From: Jakub Kicinski

Date: Thu Sep 24 2026 - 14:06:41 EST


On Wed, 23 Sep 2026 10:28:26 +0530 Ratheesh Kannoth wrote:
> Extend MBOX_MSG_ESW_CFG with the representor devlink switch_id and
> store it in the AF. Build rep2pfvf_map once on GET_REP_CNT, always
> refresh rep_pcifunc, and protect map access with rsrc_lock. Reset the
> cache on eswitch disable and representor FLR. Add rvu_sw_port_id()
> and share the representor index lookup with rvu_rep_get_vlan_id().

I understand you may not have LLM access but posting patches which do
not build is too much. Seriously, get it together or we'll send you
on forced time off :/