bpf, sockmap: convert to generic sk_msg interface
Add a generic sk_msg layer, and convert current sockmap and later kTLS over to make use of it. While sk_buff handles network packet representation from netdevice up to socket, sk_msg handles data representation from application to socket layer. This means that sk_msg framework spans across ULP users in the kernel, and enables features such as introspection or filtering of data with the help of BPF programs that operate on this data structure. Latter becomes in particular useful for kTLS where data encryption is deferred into the kernel, and as such enabling the kernel to perform L7 introspection and policy based on BPF for TLS connections where the record is being encrypted after BPF has run and came to a verdict. In order to get there, first step is to transform open coding of scatter-gather list handling into a common core framework that subsystems can use. The code itself has been split and refactored into three bigger pieces: i) the generic sk_msg A...
Loading
-
mentioned in commit 27b31e68
-
mentioned in commit 44580a01
-
mentioned in commit 6562e29c
-
mentioned in commit 7e81a353
-
mentioned in commit 85b8ac01
-
mentioned in commit 0b2dc839
-
mentioned in commit 2c7269b2
-
mentioned in commit 60e5ca8a
-
mentioned in commit c9c89dcd
-
mentioned in commit 4363023d
Please register or sign in to comment