Re: [PATCH v1 net-next 05/14] octeontx2-af: Restrict TL1 allocation and configuration

2018-12-01 Thread David Miller
From: Jerin Jacob Date: Sat, 1 Dec 2018 14:43:54 +0530 > @@ -987,6 +997,76 @@ static void nix_reset_tx_linkcfg(struct rvu *rvu, int > blkaddr, > NIX_AF_TL3_TL2X_LINKX_CFG(schq, link), 0x00); > } > > +static int > +rvu_get_tl1_schqs(struct rvu *rvu, > +

[PATCH v1 net-next 05/14] octeontx2-af: Restrict TL1 allocation and configuration

2018-12-01 Thread Jerin Jacob
From: Nithin Dabilpuram TL1 is the root node in the scheduling hierarchy and it is a global resource with a limited number. This patch introduces restriction and validation on the allocation of the TL1 nodes for the effective resource sharing across the AF consumers. - Limit TL1 allocation to 2