Re: [PATCH net-next v5 2/7] etf: Add skip_sock_check

2019-06-24 Thread Patel, Vedang
> On Jun 24, 2019, at 2:40 PM, Jakub Kicinski > wrote: > > On Fri, 21 Jun 2019 10:28:23 -0700, Vedang Patel wrote: >> diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h >> index 8b2f993cbb77..409d1616472d 100644 >> --- a/include/uapi/linux/pkt_sched.h >> +++ b/include/u

Re: [PATCH net-next v5 2/7] etf: Add skip_sock_check

2019-06-24 Thread Jakub Kicinski
On Fri, 21 Jun 2019 10:28:23 -0700, Vedang Patel wrote: > diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h > index 8b2f993cbb77..409d1616472d 100644 > --- a/include/uapi/linux/pkt_sched.h > +++ b/include/uapi/linux/pkt_sched.h > @@ -990,6 +990,7 @@ struct tc_etf_qopt { >

[PATCH net-next v5 2/7] etf: Add skip_sock_check

2019-06-21 Thread Vedang Patel
Currently, etf expects a socket with SO_TXTIME option set for each packet it encounters. So, it will drop all other packets. But, in the future commits we are planning to add functionality where tstamp value will be set by another qdisc. Also, some packets which are generated from within the kernel