Re: [PATCH bpf-next 5/7] libbpf: add API to get XDP/XSK supported features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Fri, 20 Jan 2023 18:16:54 +0100 Lorenzo Bianconi wrote:
> > +static int libbpf_netlink_resolve_genl_family_id(const char *name,
> > +						 __u16 len, __u16 *id)
> > +{
> > +	struct libbpf_nla_req req = {
> > +		.nh.nlmsg_len	= NLMSG_LENGTH(GENL_HDRLEN),
> > +		.nh.nlmsg_type	= GENL_ID_CTRL,
> > +		.nh.nlmsg_flags	= NLM_F_REQUEST,
> > +		.gnl.cmd	= CTRL_CMD_GETFAMILY,
> > +		.gnl.version	= 1,
> 
> nlctrl is version 2, shouldn't matter in practice

ack, I will fix it.

Regards,
Lorenzo

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux