Commit 5e84698e authored by Gabriel Ganne's avatar Gabriel Ganne Committed by Brenden Blanco

python - set attach_xdp's default flag value to 0

Signed-off-by: default avatarGabriel Ganne <gabriel.ganne@enea.com>
parent e48f7c96
...@@ -572,7 +572,7 @@ class BPF(object): ...@@ -572,7 +572,7 @@ class BPF(object):
self._del_kprobe(ev_name) self._del_kprobe(ev_name)
@staticmethod @staticmethod
def attach_xdp(dev, fn, flags): def attach_xdp(dev, fn, flags=0):
''' '''
This function attaches a BPF function to a device on the device This function attaches a BPF function to a device on the device
driver level (XDP) driver level (XDP)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment