2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

netdev: Rename netdev->get_status() to netdev->get_drv_info().

get_status actually returns driver information, so get_drv_info()
is better name.

Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
This commit is contained in:
Pravin B Shelar
2012-03-22 10:58:32 -07:00
parent ece72d2415
commit 2c2ea5a88a
7 changed files with 18 additions and 18 deletions

View File

@@ -765,12 +765,12 @@ netdev_get_next_hop(const struct netdev *netdev,
* may be used to populate the status column of the Interface table as defined
* in ovs-vswitchd.conf.db(5). */
int
netdev_get_status(const struct netdev *netdev, struct shash *sh)
netdev_get_drv_info(const struct netdev *netdev, struct shash *sh)
{
struct netdev_dev *dev = netdev_get_dev(netdev);
return (dev->netdev_class->get_status
? dev->netdev_class->get_status(netdev, sh)
return (dev->netdev_class->get_drv_info
? dev->netdev_class->get_drv_info(netdev, sh)
: EOPNOTSUPP);
}