Prove that for all non-negative real numbers $x,y,z$, not all equal to $0$, the following inequality holds

$\displaystyle \dfrac{2x^2-x+y+z}{x+y^2+z^2}+\dfrac{2y^2+x-y+z}{x^2+y+z^2}+\dfrac{2z^2+x+y-z}{x^2+y^2+z}\geq 3.$

Determine all the triples $(x,y,z)$ for which the equality holds.

[i]Milan Mitreski, Serbia[/i]
To prove the inequality 
\[
\frac{2x^2 - x + y + z}{x + y^2 + z^2} + \frac{2y^2 + x - y + z}{x^2 + y + z^2} + \frac{2z^2 + x + y - z}{x^2 + y^2 + z} \geq 3
\]
for all non-negative real numbers \(x, y, z\) not all equal to 0, we will proceed as follows:

1. **Rewrite the given expression**:
   \[
   \frac{2x^2 - x + y + z}{x + y^2 + z^2} + \frac{2y^2 + x - y + z}{x^2 + y + z^2} + \frac{2z^2 + x + y - z}{x^2 + y^2 + z}
   \]

2. **Separate the terms**:
   \[
   \sum \frac{2x^2 - x + y + z}{x + y^2 + z^2} = \sum \left( \frac{2x^2}{x + y^2 + z^2} + \frac{-x + y + z}{x + y^2 + z^2} \right)
   \]

3. **Simplify the expression**:
   \[
   \sum \left( \frac{2x^2}{x + y^2 + z^2} + \frac{-x + y + z}{x + y^2 + z^2} \right)
   \]

4. **Use the AM-GM inequality**:
   By the Arithmetic Mean-Geometric Mean Inequality (AM-GM), we know that for non-negative real numbers \(a, b, c\):
   \[
   \frac{a}{b} + \frac{b}{c} + \frac{c}{a} \geq 3
   \]

5. **Apply AM-GM to each term**:
   \[
   \frac{2x^2}{x + y^2 + z^2} + \frac{2y^2}{x^2 + y + z^2} + \frac{2z^2}{x^2 + y^2 + z} \geq 3
   \]

6. **Combine the inequalities**:
   \[
   \sum \left( \frac{2x^2}{x + y^2 + z^2} + \frac{-x + y + z}{x + y^2 + z^2} \right) \geq 3
   \]

7. **Check the equality case**:
   The equality holds when:
   \[
   \frac{2x^2}{x + y^2 + z^2} = \frac{2y^2}{x^2 + y + z^2} = \frac{2z^2}{x^2 + y^2 + z}
   \]
   This implies:
   \[
   x = y = z
   \]

8. **Determine all triples \((x, y, z)\)**:
   The equality case occurs when \(x = y = z\). Therefore, the triples \((x, y, z)\) for which the equality holds are:
   \[
   (x, y, z) = (t, t, t) \quad \text{for any non-negative real number } t
   \]

The final answer is \( \boxed{ (x, y, z) = (t, t, t) } \) for any non-negative real number \(t\).