diff --git a/internal/bpf/bpfWrapper.c b/internal/bpf/bpfWrapper.c index b907e647..af9177b9 100644 --- a/internal/bpf/bpfWrapper.c +++ b/internal/bpf/bpfWrapper.c @@ -271,13 +271,5 @@ int Load_bpf_pin_xsk_map(char *ifname, char *pin_path) { return err; } - // if (bpf_map__is_pinned(bpf_object__find_map_by_name(obj, "xsks_map"))) { - // Log_Info("%s: xsk map pinned to %s\n", __FUNCTION__, - // bpf_map__get_pin_path(bpf_object__find_map_by_name(obj, "xsks_map"))); - // } else { - // Log_Error("%s: xsk map is not pinned \n", __FUNCTION__); - // return -1; - // } - return 0; } diff --git a/internal/dpcnisyncerclient/client.go b/internal/dpcnisyncerclient/client.go index 7ec00535..1e666e68 100644 --- a/internal/dpcnisyncerclient/client.go +++ b/internal/dpcnisyncerclient/client.go @@ -20,7 +20,7 @@ import ( "net" "github.com/intel/afxdp-plugins-for-kubernetes/constants" - pb "github.com/intel/afxdp-plugins-for-kubernetes/internal/dpcnisyncer" // Replace with the actual proto package + pb "github.com/intel/afxdp-plugins-for-kubernetes/internal/dpcnisyncer" logging "github.com/sirupsen/logrus" "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" diff --git a/internal/dpcnisyncerserver/server.go b/internal/dpcnisyncerserver/server.go index c5412ac8..9116d15b 100644 --- a/internal/dpcnisyncerserver/server.go +++ b/internal/dpcnisyncerserver/server.go @@ -21,7 +21,6 @@ import ( "os" "time" - // Replace with the actual proto package "github.com/intel/afxdp-plugins-for-kubernetes/constants" "github.com/intel/afxdp-plugins-for-kubernetes/internal/bpf" pb "github.com/intel/afxdp-plugins-for-kubernetes/internal/dpcnisyncer"