Re: [PATCH net-next 04/15] net: mlx5: Replace in_irq() usage.

2020-11-03 Thread Saeed Mahameed
rgument passed by the > > caller, > > which usually knows the context. > > > > mlx5_eq_async_int() knows the context via the action argument > > already so > > using it for the lock variant decision is a straight forward > > replacement > > for in_irq(). > &g

Re: [PATCH net-next 04/15] net: mlx5: Replace in_irq() usage.

2020-11-02 Thread Saeed Mahameed
rgument passed by the > > caller, > > which usually knows the context. > > > > mlx5_eq_async_int() knows the context via the action argument > > already so > > using it for the lock variant decision is a straight forward > > replacement > > for in_irq(). > &g