mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
net: Add extack argument to rtnl_create_link
Add extack arg to rtnl_create_link and add messages for invalid number of Tx or Rx queues. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0b215b9798
commit
d0522f1cd2
7 changed files with 19 additions and 12 deletions
|
@ -159,7 +159,8 @@ struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
|
|||
struct net_device *rtnl_create_link(struct net *net, const char *ifname,
|
||||
unsigned char name_assign_type,
|
||||
const struct rtnl_link_ops *ops,
|
||||
struct nlattr *tb[]);
|
||||
struct nlattr *tb[],
|
||||
struct netlink_ext_ack *extack);
|
||||
int rtnl_delete_link(struct net_device *dev);
|
||||
int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue