Re: [PATCH net-next 4/5] rds: invoke socket sg filter attached to rds socket

2018-09-11 Thread santosh.shilim...@oracle.com
On 9/11/18 12:38 PM, Tushar Dave wrote: RDS module sits on top of TCP (rds_tcp) and IB (rds_rdma), so messages arrive in form of skb (over TCP) and scatterlist (over IB/RDMA). However, because socket filter only deal with skb (e.g. struct skb as bpf context) we can only use socket filter for rds_

[PATCH net-next 4/5] rds: invoke socket sg filter attached to rds socket

2018-09-11 Thread Tushar Dave
RDS module sits on top of TCP (rds_tcp) and IB (rds_rdma), so messages arrive in form of skb (over TCP) and scatterlist (over IB/RDMA). However, because socket filter only deal with skb (e.g. struct skb as bpf context) we can only use socket filter for rds_tcp and not for rds_rdma. Considering one