Eideticom / eid-hermes

An open-source eBPF accelerator that can run on QEMU and AWS F1 instances
10 stars 2 forks source link

driver: drop support for older kernels #30

Closed iomartin closed 3 years ago

iomartin commented 3 years ago

With #ifdef's for kernels 3.5, 3.16, 4.12, 4.13, the code was getting a bit of maintenance pain. Popular distros (Ubuntu 18.04/20.04 and CentOS/RHEL 8) already use kernels above 4.13, so the chance of those macros being useful is diminished.

A notable exception is RHEL/CentOS 7, which is still on 3.10 and will thus no longer be supported.

We keep only one LINUX_VERSION_CODE macro, for 5.1.0, as that is required to support RHEL/CentOS 8.