Hello.
On 08/31/2016 05:46 PM, Vivien Didelot wrote:
diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c
index 93abfff..812cb47 100644
--- a/drivers/net/dsa/mv88e6xxx/chip.c
+++ b/drivers/net/dsa/mv88e6xxx/chip.c
@@ -2240,6 +2240,15 @@ static int mv88e6xxx_port_db_d
> Do you mean the something like this?
>
> if (obj->id == SWITCHDEV_OBJ_ID_PORT_FDB) {
> ...
> } else if (obj->id == SWITCHDEV_OBJ_ID_PORT_MDB) {
> ...
> } else {
> return -EOPNOTSUPP;
> }
Hi Vivien
The -ENONOTSUPP is even better. I was not going as far as
Hi Andrew,
Andrew Lunn writes:
> Hi Vivien
>
>> diff --git a/drivers/net/dsa/mv88e6xxx/chip.c
>> b/drivers/net/dsa/mv88e6xxx/chip.c
>> index 93abfff..812cb47 100644
>> --- a/drivers/net/dsa/mv88e6xxx/chip.c
>> +++ b/drivers/net/dsa/mv88e6xxx/chip.c
>> @@ -2240,6 +2240,15 @@ static int mv88e6xxx
Hi Vivien
> diff --git a/drivers/net/dsa/mv88e6xxx/chip.c
> b/drivers/net/dsa/mv88e6xxx/chip.c
> index 93abfff..812cb47 100644
> --- a/drivers/net/dsa/mv88e6xxx/chip.c
> +++ b/drivers/net/dsa/mv88e6xxx/chip.c
> @@ -2240,6 +2240,15 @@ static int mv88e6xxx_port_db_dump_one(struct
> mv88e6xxx_chip
Add support for the MDB operations. This consists of
loading/purging/dumping multicast addresses for a given port in the ATU.
Signed-off-by: Vivien Didelot
---
drivers/net/dsa/mv88e6xxx/chip.c | 65
1 file changed, 65 insertions(+)
diff --git a/drivers/n