tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: if_txtimer API to replace (*if_watchdog)()




> On Jan 20, 2020, at 2:48 PM, Jason Thorpe <thorpej%me.com@localhost> wrote:
> 
> My plan is to get the new API in and start updating drivers to use the new mechanism.  The changes will be basically mechanical.  Before I get started on that, I'd like feedback on the proposed API.

It was suggested to me off-list to use _p naming for the predicate functions, i.e.:

	if (if_txtimer_expired_p(...)) {
		...
	}

...and:

	if (if_txtimer_expired_explicit_p(...)) {
		...
	}

I'm fine using that naming convention if that's was folks prefer.

-- thorpej



Home | Main Index | Thread Index | Old Index